Multiple iSCSI targets during kickstart for root multipath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@xxxxxxxxxx

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.
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux