A P P E N D I X  H

Configuring an IBM Server Running the AIX Operating System

This appendix provides platform-specific host installation and configuration information to use when you connect a Sun StorEdge 3510 FC array or Sun StorEdge 3511 SATA array to an IBM server running the AIX operating system.

The Sun StorEdge 3510 FC array and Sun StorEdge 3511 SATA array support versions 4.3.3 and 5.1L of the IBM AIX operating system in dual-path configurations using Sun StorEdge Traffic Manager 3.0 failover drivers for IBM AIX.

Refer to the Sun StorEdge Traffic Manager 3.0 Installation and User's Guide for the IBM AIX Operating System for detailed instructions about setting up the device driver on the server and for additional information about configuring your IBM server.

Customers interested in Sun StorEdge Traffic Manager 3.0 for multiplatform support should contact Sun Sales or visit:

http://www.sun.com/sales

For more information about multiplatform support, refer to:

http://www.sun.com/storage/san/multiplatform_support.html

The information in this appendix covers the following steps:


H.1 Setting Up a Serial Port Connection

The RAID controller can be configured by means of a host system running a VT100 terminal emulation program or by a Microsoft Windows terminal emulation program such as HyperTerminal.

If you are planning to access your array over an IP network or through a terminal server and only want to connect through a serial port for the initial configuration of the array, it is not necessary to configure a serial port connection from your IBM host. For convenience, installers frequently perform the initial array configuration using a serial port on a portable computer.

If you want to use a Microsoft Windows portable computer for this initial array configuration, see Section F.1, Setting Up the Serial Port Connection for Windows 2000 systems.

If you prefer to connect through a serial port on your IBM server, consult the hardware information for your IBM host system to locate a serial port you can use for configuring the array. The system documentation also tells you what device file to use to access that port. Then set the serial port parameters on the server. See Section 4.9.2, Configuring the RS-232 Serial Port Connection for the parameters to use.



Note - The next section also shows how to use the Kermit utility to set these parameters.




H.2 Accessing the Firmware Application From an IBM Server Running AIX

The RAID controller can be configured from the host system by means of terminal emulators such as Kermit.



Note - You can also monitor and configure a RAID array over an IP network with Sun StorEdge Configuration Service after you assign an IP address to the array. For details, see Section 4.10, Setting Up Out-of-Band Management Over Ethernet and refer to the Sun StorEdge 3000 Family Configuration Service User's Guide.



To access the controller firmware through the serial port, perform the following steps:

1. Connect the serial null modem cable to the disk array and to the serial port on the IBM server.



Note - A DB9-to-DB25 serial cable adapter is shipped with the disk array for connecting the serial cable to a DB25 serial port on your host if you do not have a DB9 serial port.



  FIGURE H-1 RAID Array COM Port Connected Locally to the Serial Port of a Host System

Figure showing RAID array COM port connected locally to the COM port of a workstation or computer terminal.

2. Power on the array.

3. After the array is powered up, power on the IBM server and log in as root, or become superuser if you are currently logged in as a user.

4. Start the Kermit program and set the parameters as shown.

Use the device-specific name for the serial port you are using. In the example, the serial port being configured is /dev/tty0p1.

# kermit
Executing /usr/share/lib/kermit/ckermit.ini for UNIX...
Good Morning!
C-Kermit 7.0.197, 8 Feb 2000, for HP-UX 11.00
 Copyright (C) 1985, 2000,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/) C-Kermit>set line /dev/tty0p1
(/) C-Kermit>set baud 38400
/dev/tty0p1, 38400 bps
(/) C-Kermit>set term byte 8
(/) C-Kermit>set carrier-watch off
(/) C-Kermit>C
Connecting to /dev/tty0p1, speed 38400.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------



Note - To return to the Kermit prompt type Ctrl \ and then C. To exit Kermit, first return to the Kermit prompt and then type exit.




H.3 Identifying the Device on Which You Will Create a Logical Volume

1. Display all the defined disk devices on your system.

# lsdev -Cc disk

A list of defined disk devices is displayed along with information about those devices.

2. Identify the name of the device on which you want to create a logical volume, for example, hdisk7.

3. Verify that the disk you've identified is the one you want.

# lscfg -v -l device-name

Detailed information about the device you specified is displayed.

4. Examine the manufacturer information and model information to make sure you have specified the device you want.


H.4 Using SMIT to Enable an AIX Host to Recognize New LUNs

The simplest way to configure your IBM AIX host to use your array is to use the System Management Interface Tool (SMIT). SMIT can be used with a graphical user interface (GUI) if your host is configured with a graphics card or if you want to export your display to an X-Windows terminal. SMIT can also be used with an ASCII interface that can be accessed through an ASCII terminal or console window on another system on the network. Because the ASCII interface is available on all systems, it is used as an example in the remainder of this appendix, but either interface can be used to perform the procedures described here. In addition, the same operations can be performed directly from the command line using standard AIX system administration commands.



Note - Use the Enter key when you have finished filling out a screen to advance to the next screen. Use the keystroke combinations shown on the screen to move back to previous screens.



