PXE boot and root filesystem via iSCSI on SLES 11

carlopmart <[email protected]>
Newsgroups gmane.linux.suse.oracle.general
Message-ID <[email protected]>
Hi all,

  I am trying to boot a SLES 11 server from iSCSI storage using a PXE 
boot server without luck. To accomplish this I followed this guide (used 
for SLES10): 
http://www.novell.com/communities/node/7034/pxe-booting-nfs-or-iscsi-roots-diskless-environment.

  I think my problem is with default gateway. This SLES 11 server has 
two ethernet nics: one attached to iSCSI storage and another attached to 
my internal lan. Ok, first installation phase goes well, I can partition 
disk, install grub, select software, etc. But when server reboots to 
initiate second installation phase, start process stops sometimes on 
"Starting udev:", sometimes when "logging to console" ...It's completely 
random.

  But, second installation phase becomes possible when I put as default 
gateway an IP from iSCSI network ... Obviously, I need default gateway 
configured on nic attached to my internal network, but it doesn't works.

  I know that this scenario isn't supported by Novell, but I need to 
install this server on a iSCSI lun and boot from it. And another point: 
this server is installed under a VMWare ESXi 4 server.

  Can somebody helps me?

More info: (all IPs that appears are from iSCSI network)

a) PXE server configuration:

# SuSE Enterprise Linux 11 Server Installation
#label sles11
#  kernel sles11-x86_64/linux
#  append initrd=sles11-x86_64/initrd-install 
ip=172.26.60.4:172.26.60.5:0.0.0.0:255.255.255.248:iscsicli03:eth0:none 
vga=normal showopts ramdisk_size=65536 
install=http://172.25.50.18/install usessh=1
sshpassword=joder1234 TargetAddress=172.26.60.1 withiscsi=1

# SuSE Enterprise Linux 11 Server
label sles11
   kernel sles11-x86_64/vmlinuz
   append initrd=sles11-x86_64/initrd 
ip=172.26.60.4:172.26.60.5:0.0.0.0:255.255.255.248:iscsicli03:eth0:none 
vga=normal showopts TargetAddress=172.26.60.1 
root=/dev/disk/by-id/scsi-149455400000000000000
0000020000000100000002000000-part2 
resume=/dev/disk/by-id/scsi-1494554000000000000000000020000000100000002000000-part1 
splash=silent

implicit        0
display         message
prompt          1
timeout         100


b) My dhcpd.conf

ddns-updates off;
ddns-update-style none;
ignore client-updates;

subnet 172.26.60.0 netmask 255.255.255.248 {
         range dynamic-bootp             172.26.60.4;
         option routers                  172.26.60.5;
         option subnet-mask              255.255.255.248;
#       option domain-name              "virt.hpulabs.org";
#       option domain-name-servers      172.26.50.14;
         default-lease-time              21600;
         max-lease-time                  43200;
         next-server                     172.26.60.6;
         filename                        "pxelinux.0";
}

host iscsicli03 {
         hardware ethernet 00:16:3e:ca:2d:f4;
         fixed-address 172.26.60.4;

-- 
CL Martinez
carlopmart {at} gmail {d0t} com
_______________________________________________
suse-sles-e mailing list
[email protected]
http://listx.novell.com/mailman/listinfo/suse-sles-e
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.