<font size=2 face="Lucida Console">Hello,</font>
<br>
<br><font size=2 face="Lucida Console">I was curious if you can define
multiple iscsi targets / iqn's in a kickstart?</font>
<br>
<br><font size=2 face="Lucida Console">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.</font>
<br>
<br><font size=2 face="Lucida Console">         
            ---- Portal A ----</font>
<br><font size=2 face="Lucida Console">         
           |        
         |</font>
<br><font size=2 face="Lucida Console">[bare metal client] -    
               - Shard Storage
(SAN)                    
               </font>
<br><font size=2 face="Lucida Console">         
           |        
         |</font>
<br><font size=2 face="Lucida Console">         
            ---- Portal B ----</font>
<br>
<br><font size=2 face="Lucida Console">Portal A</font>
<br><font size=2 face="Lucida Console">(10.10.10.10:3260,iqn.1970-01.com.example:netclient.rootdisk)</font>
<br>
<br><font size=2 face="Lucida Console">Portal B</font>
<br><font size=2 face="Lucida Console">(10.10.20.20:3260,iqn.1970-01.com.example:netclient.rootdisk)</font>
<br>
<br>
<br><font size=2 face="Lucida Console">Can I just go:</font>
<br>
<br><font size=2 face="Lucida Console">iscsiname iqn.1970-01.com.example.portal-a:netclient.rootdisk</font>
<br><font size=2 face="Lucida Console">iscsi --ipaddr=10.10.10.10 --port=3260</font>
<br><font size=2 face="Lucida Console">iscsiname iqn.1970-01.com.example.portal-b:netclient.rootdisk</font>
<br><font size=2 face="Lucida Console">iscsi --ipaddr=10.10.20.20 --port=3260</font>
<br>
<br><font size=2 face="Lucida Console">Then boot the machine with the mpath
option to detect the multi iscsi path for installation ?</font>
<br>
<br><font size=2 face="Lucida Console">I did some experimentation and determined
that you can pass dracut multiple netroot's so the disks are visible when
the kernel loads up.</font>
<br>
<br><font size=2 face="Lucida Console">Eg.</font>
<br>
<br><font size=2 face="Lucida Console">default=0</font>
<br><font size=2 face="Lucida Console">timeout=5</font>
<br><font size=2 face="Lucida Console">splashimage=(hd0,0)/grub/splash.xpm.gz</font>
<br><font size=2 face="Lucida Console">hiddenmenu</font>
<br><font size=2 face="Lucida Console">title Red Hat Enterprise Linux (2.6.32-131.0.15.el6.x86_64)</font>
<br><font size=2 face="Lucida Console">        root
(hd0,0)</font>
<br><font size=2 face="Lucida Console">        kernel
/vmlinuz-2.6.32-131.0.15.el6.x86_64 ro root=/dev/mapper/vg00-root_fs netroot=iscsi:neclient-root:iscsipw@10.10.10.10::3260::iqn.1970-01.lab.example.portal-a:netclient-0.root
iscs</font>
<br><font size=2 face="Lucida Console">i_initiator=iqn.1970-01.lab.example.portal-a:netclient-0.root
netroot=iscsi:neclient-root:iscsipw</font>
<br><font size=2 face="Lucida Console">@10.10.20.20::3260::iqn.1970-01.lab.example.portal-b:netclient-0.root
iscsi_initiator=iqn.1970-0</font>
<br><font size=2 face="Lucida Console">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</font>
<br><font size=2 face="Lucida Console">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-</font>
<br><font size=2 face="Lucida Console">sun16 KEYBOARDTYPE=pc KEYTABLE=us
crashkernel=auto vga=771</font>
<br><font size=2 face="Lucida Console">        initrd
/initramfs-2.6.32-131.0.15.el6.x86_64.img</font>
<br>
<br>
<br><font size=2 face="sans-serif">Cheers,</font>
<br><font size=2 face="sans-serif">--</font>
<br><img src=cid:_2_08081F7408081D34005031F0852578F8>
<br><font size=2 face="sans-serif"><b>Greg Procunier</b></font>
<br><font size=2 face="sans-serif"><i>UNIX Administrator III - Enterprise
Servers and Storage</i></font>
<br><font size=1 face="sans-serif">1 Robert Speck Parkway, Suite 400, Mississauga,
Ontario L4Z 4E7</font>
<br><font size=1 face="sans-serif">Office: 416-673-3320 </font>
<br><font size=1 face="sans-serif">Mobile: 647-895-2977</font>
<br><font size=1 face="sans-serif">Email: gprocunier@symcor.com</font>