C H A P T E R  2

Setting the Passwords, Date, and Time on the SSCs

This chapter tells you how to log into the active System Controller and both switches (if you have two SSCs installed) to perform the preliminary tasks necessary before you can configure the blade system chassis for use in your network environment.

You need to configure the active System Controller but not the standby one. The active one propagates the information you configure it with to the standby System Controller (if present) so that the standby one can take over if it ever becomes necessary.

The user login and password information for the switches is separate from the user login and password information for the System Controllers. It therefore has to be configured separately.

The chapter contains the following sections:

Follow all the instructions in both sections.



Note - To configure the system chassis, you need to use the command-line interface to the active System Controller. However, from this interface, you will need to access the consoles to the two switches and the consoles to the server blades. When you are at a switch or blade console, type #. to return to the System Controller's sc> prompt.




2.1 Logging into the System Controller, Setting a Password, and Setting the Time

This section tells you how to log into the active System Controller as user admin (the default user) and how to specify a password for that user.



Note - The user login and password information you configure on the System Controllers is entirely separate from the user login and password information you configure on the switches. For information about configuring this information on the switches, see Section 2.2, Logging into the Switch as the Default User and Setting the Passwords.



This section assumes you have set up a serial or telnet connection to the active System Controller. (You cannot set up a telnet connection to the standby System Controller.) If you have connected by telnet using the alias IP address, then you will be connected to whichever System Controller is currently the active one.

If you are using a serial connection, you need to know that, in the chassis's factory default configuration, the active System Controller is the one in SSC0. If you connect to SSC1 (and SSC1 contains the standby System Controller), you will see a message telling you that you are connected to the standby System Controller. In this case, set up a connection to SSC0. In any case, we recommend you maintain serial connections to both SSCs.

To begin setting up the blade system chassis, do the following:

1. At the username: prompt, type the default user name (admin).

Sun Advanced Lights Out Manager for Blade Servers 1.0 
ALOM-B 1.0
 
username: admin

2. At the sc> prompt, set a password for the default user.

The default user (admin) is pre-configured and cannot be deleted. This user initially has permission only to set its own password. When the password has been set, it acquires full user permissions. To enable yourself to proceed with the configuration of the blade system chassis, you must set a password for the default user (admin).

The first password you specify must:

For more information about setting up named users for the System Controller, refer to the Sun Fire B1600 Blade System Chassis Administration Guide.

To set a password for user admin, type:

sc> password  
Enter new password: 
Enter new password again: 
New password set for user admin successfully
sc> 

3. Set the date and time on the active System Controller.



Note - When you set the date and time, you must use Co-ordinated Universal Time (UTC). The server blades work out the local time for your time-zone by using an offset from Co-ordinated Universal Time on the System Controller. They receive the time from the System Controller.



The command for setting both the date and time is the same: it is the setdate command. The syntax for this command is as follows:

sc> setdate [mmdd]HHMM[.SS] | mmddHHMM[cc]yy[.SS]

where mm is the month (two digits), dd is the day (two digits), HH is the hour (two digits), MM is the minutes (two digits), SS is seconds (two digits), cc is the century (20), yy is the year (two digits).

single-step bulletTo set the time (24-hour clock)

Type the hour (two digits), followed by the minutes (two digits). For example, to set the time to 11:42, type the following:

sc> setdate 1142

single-step bulletTo set the month, day, and time (24-hours to the nearest minute)

Type the (two-digit) number of the month in the year, followed by the (two-digit) number of the day in the month, followed by the hour (two digits), followed by the minutes (two digits). For example, to set the date and time to 11.42 am on March 27, type the following:

sc> setdate 03271142

single-step bulletTo set the day, month, time (24-hour), year, and seconds

Type the (two-digit) number of the day in the month, followed by the (two-digit) number of the month in the year, followed by the hour (two digits), followed by the minutes (two digits), followed by the year (either four characters or two; for example, "2002" or "02"), followed, optionally, by a dot and the seconds (two digits). For example, to set the date and time to 47 seconds after 11.42 am on 27 March, 2002, type the following:

sc> setdate 2703114202.47


2.2 Logging into the Switch as the Default User and Setting the Passwords

This section tells you how to log into the switch and how to set and save its passwords.



Note - The user login and password information you configure on the switches is entirely separate from the user login and password information you configure on the System Controllers.



1. Type:

sc> console sscn/swt

where n is either 0 or 1 depending on whether you are configuring the switch in SSC0 or SSC1. For example, to configure the switch in SSC0, type:

sc> console ssc0/swt

2. When prompted for a user name and password, type admin for both.

Username admin
Password *****
 
CLI session with the host is opened.
To end the CLI session, enter [Exit].

3. At the console# prompt, type:

Console#configure

4. Set at least the first one of the switch's following three passwords:

a. Set a password to give yourself access to the switch's Privileged Exec command mode.

This is the command mode that enables you to view and change the whole of the switch's configuration. The default user admin (see Step 2) has Privileged Exec rights. For security, we recommend you change the password for this user. Type:

Console(config)#username admin password 0 password

where password is a string of 1-8 characters in length. The 0 indicates to the switch that the password is specified in plain text. There is an alternative parameter (7) which indicates that the password is specified in encrypted text. But there are no practical situations in which you will need to use this parameter. For more information, see Understanding Why the Switch Needs to be Told That a Password is Not Encrypted.

b. For information about the use of plain or encrypted text for passwords, see the Sun Fire B1600 Blade System Chassis Switch Administration Guide.)

c. Set a password for the user guest.

The user guest can view some switch configuration and status information and can also execute ping commands. This user cannot alter any of the switch's configuration settings. The default password for this user is guest. To set a new password for it, type:

Console(config)#username guest password 0 password

where password is a string of 1-8 characters in length. (The zero indicates that the password is specified in plain text.)

d. Set a password for the enable command.

The enable command enables a user logged in as guest to acquire Privileged Exec rights. If this user types enable on the command line, he or she will be prompted for a password. The default password for the enable command is super. To set a new password for it, type:

Console(config)#enable password level 15 0 password

where password is a string of 1-8 characters in length. The number 15 specifies that anyone who is authorized to run the enable command will have Privileged Exec rights. The zero indicates that the password is specified in plain text.



Note - For more information about the different command modes available on the integrated switch, refer to the Sun Fire B1600 Blade System Chassis Switch Administration Guide.



5. Leave the switch's configuration mode by typing:

Console(config)#end

or

Console(config)#exit

6. Because you have changed the switch's configuration, you must now save the configuration.

The method of doing this is to copy the running configuration firmware to the startup configuration firmware.

Type:

Console#copy running-config startup-config
Startup configuration file name []:filename
Write to FLASH Programming
-Write to FLASH finish
Success
 
Console#

where filename is the name you want to give to the file that will contain your new startup configuration.

7. If you are using DHCP to provide the switch's IP configuration, then we recommend that you configure the second switch now either by:

If you are not using DHCP, you do not need to configure the second switch at this point. The instructions in Chapter 3 tell when to do this, but you need to do some more configuration of the first switch before you copy the configuration over.

What to Do Next

If you are installing: