Académique Documents
Professionnel Documents
Culture Documents
Support Document
Best Practices
Best Practices - AIX Configuration
Legal Notices
Warranty The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice. Restricted Rights Legend Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Copyright Notices Copyright 2009 Hewlett-Packard Development Company, L.P.
Esc+9=Shell Esc+0=Exit
________________________________________________________________________ Make sure you have 'Configure iSCSI Protocol Device' highlighted and press enter. The system will respond with: Configure iSCSI Protocol Device Move cursor to desired item and press Enter. Change / Show Characteristics of an iSCSI Protocol Device Generate Error Report
Trace iSCSI Protocol Device F1=Help Esc+9=Shell F2=Refresh Esc+0=Exit F3=Cancel Enter=Do Esc+8=Image
Make sure that 'Change / Show Characteristics of an iSCSI Protocol Device' is highlighted and press enter. The system will respond with: Change / Show Characteristics of iSCSI Protocol Device Type or select values in entry fields. Press Enter AFTER making all desired changes.
[Entry Fields] iSCSI protocol device Description Status iSCSI Initiator Name Maximum number of commands to queue to driver Discovery Policy Maximum Targets Allowed Apply change to DATABASE only iscsi0 iSCSI Protocol Device Available [iqn.ibm01.aix52.7f010> [200] files [16] yes +# + +# +
F4=List Esc+8=Image
You may enter an alternate iSCSI Initiator Name, once you are done making changes, press 'Enter' to commit and then exit 'smit'. Note: If an alternate iSCSI Initiator Name is entered, remember to use this updated name when creating the Server in SAN/iQ Edit the /etc/iscsi/targets file and add an entry for the storage cluster. The entry will look like this: 10.160.32.30 3260 iscsi
Confirm that the system can access the iLUNS (LeftHand iSCSI targets). Issue the following command: cfgmgr l iscsi0 The system will not return anything if everything is working. Next, issue the following command: lsdev C c disk If the iLUNs are available, the output will look like this: hdisk0 Available hdisk1 Available hdisk2 Available hdisk3 Available hdisk4 Available hdisk5 Available hdisk6 Available hdisk7 Available hdisk8 Available hdisk9 Available hdisk10 Available hdisk11 Available 10-60-00-8,0 16 Bit SCSI Disk Drive 10-60-00-9,0 16 Bit SCSI Disk Drive 10-88-00-8,0 16 Bit SCSI Disk Drive 10-88-00-9,0 16 Bit SCSI Disk Drive Other iSCSI Disk Drive Other iSCSI Disk Drive Other iSCSI Disk Drive Other iSCSI Disk Drive Other iSCSI Disk Drive Other iSCSI Disk Drive Other iSCSI Disk Drive Other iSCSI Disk Drive
Determine which hdisk represents which iSCSI volume on the LeftHand SAN. In order to match the hdisk with the LeftHand volume, issue the following command against each hdisk instance: lsattr -El <hdisk>
Where host_addr is the VIP of the SAN/iQ Cluster and target_name is the target iqn of the SAN/iQ volume. Once the volume and hdisk association has been determined, proceed to either utilizing the raw volume or using Logical Volume Manager (LVM) to create logical volumes and filesystems.
Tune network options and interface parameters for maximum iSCSI I/O throughput on the AIX system Enable the RFC 1323 network option. Set up the tcp_sendspace, tcp_recvspace, sb_max, and mtu_size network options and network interface options to appropriate values. The iSCSI Software Initiator's maximum transfer size is 256KB. Assuming that the system maximums for tcp_sendspace and tcp_recvspace are set to 262144 bytes, an ifconfig command used to configure a gigabit Ethernet interface might look like the following: ifconfig en2 10.1.2.216 mtu 9000 tcp_sendspace 262144 tcp_recvspace 262144
Set the sb_max network option to at least 524288, and preferably 1048576. Set the mtu_size to 9000 (Remember to set this on the storage modules as well)
Note: For information on setting network options, see the no command description in AIX 5L Version 5.3 Commands Reference, Volume 4.