RHEL Hosts

Installation of the Red Hat Enterprise Linux (RHEL) iSCSI Initiator and the Modular Disk Storage Manager Software
This procedure shows the steps necessary to install the RHEL iSCSI Initiator software and the Modular Disk Storage Management (MDSM) software and discover the storage array.

Installation of the iSCSI Initiator
Complete the following steps to install the iSCSI Initiator software.

Installation of the iSCSI Initiator
1. The Linux iSCSI initiator and all appropriate patches are installed using the MD3000i Resource CD. Red Hat and Novell have not picked up necessary changes to the initiator that Dell has provided in the version distributed on the Resource CD. Insert the CD and follow the on-screen instructions to install. Rename the file /etc/iscsi.conf to /etc/iscsi.conf.old. Then copy the file iscsi.conf_RHEL4u4 from the MD3000i resource cd to /etc/iscsi.conf.

2. Using VI, open the file / etc / iscsi.conf for editing.

3. Enter the IP addresses of the MD3000i RAID Controller ports as the DiscoveryAddress.

Installation of the iSCSI Initiator

4. Start the iSCSI service, with service iscsi start.

5. Set the iSCSI service to startup automatically on boot. Also, verify that it will start in run levels 3 and 5.

Step # 2: Discover targets
Now use iscsiadm command, which is a command-line tool allowing discovery and login to iSCSI targets, as well as access and management of the open-iscsi database. If your storage server IP address is, enter:
# iscsiadm -m discovery -t sendtargets -p # /etc/init.d/iscsi restart

. Installation of MDSM 1. Edit the settings with vi.Installation and Configuration of MDSM on a Red Hat Linux Host Complete the following steps to install and configure MDSM on a Red Hat Linux Host. The edited file will resemble the following screenshot. 3. Perform the following steps to verify configuration. Configure the NIC ports on the server to maintain the same IP address on reboot. 2.

sh script from the Linux folder. 5.Installation of MDSM 4. Choose option 4 . Insert the MD3000i Resource CD and run the install. .Install MD3000i Documentation and select the location for installation.

Install MD3000i Storage Manager.Installation of MDSM 6. The installer will launch the GUI. 7. Return to the main menu and choose option 2 . .

Installation of MDSM 8. 9. Click Next. . Choose the language and click OK.

11.Installation of MDSM 10. Choose the installation directory and click Next. Accept the license agreement and click Next. .

Select Typical (Full Installation) and click Next. A warning message will appear instructing the user to install the RDAC for multipath support. 13. It will be installed using option 3 from the install script .Installation of MDSM 12. With this release the RDAC is no a DKMS package.

15.Installation of MDSM 14. Installation continues. Click Install. .

the controllers will default to 192.168. NOTE: The array will default to requesting DHCP-assigned IP addresses for the management ports on the controllers. the discovery process will not find the array. and 192.128. The discovery of arrays is only on the host's subnet through port 2463.168. Click Done. MPP will be installed later in this procedure.Installation of MDSM 16. If the dynamically assigned addresses are not in the same subnet with the management host.102 for controller 1. If a DHCP response is not acknowledged.128.101 for controller 0. 17. Do not install the multi-path driver at this time. Once .

and then the host can be connected remotely. then the array should be directly connected to the host and set on the same subnet as the storage to proceed with setup The IP addresses can then be changed to suit the installation. If one is not present when this command is run. If the array is on the same subnet as the host. Launch the MDSM GUI. If these set addresses are not known. 19. A window should immediately appear asking the user to choose between Automatic discovery or Manual. . If the host is remotely connecting to the array. the units will no longer request dynamic IP assignment and will continue to operate at the manually set addresses. then a default gateway will be needed. -> netCfgShow The response will appear with the following structure: 18. In this scenario. the IP addresses of the controllers will need to be retrieved with the password reset cable. you may select the option button for Automatic and click OK. issue the following command at the shell interface.Installation of MDSM the units have had IP addresses manually set. Using the same parameters for Hyperterminal that are used for password reset.

you will need to rediscover the array at the new IP addresses. it is recommended that you reconfigure the out-of-band management IP addresses of the RAID controllers to be on your management network. click on Configure iSCSI Host Ports. On the iSCSI tab in MDSM. Click No. After changing them. and enter the IP addresses of the RAID Controllers' management ports. 22. 20. . Click Add.Installation of MDSM we will choose Manual. Select Out-of-band management. In-band storage management is not enabled until an iSCSI session is set up and operating. 21. NOTE: After discovery.

Select Enable ICMP PING responses for testing. Click OK when complete . Select each port on the raid controllers and enter the appropriate IP address for each to match the configuration set in the iscsi. It may be turned off later if desired.conf file.Installation of MDSM 23.

Restart the MDSM agent at the command line. Make sure to wait a few seconds for the start to complete. 25. . It should look similar to the screenshot below.Installation of MDSM 24. Start the iSCSI service at the command line with the command service iscsi start.

Installation of MDSM 26. . Verify the iSCSI connections have been established using the command iscsi-ls.

Installation of MDSM 27. Click ok to complete . Select the host name and move it to the right. select Configure Host Access (Automatic) 28. On the Configure tab in MDSM.

Install the RDAC software.01.16-1 (This is not installed if it or a later version of DKMS is already present) iscsi_sfnet linuxrdac-99. 30.rpm -qa | grep kernel Insert the MD3000i resource cd and run the install.Install Multi-pathing driver.B6.sh script from the linux folder. This will install the following packages: • • • dkms-2.Installation of MDSM 29.65-dkms . Choose option 3 . Ensure the kernel-devel / kernel-smp-devel package is installed .0.

Here is an example grub. and modifies the grub.conf file to boot to the MPP kernel. .conf after the RDAC is installed.Installation of MDSM 31. makes a new initrd. The dkms install of the RDAC driver installs the drivers.

Verify the LUNs are seen on one path using the SMdevices command. 33. Reboot the host. Use the hot_add utility to rescan for new devices.Installation of MDSM 32. configure two Virtual Disks in MDSM and map them to the host. To test the installation. .

Type fdisk /dev/sdb to start the partition process for the first LUN. CREAR FILE SYSTEM Type mke2fs -j /dev/sdb1 to create the filesystem. Choose p for a primary. ó mkfs -ext3 /dev/sdb1 MONTAR EL FILE SYSTEM Create a directory for the partition to be mounted to: mkdir /mnt/lun1 Mount the partition to the folder: mount -t ext3 /dev/SDB11 /mnt/lun1 MONTAR EL FILE SYSTEM EN ARRANQUE . Choose the partition number. Type w to write the partition.Installation of MDSM close this window PRESENTING LUNS CREAR PARTICION Type fdisk -l to display the partitions. the first cylinder and the last cylinder. Type n to start creating a new partition.

.Edit the /etc/ fstab and add persistent mounts for your LUNs.

Sign up to vote on this title
UsefulNot useful