Hello list,

   We're trying without much success to run xCAT autodiscovery over an 
iDataplex complex.
Reading past posts in this list we kinda of suspect we made some mistake 
with compiling tables but so far were not able to spot it. Can someone 
please help us understanding what's going on?

What we see happening on the discovering host are the messages 
"/tmp/destiny" and  "/tmp/dhcpserver : no such file or directory".
Here's the dump of our tables:



bootparams


#node,kernel,initrd,kcmdline,addkcmdline,dhcpstatements,adddhcpstatements,comments,disable
"n085","xcat/centos6.2/x86_64/vmlinuz","xcat/centos6.2/x86_64/initrd.img","nofb 
utf8 ks=http://172.16.1.254/install/autoinst/n085 ksdevice=172.16.1.254 
noipv6",,,,,
"n086","xcat/centos6.2/x86_64/vmlinuz","xcat/centos6.2/x86_64/initrd.img","nofb 
utf8 ks=http://172.16.1.254/install/autoinst/n086 ksdevice=eth1 noipv6",,,,,

chain

#node,currstate,currchain,chain,ondiscover,comments,disable
"all",,,"standby","nodediscover",,
"n085","boot","boot","standby",,,
"n086","install centos6.2-x86_64-compute-cnodes","boot",,,,

hosts


#node,ip,hostnames,otherinterfaces,comments,disable
"group01","|\D+(\d+)$|172.16.0.($1+0)|",,,,
"group02","|\D+(\d+)$|172.16.1.($1-256)|",,,,
"sw","|\D+(\d+)$|172.30.50.($1+0)|",,,,
"n085-imm","172.29.102.1","n85-imm",,,
"n086-imm","172.29.102.2","n86-imm",,,
"n087-imm","172.29.102.3","n87-imm",,,
"n088-imm","172.29.102.4","n88-imm",,,
......

"n166-imm","172.29.102.82","n166-imm",,,
"n167-imm","172.29.102.83","n167-imm",,,
"n168-imm","172.29.102.84","n168-imm",,,

ipmi

#node,bmc,bmcport,username,password,comments,disable
"cnodes","|\D+(\d+)$|n($1)-imm|",,"USERID","PASSW0RD",,
"lnodes",,,,,,
"mngnodes",,,,,,
"ionodes",,,,,,

mac

#node,interface,mac,comments,disable
"n085","eth1","34:40:b5:b9:3d:c2",,
"n086","eth1","34:40:b5:b9:3c:d6",,
...

networks

#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,ddnsdomain,vlanid,domain,comments,disable
"cluster-net","172.16.0.0","255.255.252.0","eth1","172.16.1.254","172.16.1.254","172.16.1.254","172.16.1.254",,,"172.16.0.142-172.16.1.227",,,,"cluster.net",,
"cluster-mng","172.29.0.0","255.255.0.0","eth1:2",,,,,,,,,,,,"imm lan",

nodehm

#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,comments,disable
"cnodes","ipmi","ipmi",,,,,,,,,,
"lnodes","ipmi","ipmi",,,,,,,,,,
"mngnodes","ipmi","ipmi",,,,,,,,,,
"ionodes","ipmi","ipmi",,,,,,,,,,

nodelist

#node,groups,status,statustime,appstatus,appstatustime,primarysn,hidden,comments,disable
"n001","compute,all,cnodes,group01",,,,,,,,
"n002","compute,all,cnodes,group01",,,,,,,,
......
"n085","compute,all,cnodes,group01,rack2,switch03","powering-off","07-31-2012 
19:18:00",,,,,,
"n086","compute,all,cnodes,group01,rack2,switch03","booted","08-01-2012 
09:55:17",,,,,,
"n087","compute,all,cnodes,group01,rack2,switch03",,,,,,,,
......
"n127","compute,all,cnodes,group01,rack2,switch04",,,,,,,,
"n128","compute,all,cnodes,group01,rack2,switch04",,,,,,,,
"n129","compute,all,cnodes,group01,rack2,switch04",,,,,,,,
......
"n263","compute,all,cnodes,group02",,,,,,,,
"n264","compute,all,cnodes,group02",,,,,,,,
"n265","compute,all,cnodes,group02",,,,,,,,
......
"login1","compute,all,lnodes",,,,,,,,
"login2","compute,all,lnodes",,,,,,,,
"mng1","compute,all,mngnodes",,,,,,,,
"mng2","compute,all,mngnodes",,,,,,,,
"io1","compute,all,ionodes",,,,,,,,
"io2","compute,all,ionodes",,,,,,,,
"io3","compute,all,ionodes",,,,,,,,
"io4","compute,all,ionodes",,,,,,,,
"switch01","sw",,,,,,,,
"switch02","sw",,,,,,,,
"switch03","sw",,,,,,,,
"switch04","sw",,,,,,,,
"switch05","sw",,,,,,,,
"switch06","sw",,,,,,,,
"switch07","sw",,,,,,,,
"switch08","sw",,,,,,,,
"switch09","sw",,,,,,,,
"switch10","sw",,,,,,,,
"switch11","sw",,,,,,,,
"switch12","sw",,,,,,,,
"switch13","sw",,,,,,,,
"n085-imm",,,,,,,,,
"n086-imm",,,,,,,,,
"n087-imm",,,,,,,,,
......
"n166-imm",,,,,,,,,
"n167-imm",,,,,,,,,
"n168-imm",,,,,,,,,

