You are on page 1of 21

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.

Installation of the iSCSI Initiator 1. The Linux iSCSI initiator and all appropriate patches are installed
 
  • 2. Using VI, open the file / etc / iscsi.conf for editing.

Installation of the iSCSI Initiator 1. The Linux iSCSI initiator and all appropriate patches are installed
3.
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
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 192.168.1.5, enter:

# iscsiadm -m discovery -t sendtargets -p 192.168.1.5 # /etc/init.d/iscsi restart

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.

Installation of MDSM 1. Configure the NIC ports on the server to maintain the same IP
Installation of MDSM
1.
Configure the NIC ports on the server to maintain the same IP address on reboot. Edit the settings with vi.
2.
The edited file will resemble the following screenshot.
3.
Perform the following steps to verify configuration.
Installation of MDSM 4. Insert the MD3000i Resource CD and run the install.sh script from the
Installation of MDSM
4.
Insert the MD3000i Resource CD and run the install.sh script from the Linux folder.
5.
Choose option 4 - Install MD3000i Documentation and select the location for installation.
Installation of MDSM 6. Return to the main menu and choose option 2 - Install MD3000i
Installation of MDSM
6.
Return to the main menu and choose option 2 - Install MD3000i Storage Manager.
7.
The installer will launch the GUI.
Installation of MDSM 8. Choose the language and click OK. 9. Click Next.
Installation of MDSM
8.
Choose the language and click OK.
9.
Click Next.
Installation of MDSM 10. Accept the license agreement and click Next. 11. Choose the installation directory
Installation of MDSM
10.
Accept the license agreement and click Next.
11.
Choose the installation directory and click Next.
Installation of MDSM

Installation of MDSM

 
Installation of MDSM 12. Select Typical (Full Installation) and click Next . 13. A warning message

12.

Select Typical (Full Installation) and click Next.

Installation of MDSM 12. Select Typical (Full Installation) and click Next . 13. A warning message
13.
13.

A warning message will appear instructing the user to install the RDAC for multipath support. With this release the RDAC is no a DKMS package. It will be installed using option 3 from the install script

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

Installation of MDSM

 
Installation of MDSM 16. Click Done . Do not install the multi-path driver at this time.

16.

Click Done. Do not install the multi-path driver at this time. MPP will be installed later in this procedure.

Installation of MDSM 16. Click Done . Do not install the multi-path driver at this time.

17.

17. NOTE:

NOTE:

The array will default to requesting DHCP-assigned IP addresses for the management ports on the controllers. If the dynamically assigned addresses are not in the same subnet with the management host, the discovery process will not find the array. The discovery of arrays is only on the host's subnet through port 2463. If a DHCP response is not

 

acknowledged, the controllers will default to 192.168.128.101 for controller 0, and 192.168.128.102 for controller 1. Once

Installation of MDSM

Installation of MDSM

 

the units have had IP addresses manually set, the units will no longer request dynamic IP assignment and will continue to operate at the manually set addresses. If these set addresses are not known, the IP addresses of the controllers will need to be retrieved with the password reset cable. If the host is remotely connecting to the array, then a default gateway will be needed. If one is not present when this command is run, then the array should be directly connected to the host and set on the same subnet as the storage to proceed with setu The IP addresses can then be changed to suit the installation, and then the host can be connected remotely. Using the same parameters for Hyperterminal that are used for password reset, issue the following command at the shell interface.

-> netCfgShow

The response will appear with the following structure:

Installation of MDSM the units have had IP addresses manually set, the units will no longer

18.

Launch the MDSM GUI. A window should immediately appear asking the user to choose between Automatic discovery or Manual.

Installation of MDSM the units have had IP addresses manually set, the units will no longer
19.
19.

If the array is on the same subnet as the host, you may select the option button for Automatic and click OK. In this scenario,

Installation of MDSM

Installation of MDSM

   

we will choose Manual.

Installation of MDSM we will choose Manual . 20. Select Out-of-band management , and enter the

20.

Select Out-of-band management, and enter the IP addresses of the RAID Controllers' management ports. In-band storage management is not enabled until an iSCSI session is set up and operating. Click Add.

NOTE:

NOTE:

After discovery, it is recommended that you reconfigure the out-of-band management IP addresses of the RAID controllers to be on your management network. After changing them, you will need to rediscover the array at the new IP addresses.

21.

Click No.

Installation of MDSM we will choose Manual . 20. Select Out-of-band management , and enter the
22.
22.

On the iSCSI tab in MDSM, click on Configure iSCSI Host Ports.

Installation of MDSM 23. Select each port on the raid controllers and enter the appropriate IP
Installation of MDSM
23.
Select each port on the raid controllers and enter the appropriate IP address for each to match the configuration set in the
iscsi.conf file. Select Enable ICMP PING responses for testing. It may be turned off later if desired. Click OK when complete
Installation of MDSM 24. Start the iSCSI service at the command line with the command service
Installation of MDSM
24.
Start the iSCSI service at the command line with the command service iscsi start.
25.
Restart the MDSM agent at the command line. Make sure to wait a few seconds for the start to complete. It should look similar
to the screenshot below.
Installation of MDSM 26. Verify the iSCSI connections have been established using the command iscsi-ls.
Installation of MDSM
26.
Verify the iSCSI connections have been established using the command iscsi-ls.
Installation of MDSM 27. On the Configure tab in MDSM, select Configure Host Access (Automatic) 28.
Installation of MDSM
27.
On the Configure tab in MDSM, select Configure Host Access (Automatic)
28.
Select the host name and move it to the right. Click ok to complete
Installation of MDSM 29. Install the RDAC software. Ensure the kernel-devel / kernel-smp-devel package is installed
Installation of MDSM
29.
Install the RDAC software. Ensure the kernel-devel / kernel-smp-devel package is installed - rpm -qa | grep kernel Insert th
MD3000i resource cd and run the install.sh script from the linux folder.
30.
Choose option 3 - Install Multi-pathing driver. This will install the following packages:
dkms-2.0.16-1 (This is not installed if it or a later version of DKMS is already present)
iscsi_sfnet
linuxrdac-99.01.B6.65-dkms
Installation of MDSM 31. The dkms install of the RDAC driver installs the drivers, makes a
Installation of MDSM
31.
The dkms install of the RDAC driver installs the drivers, makes a new initrd, and modifies the grub.conf file to boot to the MP
kernel. Here is an example grub.conf after the RDAC is installed.
Installation of MDSM Reboot the host. To test the installation, configure two Virtual Disks in MDSM

Installation of MDSM

Installation of MDSM Reboot the host. To test the installation, configure two Virtual Disks in MDSM

Reboot the host.

Installation of MDSM Reboot the host. To test the installation, configure two Virtual Disks in MDSM

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

Installation of MDSM
Installation of MDSM

PRESENTING LUNS

CREAR PARTICION

close this window

Type fdisk -l to display the partitions. Type fdisk /dev/sdb to start the partition process for the first LUN.

Type n to start creating a new partition. Choose p for a primary. Choose the partition number, the first cylinder and the last cylinder. Type w to write the partition.

CREAR FILE SYSTEM

Type mke2fs -j /dev/sdb1 to create the filesystem. ó 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

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