Wednesday, August 17, 2011

SUN 6800/4810/4800/3800 systems management manual notes

SUN 6800/4810/4800/3800 systems management manual notes
system controller procedures Wizard

This chapter step by step> Access Platform Shell
There are two ways to visit Platform Shell, through a serial connection (Platform console), a through TELNET (network connection).
Use TELNET to visit Platform Shell
1 through TELNET access to the system controller
2, in the main menu system controller type "P" or "0", entered the Platform Shell, a prompt: schostname: SC>,
Process indicated as follows:
Telnet schostname
Trying xxx.xxx.xxx.xxx
Connected to schostname-sc0.
Escape character is'^]'.
System Controller schostname-sc0:
Type 0 for Platform Shell
Type 1 for domain A
Type 2 for domain B
Type 3 for domain C
Type 4 for domain D
Input: 0
Platform Shell
Schostname: SC>
Use the serial port visit Platform Shell
Use the serial port, you can use three kinds of devices to connect.
ASCII terminal
Network Terminal Server
Workstation
Three different from the process equipment
ASCII terminal connected to the system controller serial port, the system controller will be shown the main menu, type "P" or "0", entered Platform Shell.
Connect to the network terminal server (NTS) to the system controller ports, the importation of TELNET order, followed by host name or IP address, system controller there will be the main menu, the loser "P" or "0" P entered Platform Shell.
Workstation
1, the system controller connected to your serial port serial workstations
2, in the prompt SOLARIS tip hardwire input commands to connect to the system controller
3, P input into the platform shell or 0
Visit a domain
Visit domain is the principal means through TELNET (network connection)
Note: Due to a serial port connection is used to connect platform shell, so do not use the serial port to connect domain

DOMAIN shell
If KEYSWITCH is set to (STANDBY or OFF), Victoria had not been activated, then SOLARIS OPENBOOT PROM or operating environment will not be running. If you are running SOLARIS or OPENBOOT PROM mode, then the domain is activated.
Use TELNET order visit domain.
1, the importation of TELNET order, followed by host name or IP address, system controller there will be the main menu, enter 1, 2, 3 or 4 domain type (which can also enter A, B, C or D) to enter DOMAIN Shell.
As follows:
% Telnet schostname
System Controller schostname-sc0:
Type 0 for Platform Shell
Type 1 for domain A
Type 2 for domain B
Type 3 for domain C
Type 4 for domain D
Input: 1
Connected to Domain A
Domain Shell for Domain A
Schostname: A>
2, if the domain is activated, and domain key KEYSWITCH is set to> Hold down the CTRL key, entered TELNET> prompt
In TELNET> prompt, enter send break, from the domain console to the domain shell prompt
As follows:
Ok Ctrl-]
Telnet> send break
Schostname: A>

Below are a description of how to switch between the three:
System Controller platform platform
System Controller domain Shell
System Controller domain console
To go back to the original shell, just enter orders disconnect from the domain Shell to connect to the domain console, resume the importation of orders from the platform Shell switch to the domain Shell console imported under orders.
By entering telnet schostname 500x, you can directly enter the platform shell or
A domain shells or domain console. You can skip to the main menu system controller
In the telnet command, the 5000 is the platform shell, and X is the other figures, as follows:
X is:
1 for domain A
2 for domain B
3 for domain C
4 for domain D
In the console command, domainID is a, b, c, or d.
Here's how SOLARIS environment domain Shell, toggle between openboot prom
SOLARIS assumption is running in the SOLARIS circumstances, the importation
CTRL]
Telnet> send break
Entered the domain Shell,
In the domain Shell, has returned to resume importing SOLARIS environment, such as the importation of break, to openboot prom environment
Note: importing break, then hung SOLARIS environment
Here's how the domain Shell, toggle between openboot prom, assumptions SOLARIS not running
Openboot prom in the> prompt type:
CTRL]
Telnet> send break
> Importing resume, has returned to the environment openboot prom

If the domain has not been activated from the domain Shell to domain console, in the domain Shell setkeyswitch> Domain console domain is activated> Setkeyswitch> From the domain console access to the domain Shell,
OK prompt and type in
Ok CTRL]
Telnet> send break
Should return to the domain console, input
Schostname: A> resume
If the domain has not been activated (SOLARIS, openboot prom is not running), the system controller to remain in the domain Shell, the show
DomainA is not active
Schostname: A>

From the Platform shell into the domain, input console a, as follows:
Schostname: SC> console a
Connected to Domain A
Domain Shell for Domain A
Schostname: A>
If openboot prom in the running, and you will enter a domain console, if the switch-off keyswitch is set to standby, or you will enter a domain A Shell.
(Hint, from the Platform shell into a different domain, the importation of different domain ID, domainID b, c, or d replace a.)

To suspend a session (if you are from the mouth TELNET Ethernet connectivity)
Imported under the domain Shell disconnect order, as follows
Schostname: A> disconnect
Connection closed by foreign host.
Machine_name_prompt%
Your system interrupt controller conversation

