A P P E N D I X  A

Configuring the SSP Network

If you are installing the SSP software on a new disk, and have already performed a fresh install of the Solaris operating environment, you need to configure the SSP network files before performing a fresh install of the SSP software.

This appendix describes the following SSP network configurations:

TABLE A-1 and FIGURE A-1 describe the two-subnet network configuration.



Note - In a two-subnet configuration (one SSP, one hub, and one control board), automatic SSP and control board failover are disabled. In a three-subnet configuration (one SSP, two hubs, and two control boards), control board failover is enabled, but SSP failover is disabled. In a spare SSP configuration (two SSPs, two hubs, and two control boards), both SSP and control board failover is enabled. For details on supported failover configurations, see Chapter 2.



TABLE A-1 Two-Subnet Network Configuration

Subnet

Name

Description

Primary

Domain Subnet or dom_subnet

SSP and the domains

Second

Control Board Subnet or cb0_subnet

SSP and the control board


FIGURE A-1 Two-Subnet Network Configuration

In FIGURE A-1 , the built-in port is le0 for a SPARCstation 5 and hme0 for a Sun Ultra 5 and a Sun Enterprise 250 system.

TABLE A-2 and FIGURE A-2 describe the three-subnet network configuration.

TABLE A-2 Three-Subnet Network Configuration

Subnet

Name

Description

Primary

Domain Subnet or dom_subnet

SSP and the domains

Second

Control Board Subnet 0 or cb0_subnet

SSP and the first control board

Third

Control Board Subnet 1 or cb1_subnet

SSP and the second control board


FIGURE A-2 Three-Subnet Network Configuration

In FIGURE A-2 , the built-in port is le0 for a SPARCstation 5 and hme0 for a Sun Ultra 5 and a Sun Enterprise 250 system.

TABLE A-3 and FIGURE A-3 describe the spare SSP network configuration.

TABLE A-3 Spare SSP Network Configuration

Subnet

Name

Description

Primary

Domain Subnet or dom_subnet

Both SSPs and the domains

Second

Control Board Subnet 0 or cb0_subnet

Both SSPs and the first control board

Third

Control Board Subnet 1 or cb1_subnet

Both SSPs and the second control board


FIGURE A-3 Spare SSP Network Configuration

In FIGURE A-3 , the built-in port on the main SSP and the spare SSP is le0 for a SPARCstation 5 and hme0 for a Sun Ultra 5 and a Sun Enterprise 250 system.


procedure icon  To Configure Your SSP Network

This procedure provides instructions for configuring your SSP network in one of the three configurations discussed earlier in this appendix.

1. Log in to the SSP as superuser.

2. Create the /etc/hostname.* configuration files.

If you need to view your network controllers, use ifconfig -a .

For example, if you are using a Sun Quad FastEthernet trademark card, model 1049A, in the two-subnet, three-subnet, or spare SSP network configuration on a Sun Ultra 5 system, you need the following files:

The following file is also needed if you are using either the three-subnet or spare SSP configuration:



Note Note - The two control board subnets must be on two different physical cards. The node name must reference the public interface and not the private interface.



3. Set the contents of the defaultrouter file to the gateway IP address:

ssp# echo gateway_IP_address > /etc/defaultrouter

4. Manually update your name service hosts registry to include the host names and IP addresses of your control board(s) and other hosts, such as domains and the SSP.

This can involve updating the Network Information Service (NIS or NIS+), or the /etc/hosts file, or the Domain Name Service (DNS).

The example below shows the typical modifications for an /etc/hosts file on a Sun Ultra 5 system:

# Entries for dom_subnet.
www.xxx.yyy.zzz domain1_hostname
www.xxx.yyy.zzz domain2_hostname
...
www.xxx.yyy.zzz domainn_hostnname(n is the number of domains)
#
# Entries on both ssp's. 
# NOTE : On the spare SSP, make sure "loghost" 
# belongs to the spare.
#
www.xxx.yyy.zzz main_ssp_hostname loghost
www.xxx.yyy.zzz spare_ssp_hostname
www.xxx.yyy.zzz  floating_ssp_hostname
#
# The next three entries need to be on cb0_subnet.
#
www.xxx.yyy.zzz main_ssp_hostname-hme0
www.xxx.yyy.zzz spare_ssp_hostname-hme0
www.xxx.yyy.zzz cb0_hostname
#
# The next three entries need to be on cb1_subnet. 
#
www.xxx.yyy.zzz main_ssp_hostname-qfe1
www.xxx.yyy.zzz spare_ssp_hostname-qfe1
www.xxx.yyy.zzz cb1_hostname

The /etc/hosts file is a link to the /etc/inet/hosts file.

The following examples show the /etc/hosts file for a main and spare SSP, respectively.

The main SSP, as shown in the /etc/hosts file in FIGURE A-4 , is configured as follows:

#/etc/hosts
#
#dom_subnet (www.xxx.49.zzz). The 49 subnet
#
192.168.49.8    xf4
192.168.49.9    xf4-b3
127.0.0.1       localhost
192.168.49.113  xf4-ssp1 loghost
192.168.49.114  xf4-ssp2
192.168.49.115  xf4-ssp-main
#
#cb0_subnet (www.xxx.151.zzz). The 151 subnet
#
192.168.151.113 xf4-ssp1-hme0
192.168.151.114 xf4-ssp2-hme0
192.168.151.123 xf4-cb0
#
#cb1_subnet (www.xxx.152.zzz). The 152 subnet
#
192.168.152.113 xf4-ssp1-qfe1
192.168.152.114 xf4-ssp2-qfe1
192.168.152.127 xf4-cb1

FIGURE A-4 /etc/hosts File for a Main SSP

The following /etc/hosts file for the spare SSP is similar to the previous /etc/hosts file for the main SSP, except the spare SSP is the loghost.

#/etc/hosts
#
#dom_subnet (www.xxx.49.zzz). The 49 subnet
#
192.168.49.8    xf4
192.168.49.9    xf4-b3
127.0.0.1       localhost
192.168.49.113  xf4-ssp1
192.168.49.114  xf4-ssp2 loghost
192.168.49.115  xf4-ssp-main
#
#cb0_subnet (www.xxx.151.zzz). The 151 subnet
#
192.168.151.113 xf4-ssp1-hme0
192.168.151.114 xf4-ssp2-hme0
192.168.151.123 xf4-cb0
#
#cb1_subnet (www.xxx.152.zzz). The 152 subnet
#
192.168.152.113 xf4-ssp1-qfe1
192.168.152.114 xf4-ssp2-qfe1
192.168.152.127 xf4-cb1

FIGURE A-5 /etc/hosts File for a Spare SSP



Note Note - The SSP and the host domains must be on the same subnet so you can boot domains from the network.



5. Manually update your name service ethers registry to include the Ethernet addresses for the domain(s), SSP(s), and control board(s).

You need to update NIS or NIS+, or the /etc/ethers file. For example:

0:0:be:01:00:1e         xf4-cb0
0:0:be:01:00:57         xf4-cb1



Note Note - The Ethernet address of the control board(s) is located on the front of each control board.



6. Edit the /etc/nsswitch.conf file on the main SSP and the spare SSP.

If you are using local configuration files, the lines in the /etc/nsswitch.conf files are similar to the following example:

passwd:     files
group:      files
hosts:      files
ethers:     files



Note Note - The name server information (nis) is dependent on your network configuration.



7. Reboot the SSP.