Multiple iSCSI targets during kickstart for root multipath
GProcunier at symcor.com
GProcunier at symcor.com
Fri Aug 26 14:36:27 UTC 2011
Hello,
I was curious if you can define multiple iscsi targets / iqn's in a
kickstart?
I have two iSCSI target portals with clustered access to a hosts root disk
for HA and would like to have the installer see both iqn's and
setup/install on the multipath abstraction.
---- Portal A ----
| |
[bare metal client] - - Shard Storage (SAN)
| |
---- Portal B ----
Portal A
(10.10.10.10:3260,iqn.1970-01.com.example:netclient.rootdisk)
Portal B
(10.10.20.20:3260,iqn.1970-01.com.example:netclient.rootdisk)
Can I just go:
iscsiname iqn.1970-01.com.example.portal-a:netclient.rootdisk
iscsi --ipaddr=10.10.10.10 --port=3260
iscsiname iqn.1970-01.com.example.portal-b:netclient.rootdisk
iscsi --ipaddr=10.10.20.20 --port=3260
Then boot the machine with the mpath option to detect the multi iscsi path
for installation ?
I did some experimentation and determined that you can pass dracut
multiple netroot's so the disks are visible when the kernel loads up.
Eg.
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-131.0.15.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-131.0.15.el6.x86_64 ro
root=/dev/mapper/vg00-root_fs
netroot=iscsi:neclient-root:iscsipw at 10.10.10.10::3260::iqn.1970-01.lab.example.portal-a:netclient-0.root
iscs
i_initiator=iqn.1970-01.lab.example.portal-a:netclient-0.root
netroot=iscsi:neclient-root:iscsipw
@10.10.20.20::3260::iqn.1970-01.lab.example.portal-b:netclient-0.root
iscsi_initiator=iqn.1970-0
1.lab.example.portal-b:netclient-0.root
ip=10.125.71.249::10.125.71.34:255.255.255.0:test-template:eth0:none ifnam
e=eth0:00:1a:4a:7d:47:02 rd_LVM_LV=vg00/root_fs rd_NO_LUKS rd_NO_MD
rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-
sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto vga=771
initrd /initramfs-2.6.32-131.0.15.el6.x86_64.img
Cheers,
--
Greg Procunier
UNIX Administrator III - Enterprise Servers and Storage
1 Robert Speck Parkway, Suite 400, Mississauga, Ontario L4Z 4E7
Office: 416-673-3320
Mobile: 647-895-2977
Email: gprocunier at symcor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20110826/0029b698/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3258 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20110826/0029b698/attachment.jpe>
-------------- next part --------------
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.
AVERTISSEMENT RELATIF ? LA CONFIDENTIALIT?
Ce message, ainsi que les pi?ces qui y sont jointes, est destin? ? l?usage exclusif de la personne ? laquelle il s?adresse et peut contenir de l?information personnelle ou confidentielle. Si le lecteur de ce message n?en est pas le destinataire, nous l?avisons par la pr?sente que toute diffusion, distribution, reproduction ou utilisation de son contenu est strictement interdite. Veuillez avertir sur-le-champ l?exp?diteur par retour de courrier ?lectronique et supprimez ce message ainsi que toutes les pi?ces jointes.
More information about the Kickstart-list
mailing list