Hi,

I'm currently trying to use xCAT to install a small cluster of four  
systems. Those systems are controlled via IPMI interfaces.
I currently only defined one node so far because I can't even get this  
to work.
The idea is to install the os to the nodes disks and use xCAT to  
switch easily between different OS on the 4 machines, so I want to use  
diskful installs of CentOS, SLES, Debian and Ubuntu and switch between  
them with xCAT.
I used http://sumavi.com/chapters/linux-kickstart-installation to  
setup the basic xcat installation and test CentOS-6.2 as the first os.

The rpower command ist working and I can enable the node "atlas" to  
boot into the rescue shell system via xnba.
---------------------
[root@cat ~]# nodeset atlas shell
atlas: shell
[root@cat ~]# rpower atlas on
atlas: on
---------------------
... works fine ...

As a next step I tried to use the "[root@cat ~]# copycds  
CentOS-6.2-x86_64-minimal.iso" to extract a CentOS6.2 image to the  
/install folder. That's working so far that I now have the extracted  
installation files in:
---------------------
[root@cat ~]# ls -l /install/centos6.2/x86_64
total 84
-rw-r--r-- 1 root  root     14 Dec 16  2011 CentOS_BuildTag
drwxr-xr-x 3 root  root   4096 Aug 13 20:23 EFI
-rw-r--r-- 1 root  root    212 Dec 15  2011 EULA
-rw-r--r-- 1 root  root  18009 Dec 15  2011 GPL
drwxr-xr-x 2 root  root   4096 Aug 13 20:23 images
drwxr-xr-x 2 root  root   4096 Aug 13 20:23 isolinux
drwxrwxr-x 2 root  root  16384 Aug 13 20:23 Packages
-rw-r--r-- 1 root  root   1354 Dec  9  2011 RELEASE-NOTES-en-US.html
drwxr-xr-x 2 root  root   4096 Aug 13 20:23 repodata
-rw-r--r-- 1 root  root   1706 Dec  9  2011 RPM-GPG-KEY-CentOS-6
-rw-r--r-- 1 root  root   1730 Dec  9  2011 RPM-GPG-KEY-CentOS-Debug-6
-rw-r--r-- 1 root  root   1730 Dec  9  2011 RPM-GPG-KEY-CentOS-Security-6
-rw-r--r-- 1 root  root   1734 Dec  9  2011 RPM-GPG-KEY-CentOS-Testing-6
-r--r--r-- 1 root  root   3380 Dec 16  2011 TRANS.TBL
---------------------

Next I checked that I have all the predefined osimage definitions.  
They were created by copycds, so far so good.
---------------------
[root@cat ~]# lsdef -t osimage
centos6.2-x86_64-install-all  (osimage)
centos6.2-x86_64-install-compute  (osimage)
centos6.2-x86_64-install-iscsi  (osimage)
centos6.2-x86_64-install-kvm  (osimage)
centos6.2-x86_64-install-storage  (osimage)
centos6.2-x86_64-install-xen  (osimage)
centos6.2-x86_64-netboot-compute  (osimage)
centos6.2-x86_64-netboot-kvm  (osimage)
centos6.2-x86_64-netboot-xen  (osimage)
centos6.2-x86_64-statelite-compute  (osimage)
centos6.2-x86_64-statelite-kvm  (osimage)
centos6.2-x86_64-statelite-xen  (osimage)
---------------------

And the one I would like to use first in more detail:
---------------------
[root@cat ~]# lsdef -t osimage -o centos6.2-x86_64-install-compute
Object name: centos6.2-x86_64-install-compute
     imagetype=linux
     osarch=x86_64
     osname=Linux
     osvers=centos6.2
     otherpkgdir=/install/post/otherpkgs/centos6.2/x86_64
     pkgdir=/install/centos6.2/x86_64
     pkglist=/opt/xcat/share/xcat/install/centos/compute.centos6.pkglist
     profile=compute
     provmethod=install
     template=/opt/xcat/share/xcat/install/centos/compute.centos6.tmpl
---------------------

But when I now try to set the boot state of a node the following error  
occurs and I don't know how to fix it.
---------------------
[root@cat ~]# nodeset atlas install
Error: Install image not found in /install/centos6.2/x86_64
Error: Some nodes failed to set up install resources, aborting
---------------------



Some configuration details:
---------------------
xCAT: 2.7.3
mgmt node(cat) os: CentOS6
---------------------
[root@cat ~]# lsdef atlas
Object name: atlas
     appstatustime=08-13-2012 20:03:51
     arch=x86_64
     bmc=atlas-ipmi
     bmcpassword=ADMIN
     bmcport=null
     bmcusername=ADMIN
     currstate=shell
     groups=ipmi,hwcluster
     hostnames=atlas
     initrd=xcat/genesis.fs.x86_64.lzma
     installnic=eth0
     ip=10.0.5.1
     kcmdline=quiet xcatd=10.0.0.2:3001 destiny=shell
     kernel=xcat/genesis.kernel.x86_64
     mac=00:25:90:65:38:D8
     mgt=ipmi
     netboot=xnba
     nfsserver=cat
     os=centos6.2
     postbootscripts=otherpkgs
     postscripts=syslog,remoteshell,syncfiles
     primarynic=eth0
     profile=compute
     provmethod=install
     status=powering-off
     statustime=08-13-2012 21:31:35
     tftpserver=cat
---------------------
[root@cat ~]# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"atlas","centos6.2","x86_64","install","install",,,,
---------------------
[root@cat ~]# tabdump noderes
#node,servicenode,netboot,tftpserver,tftpdir,nfsserver,monserver,nfsdir,installnic,primarynic,discoverynics,cmdinterface,xcatmaster,current_osimage,next_osimage,nimserver,routenames,comments,disable
"atlas",,"xnba","cat",,"cat",,,"eth0","eth0",,,,,,,,,
---------------------
[root@cat ~]# tabdump nodelist
#node,groups,status,statustime,appstatus,appstatustime,primarysn,hidden,comments,disable
"atlas","ipmi,hwcluster","powering-off","08-13-2012  
21:31:35",,"08-13-2012 20:03:51",,,,
---------------------
[root@cat ~]# tabdump networks
#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,ddnsdomain,vlanid,domain,comments,disable
"10_0_0_0-255_255_240_0","10.0.0.0","255.255.240.0","eth0","10.0.0.1",,"10.0.0.2","10.0.0.1",,,"10.0.1.1-10.0.1.254",,,,,,
---------------------
[root@cat ~]# tabdump mac
#node,interface,mac,comments,disable
"atlas",,"00:25:90:65:38:D8",,
---------------------
[root@cat ~]# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,comments,disable
"atlas",,"ipmi",,,,,,,,,,
---------------------
[root@cat ~]# tabdump ipmi
#node,bmc,bmcport,taggedvlan,bmcid,username,password,comments,disable
"atlas","atlas-ipmi","null",,,"ADMIN","ADMIN","null",
---------------------

Kind Regards

Matthias Marx


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to