Article Summary: |
how to configure multipathing on Red Hat Enterprise Linux 5 Linux iSCSI booted personas. |
Table of Contents:
- Additional Information
- Configure Multipathing
Issue 1. |
Additional Information |
The AIM documentation is not clear on how to configure iSCSI booted Red Hat Enterprise Linux 5 personas in a multipath environment.
The format for the boot device is supplied but there is no information on how to pass the iSCSI volume SCSI ID to the ramdisk during the boot process. There is no information on how to create additional iSCSI sessions that will be used by the device mapper.
The following procedure will be incorporated into the core AIM documentation..
Issue 2. |
Configure Multipathing |
To configure multipathing, perform the following steps:
- Install Red Hat Enterprise Linux 5 on a server’s local disk
- Install the AIM persona agent
- Prevent the AIM service from running at boot time
- Create a volume on the iSCSI target and provide access to the desired iSCSI initiator
- Configure the iSCSI initiator on the Linux image
- Discover the iSCSI target and login to the iSCSI volume
- Verify that the iSCSI volume is visible
- Migrate the Linux image from local disk to an iSCSI volume with copy_persona.sh in the standard fashion
- Generate the ramdisk and copy it to the controller along with the kernel (only required if this is the initial persona using this kernel revision)
- Mount the iSCSI volume
- Get the SCSI ID of the iSCSI volume
- Update /etc/fstab with the multipath device
- Add the persona to the AIM environment
- Shut down the source image
- Boot the persona on a targeted server
- Start the persona agent and configure it to start automatically
- Verify that the multipath device is in use
- Add an iSCSI interface for both boot interfaces on the persona
- Re-discover the iSCSI portal
- Create additional iSCSI sessions
- List the iSCSI sessions
- Configure /etc/rc.local for running multipath which scans for available paths
- Reboot the persona
- Confirm that multiple paths are now in use for the boot LUN
- Boot the persona from both boot NICs and confirm that multiple sessions are available
A detailed procedure is attached.