To suspend a session (if you are from the serial connection)
If you are connecting the system controller ports, then use the disconnect, suspension system controller conversation, and then use ~. Suspended TIP (TIP for the transmission INTERNET Protocol) sessions. As follows
Schostname: A> disconnect
Connection closed by foreign host.
Machine_name_prompt% ~.
Your system interrupt controller conversation

System Controller Navigation Procedures


This chapter explains step-by-step procedures with illustrations describing how to:
  • Connect to the platform and the domains
  • Navigate between the domain shell and the domain console
  • Terminate a system controller session
Topics covered in this chapter include:


Connection to the System Controller
This section describes how to obtain the following:
  • The platform shell
  • A domain shell or console
There are two types of connections: telnet and serial. If you are using a telnet connection, configure the system controller network settings before using telnet.You can access the system controller main menu using either the telnet or serial connections.
From the main menu, you can select either the platform shell or one of the domain consoles.
  • If you select the platform, you always obtain a shell.
  • If you select a domain, you obtain the:
    • Domain console (if the domain is active)
    • Domain shell (if the domain is inactive)
You can also bypass the system controller main menu by making a telnet connection to a specific port.
Obtaining the Platform Shell
This section describes how to obtain the platform shell.

  To Obtain the Platform Shell Using telnet
Before you use telnet, be sure to configure the network settings for the system controllers.
1. Obtain the system controller main menu by typing telnet schostname (CODE EXAMPLE 2-1).
where:
schostname is the system controller host name.
The system controller main menu is displayed. CODE EXAMPLE 2-1 shows how to enter the platform shell.
CODE EXAMPLE 2-1 Obtaining the Platform Shell With telnet



% telnet schostname
Trying xxx.xxx.xxx.xxx
Connected to schostname.
Escape character is '^]'.



System Controller `schostname':

        Type 0 for Platform Shell

        Type 1 for domain A
        Type 2 for domain B
        Type 3 for domain C
        Type 4 for domain D

Input: 0

Connected to Platform Shell

schostname:SC>





Note - schostname is the system controller host name.



2. Type 0 to enter the platform shell.
The system controller prompt, schostname:SC>, is displayed for the platform shell of the main system controller. If you have a redundant SC configuration, the spare system controller prompt is schostname:sc>.

  To Initiate a Serial Connection With tip
At the machine prompt, type tip and the serial port to be used for the system controller session.
machinename% tip port_name
connected

The main system controller menu is displayed.

  To Obtain the Platform Shell Using the Serial Port
1. Connect the system controller serial port to an ASCII terminal.
The system controller main menu is displayed.
2. From the main menu type 0 to enter the platform shell.
Obtaining a Domain Shell or Console
This section describes the following:
  • To Obtain the Domain Shell Using telnet  
  • To Obtain the Domain Shell From the Domain Console

  To Obtain the Domain Shell Using telnet
1. Obtain the system controller main menu by typing telnet schostname (CODE EXAMPLE 2-2).
The system controller main menu is displayed.
where:
schostname is the system controller host name.
CODE EXAMPLE 2-2 shows entering the shell for domain A.
CODE EXAMPLE 2-2 Obtaining a Domain Shell With telnet

% telnet schostname
Trying xxx.xxx.xxx.xxx
Connected to schostname.
Escape character is '^]'.


System Controller `schostname':

        Type 0 for Platform Shell

        Type 1 for domain A
        Type 2 for domain B
        Type 3 for domain C
        Type 4 for domain D

Input: 1

Connected to Domain A

Domain Shell for Domain A

schostname:A>


2. Enter a domain. Type 1, 2, 3, or 4 to enter the appropriate domain shell.
The system controller prompt for the domain shell you connected to is displayed. CODE EXAMPLE 2-2 shows entering the shell for domain A, whose prompt is
schostname:A>.
3. If the domain is active (the domain keyswitch is set to on, diag, or secure which means you are running the Solaris operating environment, or are in the OpenBoot PROM), perform the following steps:
a. Press and hold the CTRL key while pressing the ] key, to get to the telnet> prompt.
b. At the telnet> prompt type send break (CODE EXAMPLE 2-3).
CODE EXAMPLE 2-3 Obtaining a Domain Shell From the Domain Console

ok Ctrl-]
telnet> send break



  To Obtain the Domain Shell From the Domain Console
If the domain is active and the domain keyswitch is set to on, diag, or secure (you are running the Solaris operating environment, are in the OpenBoot PROM, or are running POST), perform the following steps:
1. Press and hold the CTRL key while pressing the ] key, to get to the telnet> prompt.
2. At the telnet> prompt type send break.
CODE EXAMPLE 2-4 shows obtaining the shell for domain A from the domain console. Because the domain is active, you will not see a prompt.
CODE EXAMPLE 2-4 Obtaining a Domain Shell From the Domain Console