nodepos

node,rack,u,chassis,slot,room,comments,disable
"n85","2","A1",,,,,
"n86","2","A2",,,,,
"n87","2","A3",,,,,
...
"n166","2","C41",,,,,
"n167","2","C42",,,,,
"n168","2","C43",,,,,

noderes

#node,servicenode,netboot,tftpserver,nfsserver,monserver,nfsdir,installnic,primarynic,discoverynics,cmdinterface,xcatmaster,current_osimage,next_osimage,nimserver,routenames,comments,disable
"all",,"pxe",,"172.16.1.254",,,"eth1","eth1",,,"172.16.1.254",,,,,,
"cnodes",,"pxe",,"172.16.1.254",,,"eth1","eth1",,,"172.16.1.254",,,,,,

nodetype

#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"all","centos6.2","x86_64",,,,"osi",,
,,"x86_64",,,"x86,x86_64",,,
"cnodes","centos6.2","x86_64","compute-cnodes","install",,,,
"lnodes","centos6.2","x86_64","compute-lnodes","install",,,,
"mngnodes","centos6.2","x86_64","compute-mngnodes","install",,,,
"ionodes","centos6.2","x86_64","compute-ionodes","install",,,,

passwd

#key,username,password,cryptmethod,comments,disable
"system","root","XXXXXXXX",,,
"omapi","xcat_key","OXNBXXXXHHHHXXXHHVHJlUWI5UUTYDHFSDHFA0TTI=",,,

policy

#priority,name,host,commands,noderange,parameters,time,rule,comments,disable
"1","root",,,,,,"allow",,
"1.2","xCAT-server",,,,,,"trusted",,
"2",,,"getbmcconfig",,,,"allow",,
"2.3",,,"lsxcatd",,,,"allow",,
"3",,,"nextdestiny",,,,"allow",,
"4",,,"getdestiny",,,,"allow",,
"4.4",,,"getpostscript",,,,"allow",,
"4.5",,,"getcredentials",,,,"allow",,
"4.6",,,"syncfiles",,,,"allow",,
"4.7",,,"litefile",,,,"allow",,
"4.8",,,"litetree",,,,"allow",,

site

#key,value,comments,disable
"blademaxp","64",,
"fsptimeout","0",,
"installdir","/install",,
"ipmimaxp","64",,
"ipmiretries","3",,
"ipmitimeout","2",,
"consoleondemand","no",,
"master","172.16.1.254",,
"forwarders","193.204.64.3,212.189.128.36",,
"nameservers","172.16.1.254",,
"maxssh","8",,
"ppcmaxp","64",,
"ppcretry","3",,
"ppctimeout","0",,
"sharedtftp","1",,
"SNsyncfiledir","/var/xcat/syncfiles",,
"tftpdir","/tftpboot",,
"xcatdport","3001",,
"xcatiport","3002",,
"xcatconfdir","/etc/xcat",,
"timezone","Europe/Rome",,
"useNmapfromMN","no",,
"enableASMI","no",,
"db2installloc","/mntdb2",,
"databaseloc","/var/lib",,
"sshbetweennodes","ALLGROUPS",,
"dnshandler","ddns",,
"vsftp","y",,
"cleanupxcatpost","no",,
"domain","cluster.net",,
"dhcpinterfaces","eth1",,

switch

#node,switch,port,vlan,interface,comments,disable
"n85","switch03","Ethernet1",,,,
"n86","switch03","Ethernet2",,,,
"n87","switch03","Ethernet3",,,,
"n88","switch03","Ethernet4",,,,
......
"n165","switch04","Ethernet39",,,,
"n166","switch04","Ethernet40",,,,
"n167","switch04","Ethernet41",,,,
"n168","switch04","Ethernet42",,,,

NOTE: values taken from the snmpwalk output:

[root@xCAT-server ~]# snmpwalk -v 1 -c public switch04 
.1.3.6.1.2.1.31.1.1.1.1 |less
IF-MIB::ifName.1 = STRING: IP1
IF-MIB::ifName.129 = STRING: Ethernet1
IF-MIB::ifName.130 = STRING: Ethernet2
IF-MIB::ifName.131 = STRING: Ethernet3
IF-MIB::ifName.132 = STRING: Ethernet4

switches

switch01,"1",,"public",,,,,
switch02,"1",,"public",,,,,
switch03,"1",,"public",,,,,
switch04,"1",,"public",,,,,
switch05,"1",,"public",,,,,
switch06,"1",,"public",,,,,
switch07,"1",,"public",,,,,
switch08,"1",,"public",,,,,
switch09,"1",,"public",,,,,
switch10,"1",,"public",,,,,
switch11,"1",,"public",,,,,
switch12,"1",,"public",,,,,
switch13,"1",,"public",,,,,




Thanks,
Dario

------------------------------------------------------------------------------
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
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to