C H A P T E R  5

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:


About IP Addressing

The Sun Storage 6580 and 6780 Arrays are managed out-of-band using 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:


Configuring the IP Address of the Array Controllers

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:

The following subsections describe how to configure Ethernet port 1 on a controller with dynamic and static IP addressing.

Configuring Dynamic (DHCP) IP Addressing

If BOOTP services are available on the DHCP server at initial array power-on, this server assigns a dynamic IP address for Ethernet port 1 on each controller.

If a DHCP server is not available, the controller tray defaults to internal static IP addresses. For instructions on restoring DHCP IP addressing to Ethernet port 1 of either controller see Configuring Static IP Addressing.

If you want to set up a DHCP server, refer to Appendix A for a description of how to configure BOOTP services in a Sun Solaris or Microsoft Windows environment.

Configuring Static IP Addressing

There are two methods of assigning static IP addresses to the Ethernet ports of a controller:



Note - It is recommended that you use the serial port interface to assign IP addresses to Ethernet port 1 of each controller, if possible.


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:

Connecting a Terminal to the Serial Port

You will establish a serial connection to each controller, Controller A and
Controller B.



Note - You can use any null serial extension cable that connects to a serial port base cable.


To connect a terminal to the serial port of a controller:

1. Connect your terminal (using a null modem cable) to the DB9 port on each controller.

Setting Up the Terminal Emulation Program

To set up a terminal emulation program to connect to the serial port:

1. Select VT100 emulation.

2. Remove any modem strings from the connection profile.

3. Set up the connection profile with the following communication settings:

Establishing a Connection With the Serial Port

To establish a connection with the serial port and display the Service Interface menu:

1. Send a Break using your emulation program. For example, use Ctrl-Break with PC programs.



Note - Press Break to synchronize the serial port to a different terminal port rate.


Send a break or several breaks until 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:

Baud rate set to 57600

3. Use the key sequence Ctrl-Break. Ctrl-Break.

Send a break or several breaks until the serial port responds with the following message:

Press within 5 seconds: <S> for Service Interface, <BREAK> for baud rate

4. Press S to display the Service Interface menu.



Note - The menu commands are case sensitive. Be sure to enter an uppercase S.


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.


Service Interface Main Menu

==============================

1) Display IP Configuration

2) Change IP Configuration

3) Reset Storage Array (SYMbol) Password

Q) Quit Menu

 

Enter Selection:


Configuring the IP Addresses

The serial port Service Interface menu enables you to set up the IP address configuration for Ethernet port 1 on the controller.



Note - Ethernet port 2 is reserved for future use.


To set up the IP address configuration for Ethernet port 1 on each controller:

1. Select option 2, Change IP Configuration:


Service Interface Main Menu

==============================

1) Display IP Configuration

2) Change IP Configuration

3) Reset Storage Array (SYMbol) Password

Q) Quit Menu

 

Enter Selection: 2


The Select Ethernet Port menu is displayed.

2. Specify the Ethernet port for which you want to configure IP addressing:


Select Ethernet Port

==============================

1) Ethernet Port: 1

2) Ethernet Port: 2

Q) Quit

 

Enter Selection: 1


3. Specify that you do not want dynamic IP addressing, using a DHCP server, used for this port:


Configure using DHCP ? (Y/N): n


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 clear the field;

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

Subnet Mask if1 : 255.255.255.0 <ENTER>

Gateway IP Address if1: <ENTER>

 


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.


Service Interface Main Menu

==============================

1) Display IP Configuration

2) Change IP Configuration

3) Reset Storage Array (SYMbol) Password

Q) Quit Menu

 

Enter Selection: 1


The Select Ethernet Port menu is displayed.

7. Specify the Ethernet port for which you want to display IP addressing:


Select Ethernet Port

==============================

1) Ethernet Port: 1

2) Ethernet Port: 2

Q) Quit

 

Enter Selection: 1


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.

9. Repeat these steps for the second controller Ethernet port.

When you have completed the IP address configuration for the Ethernet port on each array controller, you are ready to register and configure the array, as described in the Sun StorageTek Common Array Manager Software Installation Guide.


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

Additionally, you might have to establish a virtual subnet in order to temporarily access the array from the management host. Refer to Creating and Deleting a Temporary Virtual Subnet on a Management Host for additional information.

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

Configuring the IP Address for Windows 2008

1. From the Control Panel, select Network and Sharing Center.

2. Under Tasks at the left, click Manage network connections.

3. Right click on the LAN you want to manage (for example, Local Area Connection), and select Properties.

4. Selected Internet Protocol Version 6 or 4 (TCP/IPv6 or TCP/IPv4)).

5. Make sure that a static IP address is configured, and click Properties.

6. To set the IP address and DNS server as static, select “Use the following IP address:” and “Use the following DNS server addresses:” and fill in the appropriate addresses.

7. Click OK at the bottom of Local Area Connection Properties and close the window.

8. 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 ping the IP address 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 and Deleting a Temporary Virtual Subnet on a Management Host

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:

Creating 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

Deleting a Temporary Virtual Subnet on a Management Host

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

2. View the changes:

ifconfig -a


Next Steps

You are now ready to use the management software to set up the array, as described in the document Sun StorageTek Common Array Manager Software Installation Guide.

Among the tasks that you will perform: