A P P E N D I X  C

Feedback Configuring the IP Address of the RAID Array Controllers

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

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.


Configuring Static IP Addresses

Use static IP addressing to 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.



Note - Some array models, such as the StorageTek 2500 Series, have only one Ethernet port on the controllers. In that case “Ethernet Port 1” applies to that single port.


Sun array controllers are shipped with the following default IP addresses:

The controller IP address configuration tasks are listed in TABLE C-1.


TABLE C-1 IP Addressing Configuration Tasks

Step

Task

Section

1

Establish temporary IP connectivity between the management host and the array controllers

Establishing Temporary IP Connectivity

2

Assign static IP addresses to the controllers

Assigning IP Addresses to the Controllers

3

Restore the original host IP configuration

Restoring the Management Host IP Configuration


TABLE B-1, IP Addressing Configuration Tasks, shows the tasks for IP addressing configuration.

IPv6 Support

No IPv6 address is configured by default on IPv6-capable arrays. To configure IPv6, access the array via IPv4 or via the array’s serial console.

When enabled, IPv6 can be configured in one of two modes using the Physical Devices > Controllers page:

Select this for the array to obtain a stateless, auto-configured address.

Select this if you have a specific, pre-assigned IPv6 address you want assigned to the array.


Establishing Temporary IP Connectivity

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 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 the 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:

Configuring the IP Address on the Management Host for the Solaris or Linux Operating System

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

Configuring 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.

5. Type the IP address and subnet mask, and click 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.

Configuring 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 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 (see Deleting a Temporary Virtual Subnet on a Management Host).



Note - The following procedure applies to Solaris or Linux management hosts only. On Linux hosts, the syntax of the commands shown may vary slightly, depending on the Linux version used.


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


Assigning IP Addresses to the Controllers

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

Assigning an IP Address to Each Ethernet Port

1. Start Sun Storage Common Array Manager:

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 Oracle Java Web Console page, click Sun Storage Common Array Manager.

The Storage System Summary page is displayed.

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

See Registering Arrays 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 Administration 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 Arrays 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, once you have configured static IP addresses for the controllers you must restore the original IP address of the management host.

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 Deleting a Temporary Virtual Subnet on a Management Host.

Deleting 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

 

Feedback