From: Stefano E. <ste...@so...> - 2009-02-23 14:17:50
|
Hi, now I'm trying to create a cluster with OCFS2 but there are problems when have to mount the new Shared-Root. Unlike the guide, I left the original grub but I have changed it so that the new Shared-Root is the OCFS2 volume. The server is able to mount the image initrd_sr-2.6.18-92.1.22.el5PAE.img (created as written on the guide), but then fails to validate the cluster.conf, seems that it is unable to find information about hardware of the server and therefore can not validate that written in file config.conf. It isn't able to find the hostname, the mac-address of network card and so on !!!! hostname clu01 cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet DEVICE=eth0 BOOTPROTO=static HWADDR=00:15:60:56:75:FD IPADDR=10.43.100.203 NETMASK=255.255.0.0 ONBOOT=yes The packeges installed: rpm -qa | grep comoonics SysVinit-comoonics-2.86-14.atix.1 comoonics-cluster-py-0.1-16 comoonics-bootimage-extras-ocfs2-0.1-2 comoonics-cs-py-0.1-56 comoonics-bootimage-1.4-1 comoonics-bootimage-fenceacksv-0.3-2 comoonics-pythonosfix-py-0.1-2 comoonics-bootimage-initscripts-1.4-1.rhel5 comoonics-bootimage-listfiles-all-0.1-4 comoonics-cdsl-py-0.2-11 My grub: default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-92.1.22.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.22.el5PAE ro root=/dev/sda initrd /initrd_sr-2.6.18-92.1.22.el5PAE.img fstab file: cat /mnt/newroot/etc/fstab LABEL=/dev/sda / ocfs2 defaults 0 0 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 LABEL=SW-cciss/c0d0p2 swap swap defaults 0 0 cluser.conf file: cat /mnt/newroot/etc/cluster/cluster.conf <?xml version="1.0"?> <cluster config_version="1" name="cluOCFS2"> <cman></cman> <clusternodes> <clusternode name="clu01" nodeid="1"> <com_info> <syslog name="clu01"/> <rootvolume name="/dev/sda" fstype="ocfs2"/> <eth name="eth0" ip="10.43.100.203" mac="00:15:60:56:75:FD"/> </com_info> </clusternode> <clusternode name="clu02" nodeid="2"> <com_info> <syslog name="clu02"/> <rootvolume name="/dev/sda" fstype="ocfs2"/> <eth name="eth0" ip="10.43.100.187" mac="00:15:60:56:77:11"/> </com_info> </clusternode> </clusternodes> </cluster> OCSF2 cluster.conf file: cat /mnt/newroot/etc/ocfs2/cluster.conf node: ip_port = 7777 ip_address = 10.43.100.203 number = 1 name = clu01 cluster = cluOCFS2 node: ip_port = 7777 ip_address = 10.43.100.187 number = 2 name = clu02 cluster = cluOCFS2 cluster: node_count = 2 name = cluOCFS2 Thanks. Ing. Stefano Elmopi Gruppo Darco - Area ICT Sistemi Via Ostiense 131/L Corpo B, 00154 Roma cell. 3466147165 tel. 0657060500 email:ste...@so... |