From: Mark H. <hla...@at...> - 2007-10-22 14:49:59
|
On Monday 22 October 2007 09:48:32 go...@bo... wrote: > I'm in a position where I have to move my GFS volume from one SAN to > another, on a different IP block. > > If my IP for the SAN and cluster operation is assigned by DHCP, do I have > to specify it in cluster.conf anyway? Or is specifying the MAC address > sufficient? Or do I specify something like "dhcp" as the IP address? Yes, it should be possible to use dhcp by adding this: <eth name="eth0" ip="dhcp" mac="yourmacaddress" /> Please note, that defining a mac address is mandatory, because it defines the node in the cluster. > > If the cluster doesn't come up normally and I'm stuck in the initrd boot > image, is there a documented list of procedures on how to get from there > to mounting the GFS root volume in the right place sufficiently (i.e. > including the host speciffic files, such as /etc/modprobe.conf) to re-make > the initrd? You need to do the following steps: 1. mount your rootfs to /mnt/newroot if the cluster software fails to start, use the lockproto=lock_nolock option to mount the fs. But make sure it's the only node mounting the filesystem ;-) ) # mount -t gfs -o lockproto=lock_nolock /dev/foo /mnt/newroot 2. mount --bind /dev /mnt/newroot/dev 3. mount -t proc proc /mnt/newroot/proc 4. mount -t sysfs none /mnt/newroot/sys 5. mount --bind /mnt/newroot/cluster/cdsl/<nodeid> /mnt/newroot/cdsl.local 6. chroot /mnt/newroot 7. you can make your changes and build new initrd in the chroot Hope that helps, Mark -- Gruss / Regards, Dipl.-Ing. Mark Hlawatschek http://www.atix.de/ http://www.open-sharedroot.org/ ** ATIX Informationstechnologie und Consulting AG Einsteinstr. 10 85716 Unterschleissheim Deutschland/Germany |