A P P E N D I X B

Configuring IP Addressing

To have an out-of-band Ethernet connection between the local management host and the controller modules, the management host and the controllers must have valid IP addresses.

This appendix describes how to configure IP addressing on the local management host and on the controller modules. It contains the following sections:

- About IP Addressing

- Configuring the IP Address of the Controller Modules

##

About IP Addressing

Sun Storage 2500-M2 Arrays are managed out-of-band, by default, by way of a standard Ethernet connection between the controller modules and your management host.

Perform the following procedures to ensure that the local management host and the controllers have valid IP addresses:

- Configure IP addresses for the controller modules (see Configuring the IP Address of the Controller Modules).

- Configure an IP address for the management host (see the Sun Storage Common Array Manager Software Installation and Setup Guide).

##

Configuring the IP Address of the Controller Modules

- Dynamic Host Configuration Protocol (DHCP) IP addressing-IP addresses for the Ethernet port are assigned dynamically from a DHCP server running bootstrap protocol (BOOTP) services. An IP address assigned to an Ethernet port is held only as long as needed. By default, DHCP is enabled at initial power-on.

- Static IP Addressing-You assign a specific IP address to the Ethernet port of each controller. Static IP addresses remain in effect until you modify or remove them or you change the method of IP addressing for the Ethernet port to DHCP.

- By default, if the controllers cannot find a DHCP server upon initial power-on, an internal IP address is assigned to Ethernet port 1 of each controller:

- The Ethernet port of Controller A is assigned IP address 192.168.128.101

- The Ethernet port of Controller B is assigned IP address 192.168.128.102

- The default subnet mask for each port is 255.255.255.0

To configure the Ethernet port on a controller with either dynamic or static IP addressing, see one of the following sections:

- Configuring Dynamic (DHCP) IP Addressing

- Configuring Static IP Addressing

### Configuring Dynamic (DHCP) IP Addressing

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

If a DHCP server is not available, the controller tray defaults to internal static IP addresses as described in About IP Addressing.

If you want to set up a DHCP server, refer to Appendix C 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 three ways:

- Start a DHCP server on the same subnet, then reboot the array.

- Using the serial port interface (see Using the Serial Port Interface to Assign IP Addresses).

- Using Sun Storage Common Array Manager (see the Sun Storage Common Array Manager Installation and Setup Guide).

### Configuring Static IP Addressing

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

- The serial port interface (see Using the Serial Port Interface to Assign IP Addresses).

- Sun Storage Common Array Manager (see the Sun Storage Common Array Manager Installation and Setup Guide).

#### Using the Serial Port Interface to Assign IP Addresses

You can use the serial port interface on a controller to set the IP address for the Ethernet port on the controller.

To use the serial port interface to configure IP addressing for the Ethernet port of each controller, you must complete the tasks described in the following sections:

- Connecting a Terminal to the Serial Port

- Setting Up the Terminal Emulation Program

- Establishing a Connection With the Serial Port

- Configuring the IP Addresses6

### Connecting a Terminal to the Serial Port

You will establish a serial connection to each controller, Controller A and Controller B. One mini-DIN to RJ45 serial port cables are supplied with each controller tray.

1. Connect the 6-pin mini-DIN connector of the serial cable to the serial port on the controller.

2. Connect the RJ-45 connector of the serial cable to the serial port on the terminal. It may be necessary to use the RJ45-DB9 adapter between the serial cable RJ-45 connector and the serial port of the terminal.

3. For PC and laptop serial connections, you will also need to use a null modem. Connect the RJ45-DB9 null modem adapter between the serial cable RJ-45 connector and the PC serial port.

Note - If your PC does not have a serial port, you can use a USB-Serial Port adapter (separately available from third-party vendors; not included with the ship kits).

#### Serial Cable Pinouts

TABLE B-1 shows the pinouts for the RJ45-mini-DIN serial cable included with the ship kit.

TABLE B-1 RJ45 to mini-DIN Serial Cable Pinouts
RJ45 ----------> | PS2-miniDin
--- | ---
1 Tx | 6 Rx
2 |
3 Rx | 1 Rx
4,5,7 | 3, 5 GRD
6 Rx | 2 Tx
8 | 4

### Setting Up the Terminal Emulation Program

1. Select VT100 emulation.

2. Remove any modem strings from the connection profile.

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

- Data Rate: 38400

- Data Bits: 8

- Parity: None

- Stop Bits: 1

- Flow Control: None

### Establishing a Connection With the Serial Port

1. Send a Break. Repeat until text appears.

Note - The storage array serial port requires that the break character be received. Use the appropriate escape sequence for your terminal setup to send the required break character to the controller, For example, you generate the Break character on some terminals by pressing the Control and Break keys simultaneously.

The serial port responds with a request to synchronize 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 38400`

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.

`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 the Ethernet port on the controller.

To set up the IP address configuration for the Ethernet port 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`

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

3. 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 a gateway IP address on your subnet, you must also specify a gateway IP address for the Ethernet port. This option displays only if the serial interface detects a gateway.

`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>

4. When prompted, confirm the specified IP addressing.

The Service Interface menu is refreshed.

5. 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 IP address configuration of the Ethernet port is displayed, and the Service Interface menu displays again.

6. Press Q to quit the Service Interface menu.

7. Switch the serial cable to the serial port on the other controller and repeat these steps to set the IP address on that controller as well.

8. Power cycle the controllers off and on again to reset them with the new IP address.

When you have completed the IP address configuration for the Ethernet port on both controllers and power cycled them, see the Sun Storage Common Array Manager Installation and Setup Guid e for instructions on registering and configuring the array.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.