1. Start SMIT using the ASCII interface to display the System Management screen.

# smit -a

2. Choose System Storage Management (Physical and Logical Storage) from the System Management menu.

3. Choose Logical Volume Manager from the System Storage Management menu.

The Logical Volume Manager menu is displayed on the Logical Volume Manager screen. You will be using menu options from this menu to create a volume group and then a logical volume within this volume group.

Logical Volume Manager
Volume Groups
Logical Volumes
Physical Volumes
Paging Space

Volume groups are a way of dividing and allocating disk storage capacity. Volume groups can be used to subdivide a large partition of storage into smaller units of usable space called logical volumes.

Each volume group is divided into logical volumes, which are seen by applications as individual disks. Logical volumes can contain their own file systems.

The underlying physical storage in a volume group consists of one or more physical volumes. A physical volume can be a single physical disk or a partition of a disk array. In this appendix, the physical volume is the disk device you identified in Section H.3, Identifying the Device on Which You Will Create a Logical Volume.


H.5 Creating a Volume Group

1. Choose Volume Group from the Logical Volume Manager menu.

2. Choose Add a Volume Group from the Volume Groups menu.

3. Type the name you want to give the volume group next to VOLUME GROUP name.

4. Next to PHYSICAL VOLUME name, type the name of the disk device you identified in Section H.3, Identifying the Device on Which You Will Create a Logical Volume.

An "ARE YOU SURE" confirmation screen is displayed.

5. Confirm this message to display a status screen.

When the volume group is created, a status screen displays "Command: OK."

6. Return to the Volume Groups screen to activate the new volume group.

7. Choose Activate a Volume Group from the Volume Groups menu.

8. Next to VOLUME GROUP name, type the name you gave the volume group.

When the volume group is activated, a status screen displays "Command: OK."


H.6 Creating a Logical Volume

1. Return to the Logical Volume Manager screen.

2. Choose Logical Volumes from the Logical Volume Manager menu to display the Logical Volumes screen.

3. Choose Add a Logical Volume from the Logical Volumes menu to display the Add a Logical Volume screen.

4. Type the name you gave the volume group next to VOLUME GROUP name.

The Add a Logical Volume screen is displayed.

5. Type the name you want to give the new logical volume next to LOGICAL VOLUME (new).

6. Type the number of partitions you want to create on the new logical volume next to Number of LOGICAL PARTITIONS.

7. Type the values you want to use for the other parameters on the Add a Logical Volume screen or accept the default values.

When the logical volume is created, a status screen displays "Command: OK" and displays the name of the new logical volume.


H.7 Creating a File System

The following steps create a file system on the new logical volume.

1. Return to the System Storage Management (Physical and Logical Storage) screen.

The System Storage Management screen is displayed.

2. Choose File Systems from the System Storage Management menu to display the File Systems screen.

3. Choose Add / Change / Show / Delete File Systems from the File Systems menu.

4. Choose Journaled File System to display the Journaled File System screen.

5. Choose Add a Journaled File System from the Journaled File System menu.

6. Choose Add a Standard Journaled File System to display the Volume Group Name screen.

The Volume Group Name screen displays the names of available volume groups.

7. Move the cursor to highlight the name of the volume group you created in Section H.5, Creating a Volume Group.

The Add a Standard Journaled File System screen is displayed.

8. Specify the size of the file system you want to create by typing the number of blocks you want next to SIZE of file system (in 512-byte blocks).

9. Next to MOUNT POINT, type the directory name (and path, if desired) on which you want to mount the new file system.



Note - If the mount point directory does not exist, it is created.



When the file system is created, a status screen displays "Command: OK," the Journaled File System, the mount point, and the size of the file system.


H.8 Mounting the New File System

1. Return to the File Systems screen.

2. Choose List All File Systems from the File Systems menu to see the names of all file systems.

3. Identify the name of the file system you created in the Name column, for example, ldev/lv00.

4. Choose Mount a File System from the File Systems menu to display the Mount a File System screen.

5. Type the name of the file system you identified in Step 3 next to FILE SYSTEM name.

6. Type the name of the mount point you specified next to DIRECTORY over which to mount.

When the file system is mounted, a status screen displays "Command: OK."

7. Exit SMIT.


H.9 Verifying That the New File System Is Mounted

1. Use the mount command to verify that the logical volume is mounted correctly.

# mount

The mounted file systems and directories are displayed.

2. Examine the list to make sure your new file system is mounted at the mount point you specified.

3. Display the attributes of the new file system.

# df -k mount-point


H.10 Determining the Worldwide Name for IBM Servers Running AIX

Before you can create host filters, you need to know the worldwide name (WWN) for the FC HBA that connects your host to your FC array.

For supported IBM HBAs, perform these steps:

1. Determine the device name by typing the command:

# lscfg | grep fc

2. Type the following command:

# lscfg -vl device-name

Output similar to the following is displayed. The network address is the WWN.

  FIGURE H-2 Network Address Corresponding to WWN

Screen capture displaying the network address that corresponds to the worldwide name (WWN).