| C H A P T E R 6 |
|
Configuring IP Addressing |
In order for there to be an out-of-band Ethernet connection between the local management host and the array controllers, the management host and the array controllers must have valid IP addresses.
This chapter describes how to configure IP addressing on the local management host and the array controllers. It contains the following sections:
The Sun StorageTek 6140 Array is managed out-of-band by way of a standard Ethernet connection between the redundant array of independent disk (RAID) controllers and your management host.
Use the procedures in the following sections to ensure that the local management host and the array controllers have valid IP addresses:
You can configure two types of IP addressing for Ethernet port 1 of each array controller:
By default, if the array controllers cannot find a DHCP server upon initial power-on, an internal IP address is assigned to Ethernet port 1 of each controller:
To configure Ethernet port 1 on a controller with either dynamic or static IP addressing, see one of the following sections:
At initial array power on, if BOOTP services are available on the DHCP server, this server assigns a dynamic IP address for Ethernet port 1 on each controller.
If you want to set up a DHCP server, refer to Appendix B for a description of how to configure BOOTP services in Sun Solaris or Microsoft Windows environments.
You can restore DHCP IP addressing to Ethernet port 1 of either controller in either of two ways:
There are two methods of assigning static IP addresses to the Ethernet ports of a controller, as described in the following sections:
|
Note - It is recommended that you use the serial port interface to assign IP addresses to Ethernet port 1 of each controller, if possible. |
You can use the serial port interface on a controller to set the IP address for Ethernet port 1 on the controller.
To use the serial port interface to configure IP addressing for Ethernet port 1 of each controller, you must complete the tasks described in the following sections:
Two serial port cables are supplied with each controller tray:
|
Note - You can use any null serial extension cable that mates with serial port base cable. |
To connect a terminal to the serial port of a controller:
1. Connect the 6-pin mini-DIN connector of the base cable to the serial port connector on the controller (Controller Tray Port and Components (Back View)).
2. Connect the 9-pin serial extension cable from the 9-pin connector of the base cable to the serial port connector of the terminal.
To set up a terminal emulation program to connect to the serial port:
2. Remove any modem strings from the connection profile.
3. Set up the connection profile with the following communication settings:
To establish a connection with the serial port and display the Service Interface menu:
The serial port responds with a request to synchronize the with the baud rate of the terminal:
Set baud rate: press <space> within 5 seconds
2. Press the space bar within five seconds.
The serial port confirms the established baud rate for the connection:
3. Press Break (see Note above)
The serial port responds with the following message:
Press within 5 seconds: <S> for Service Interface, <BREAK> for baud rate
4. Press S to access the Service Interface menu.
|
Note - Send Break to synchronize the serial port to a different terminal port rate (see Note above). |
The serial port requests the serial port password:
Enter Password to access Service Interface (60 sec timeout):
5. Type the serial port password, kra16wen, and press Enter.
The Service Interface menu is displayed.
The serial port Service Interface menu enables you to set up the IP address configuration for Ethernet port 1 on the controller.
To set up the IP address configuration for Ethernet port 1 on each controller:
1. Select option 2, Change IP Configuration:
The Select Ethernet Port menu is displayed.
2. Specify the Ethernet port for which you want to configure IP addressing:
3. Specify that you do not want dynamic IP addressing, using a DHCP server, used for this port:
The current or default IP configuration for the selected Ethernet port is displayed.
4. Enter the static IP address and, optionally, a subnet mask for the Ethernet port:
|
Note - If you are not using DHCP IP addressing and have previously changed the gateway IP address, you must also specify a gateway IP address for the Ethernet port. |
|
Press '-' to return to the previous field; Press <ENTER> and then ^D to quit (Keep Changes) Current Configuration New Configuration IP Address if1 : 192.168.128.101 IP-address |
5. When prompted, confirm the specified IP addressing.
The Service Interface menu is redisplayed.
6. Select option 1, Display IP Configuration, to confirm the IP address changes.
The Select Ethernet Port menu is displayed.
7. Specify the Ethernet port for which you want to display IP addressing:
The IP address configuration of the selected Ethernet port is displayed, and the Service Interface menu is redisplayed.
8. Press Q to quit the Service Interface menu.
When you have completed the IP address configuration for the Ethernet ports on both array controllers, see Using the Browser Interface to Set Up the Array for instructions and on registering and configuring the array.
To use the Sun StorageTek Configuration Service to assign IP addresses for Ethernet port 1 of each controller, you must perform the procedures in the following sections:
|
Note - Before attempting the procedures in this section, be sure to connect the management host has an Ethernet connection to the controller's Ethernet ports as directed in Connecting the Management Host. |
In order to assign IP addresses to the controllers, you must establish temporary IP connectivity between the management host and Ethernet port 1 of each controller.
There are two methods by which to do that, depending on the method by which the management host and controller's Ethernet ports are physically connected to the Ethernet, and the availability of an Ethernet interface on the management host.
The two methods of establishing temporary IP connectivity are as follows:
Use this method if the following conditions are true:
For information on changing the IP address of an Ethernet interface on the management host, see Configuring the IP Address of the Management Host
Use this method if there is not an available Ethernet interface on the management host or if Ethernet port 1 of each controller is connected to a subnet on the local area network (LAN) that is not the subnet of the management host.
For information on creating a temporary virtual subnet on the management host, see Creating and Deleting a Temporary Virtual Subnet on a Management Host.
After you have established temporary IP connectivity between the controller's Ethernet ports and the management host, you can use the Sun StorageTek Configuration Service to assign a static IP address to Ethernet port 1 of each controller or to change the IP addressing for the port to DHCP.
1. Access the Sun StorageTek Configuration Service:
a. Open a web browser and enter the IP address of the management host:
management-host is the IP address of the machine where you installed the management software.
root-password is the root password of the machine where you installed the management software.
c. From the Sun Java Web Console page, click Sun StorageTek Configuration Service.
The Array Summary page is displayed.
2. Temporarily register the array with the default Ethernet port IP addresses.
To register the array, see Registering the Array for instructions.
3. Assign a static IP address to Ethernet port 1 on each controller.
a. Select the array from the Array Summary page.
b. In the navigation pane, choose Administration > General Settings.
The General Setup page is displayed.
c. Enter the array name and click OK.
d. In the navigation pane, choose Physical Storage > Controllers.
The Controller Summary page is displayed.
e. First for Controller A's (Controller 1) Ethernet port 1 and then for Controller B's (Controller 2) Ethernet port 1, select Specify Network Configuration and then enter the IP address, gateway address, and netmask. Click OK.
You might see an error message indicating that contact has been lost with the array as a result of the changed IP address. You can ignore this message.
4. Delete the array to remove the default IP addresses:
a. Log out of the console and then log in again.
The Array Summary page is displayed.
b. On the Array Summary page, click the check box next to the original array with the original IP address, and click the Delete button to remove the old IP address.
5. Reregister the array with the static IP addresses.
To register the array, see Registering the Array for instructions.
6. If you are configuring multiple arrays, use the following Solaris OS commands to clean the Address Resolution Protocol (ARP) table entry for each controller:
arp -d ip-address-controller-A
arp -d ip-address-controller-B
If you changed the IP address of the management host, you must restore the original Ip address.
To restore the original IP address of an Ethernet interface on the management host, see Configuring the IP Address of the Management Host.
If you established a virtual subnet to assign IP addressed, you should delete it.
To delete the temporary virtual subnet on the management host, see Creating and Deleting a Temporary Virtual Subnet on a Management Host.
To configure IP addressing for the array, you may have to temporarily change the IP address of management host.
The method you use to configure the IP address on the host depends on the platform you are using. Follow the instructions in one of the following sections, depending on your platform:
For information about changing the IP address on a Solaris server, see the ifconfig man page.
1. From the Control Panel, select Network and Dial-Up Connections.
2. Select Local Area Connection > Properties > Internet Protocol (TCP/IP).
3. Make sure that a static IP address is configured, and click Advanced.
4. In Advanced TCP/IP Settings, select the IP address you want to configure, and click Add directly below the IP addresses listing.
5. Type the IP address and subnet mask as shown in the following example:
The new IP address is added to the IP addresses listing.
7. Open a command window and try to ping the IP addresses of the controller's Ethernet ports, as shown in the following example:
If the ping is unsuccessful, try rebooting the server and ping the IP address again.
1. From the Control Panel, select Network and Dial-Up Connections.
2. Select Local Area Connection > Properties > Internet Protocol (TCP/IP).
3. Make sure a static IP address is configured, and click Advanced.
4. In Advanced TCP/IP Settings, click Add directly below the IP addresses listing.
5. Type an IP address that is on the same subnet as Controller A (192.168.128.101) and Controller B (192.168.128.102).
For example, you can use 192.168.128.100 because it is on the same subnet and does not conflict with the controller IP addresses.
The new IP address is added to the IP addresses listing.
To configure IP addressing for an array, you might have to establish a virtual subnet in order to temporarily access the array from the management host You should delete the virtual subnet after you configure IP addressing for the array.
This section contains the following subsections:
1. To display the Ethernet ports that are in use on the server, type the following:
The Ethernet ports that are in use are displayed, as shown in the following example:
2. As root, configure a temporary virtual subnet by typing the following:
# ifconfig ethernet-port:1 plumb
# ifconfig ethernet-port:1 192.168.128.100 up
# ifconfig bge0:1 plumb
# ifconfig bge0:1 192.168.128.100 up
3. Type the following command to view the changes and thereby verify that you have established IP connectivity between the management host and the array controllers:
ipconfig -a
After you have assigned static IP addresses to the controllers, you can delete the temporary virtual subnet.
1. Enter the following commands as root:
# ifconfig ethernet-port:1 down
# ifconfig ethernet-port:1 unplumb
ifconfig -a
You are now ready to use the management software to set up the array, as described in Chapter 7.
Copyright © 2007, Sun Microsystems, Inc. All Rights Reserved.