ok Ctrl-]
telnet> send break




System Controller Navigation
This section explains how to navigate between the:
  • System controller platform
  • System controller domain console
  • System controller domain shell
To return to the originating shell, use the disconnect command. In a domain shell, to connect to the domain console, use the resume command. To connect to a domain shell from the platform shell, use the console command.
FIGURE 2-1 shows how to navigate between the platform shell, the domain shell, the domain console by using the console and disconnect commands. FIGURE 2-1 also shows how to connect to both the domain shell and platform shell from the operating environment by using the telnet command.
 FIGURE 2-1 Navigating Between the Platform Shell and the Domain Shell
In the telnet command in FIGURE 2-1, 5000 is the platform shell and
    • 5001 is domain A
    • 5002 is domain B
    • 5003 is domain C
    • 5004 is domain D
In the console command, domainID is a, b, c, or d.



Note - By typing telnet schostname 500x, you will bypass the system controller main menu and directly enter the platform shell, a domain shell or a domain console.



FIGURE 2-2 illustrates how to navigate between the Solaris operating environment, the OpenBoot PROM, and the domain shell. FIGURE 2-2 assumes that the Solaris operating environment is running.



Caution - Note that in FIGURE 2-2, typing the break command suspends the Solaris operating environment.



 FIGURE 2-2 Navigating Between the Domain Shell, the OpenBoot PROM, and the Solaris Operating Environment
FIGURE 2-3 illustrates how to navigate between the OpenBoot PROM and the domain shell. This figure assumes that the Solaris operating environment is not running.
 FIGURE 2-3 Navigating Between the OpenBoot PROM and the Domain Shell
When you connect to a domain, you will be connected to the domain shell unless the domain is active, in which case you will be connected to the domain console. When you connect to the console, you will be connected to the Solaris operating environment console or the OpenBoot PROM, depending on which of these is currently executing.

  To Enter the Domain Console From the Domain Shell If the Domain Is Inactive
Type setkeyswitch on in the domain shell.
schostname:A> setkeyswitch on

The domain console is available only when the domain is active. To make the domain active, you must turn the keyswitch on. You will be automatically switched from the domain shell to the domain console.
This action powers on and initializes the domain. The domain will go through POST and then the OpenBoot PROM. If the OpenBoot PROM auto-boot? parameter of the setupdomain command is set to true, the Solaris operating environment will boot. For details on the domain parameters, refer to the setupdomain command description in the Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual.

  To Enter the Domain Shell From the Domain Console
1. Press and hold the CTRL key while pressing the ] key to get to the telnet> prompt (CODE EXAMPLE 2-5).
2. Type send break at the telnet prompt.
CODE EXAMPLE 2-5 Obtaining a Domain Shell From the Domain Console
ok Ctrl-]
telnet> send break



  To Get Back to the Domain Console From the Domain Shell
1. Type resume:
schostname:D> resume


Note that because the domain is active, you will get a blank line.
2. Press the Return key to get a prompt.



Note - If the domain is not active, (the Solaris operating environment or the OpenBoot PROM is not running), the system controller stays in the domain shell and you will obtain an error.




  To Enter a Domain From the Platform Shell



Note - This example shows entering an inactive domain.



Type:
schostname:SC> console -d a

Connected to Domain A

Domain Shell for Domain A

schostname:A>

If the OpenBoot PROM is running, you are returned to the console for domain A. If the keyswitch is set to off or standby, you are returned to the shell for domain A.



Note - To enter another domain, type the proper domainID b, c, or d.





Terminating Sessions
This section describes how to terminate system controller sessions.

  To Terminate an Ethernet Connection With telnet
Type the disconnect command at the domain shell prompt.
Your system controller session terminates.
schostname:A> disconnect
Connection closed by foreign host.
machinename%

This example assumes that you are connected directly to the domain and not from the platform shell.



Note - If you have a connection to the domain initiated on the platform shell, you must type disconnect twice.

Typing disconnect the first time takes you back to the platform shell connection and keeps your connection to the system controller. Typing disconnect again exits the platform shell and ends your connection to the system controller.




  To Terminate a Serial Connection With tip
If you are connected to the System Controller board with the serial port, use the disconnect command to terminate the system controller session then use a tip command to terminate your tip session.
1. At the domain shell or platform shell prompt, type disconnect.
schostname:A> disconnect

2. If you are in a domain shell and are connected from the platform shell, type disconnect again to disconnect from the system controller session.
schostname:SC> disconnect

The system controller main menu is displayed.
3. Type ~. to end your tip session (CODE EXAMPLE 2-6 .
CODE EXAMPLE 2-6 Ending a tip Session

System Controller `schostname':

        Type 0 for Platform Shell

        Type 1 for domain A
        Type 2 for domain B
        Type 3 for domain C
        Type 4 for domain D

Input: ~.

machinename%


The machinename% prompt is displayed. 

Thanks,
Santhosh Kumar Reddy Rodda