Intel MPCMM0001 manual Setting a Hostname, Setting the Amount of Time for Auto-Logout

Models: MPCMM0001

1 281
Download 281 pages 15.26 Kb
Page 75
Image 75

The Command Line Interface (CLI)

4.Add the NETMASK2 variable and set it to the appropriate netmask for STATICIP2 for your network. The NETMASK2 variable needs to be correct to allow for true redundant operation.

5.Add the GATEWAY1 variable and set it to the appropriate value for the gateway for STATICIP1.

6.Add the GATEWAY2 variable and set it to the appropriate value for the gateway for

STATICIP2

7.Set the SETIP variable to assign IP addresses eth1 and eth1:1 based on the following table:

Table 20. SETIP Interface Assignments when BOOTPROTO=”dhcp”

Interface

SETIP=1

SETIP=2

SETIP=Both

Other

 

 

 

 

 

eth1

dynamic

STATICIP2

dynamic

dynamic

 

 

 

 

 

eth1:1

disabled

disabled

STATICIP2

disabled

 

 

 

 

 

8. To activate the changes, at the user prompt (from the root “/” directory), type:

/etc/rc.d/network reload

8.3.2Setting a Hostname

The hostname of the CMM is a logical name that is used to identify a particular CMM. This name is shown at login time just to the left of the login prompt on the serial port interface when configured (i.e., “MYHOST login:”) and advertised to any DNS servers on a network. If there is no entry in /etc/HOSTNAME, the login prompt will not have anything next to it. By default, the hostname is set to the product name (i.e. MPCMM0001).

The hostname should be configured on the each CMM. To change the hostname:

1.Using the vi editor, change the HOSTNAME variable in /etc/HOSTNAME to the desired name.

2.To activate the changes, at the user prompt (from the root “/” directory), type:

etc/rc.d/network reload

Note: Executing network reload also causes the network interfaces to reload their IP addresses. If DHCP is being used on a network interface, then it is possible that the IP address on that interface will change.

8.3.3Setting the Amount of Time for Auto-Logout

For security purposes, the CMM automatically logs the user out of the current console session after 15 minutes (900 seconds). This auto-logout time can be changed by editing /etc/profile and changing the TMOUT value to the desired setting. The time-out (TMOUT) value is set in seconds (900 seconds is the default). A setting of TMOUT=0 will disable the automatic logout. This can also be set at the command line.

MPCMM0001 Chassis Management Module Software Technical Product Specification

75

Page 75
Image 75
Intel MPCMM0001 manual Setting a Hostname, Setting the Amount of Time for Auto-Logout