A P P E N D I X  B

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. There are three methods for adding the IP address:

The first two methods are documented in your array installation guide.

This appendix describes how to use Common Array Manager software to substitute a static IP address for the default internal IP address. It contains the following sections:


Configuring the IP Address of the Array Controllers

With static IP addressing, you assign a specific IP address to Ethernet port 1 of each array controller. Static IP addresses remain in effect until you modify or remove them.

By default, an internal IP address is assigned to Ethernet port 1 of each controller:

Using Sun StorageTek Common Array Manager to Assign IP Addresses

To use the Sun StorageTek Common Array Manager software to specify an IP address for Ethernet port 1 of each controller, you must perform the procedures in the following sections:



Note - Before performing the procedures in this section, be sure the management host has an Ethernet connection to the controller's Ethernet ports.



Establishing Temporary IP Connectivity With 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.

Assigning an IP Address to Ethernet Port 1 on Each Controller

After you have established temporary IP connectivity between the controller's Ethernet ports and the management host, you can use the Sun StorageTek Common Array Manager software to assign a static IP address to Ethernet port 1 of each controller.


procedure icon  To Assign an IP Address to Each Ethernet Port

1. Access the Sun StorageTek Common Array Manager software:

a. Open a web browser and enter the IP address of the management host:

https://management-host:6789

management-host is the IP address of the machine where you installed the management software.

The login page is displayed.

b. Log in as root:

Login: root

Password: root-password

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 Common Array Manager.

The Storage System Summary page is displayed.

2. Temporarily register the array with the default Ethernet port IP addresses.

See Registering the Array for instructions.

3. Assign a static IP address to Ethernet port 1 on each controller.

a. In the navigation pane, expand Storage Systems and choose the array to which you want to assign an IP address.

The General Setup page is displayed. (This procedure assumes that you previously set the array general information.)

b. Enter the array name and click OK.

c. In the navigation pane, under the array you want to work with, expand Physical Devices and choose Controllers.

The Controller Summary page is displayed.

d. 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 Storage System Summary page is displayed.

b. On the Storage System Summary page, click the check box next to the original array with the original IP address, and click the Remove 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 clear the Address Resolution Protocol (ARP) table entry for each controller:

arp -d ip-address-controller-A
arp -d ip-address-controller-B

Restoring the Management Host IP Configuration

If you changed the IP address of the management host, you must restore the original IP address as described in the next section.

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 addresses, 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.


Configuring the IP Address of the 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:


procedure icon  To Configure the IP Address on the Management Host for the Solaris Operating System

For information about changing the IP address on a Solaris server, see the ifconfig man page.


procedure icon  To Configure the IP Address for Windows 2000 Advanced Server

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.

Type the IP address and subnet mask, and.cScreen capture of the Windows 2000 TC/IP Address dialog.Screen capture of the Windows 200 TC/IP Address dialog showing the IP address and Subnet mask fields. The buttons are Add and Cancel.

5. lick Add.

The new IP address is added to the IP addresses listing.

6. Open a command window and try to ping the IP addresses of the controller's Ethernet ports, as shown in the following example:

> ping 192.188.128.101

If the ping is unsuccessful, try rebooting the server and entering the ping command again.


procedure icon  To Configure the IP Address for Windows Server 2003

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.

6. Click Add.

The new IP address is added to the IP addresses listing.


Creating and Deleting a Temporary Virtual Subnet on a Management Host

To configure static 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 static IP addressing for the array.



Note - The following procedure applies to Solaris management hosts only.



This section contains the following subsections:


procedure icon  To Create a Temporary Virtual Subnet on a Management Host

1. To display the Ethernet ports that are in use on the server, type the following:

ifconfig -a

The Ethernet ports that are in use are displayed, as shown in the following example:


lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.4.30.110 netmask ffffff00 broadcast 10.4.30.255
        ether 0:3:ba:32:4d:f1

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

For example:

# 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

procedure icon  To Delete a Temporary Virtual Subnet on a Management Host

1. Enter the following commands as root:

# ifconfig ethernet-port:1 down
# ifconfig ethernet-port:1 unplumb

2. View the changes:

ifconfig -a