When you say you added the bmc ip addresses to the xcat hosts table, did you also run makehosts? A common misunderstanding about xcat is that users think xcat code uses the hosts table in the xcat db directly for name resolution. Not true. xCAT code uses the system's name resolution, so if you don't run makehosts (and depending on how your system is configured, makedns), it won't know those IP addresses. The xcat hosts table is just a convenient way to populate name resolution for medium to large clusters.
BTW, you can also put the bmc IP addresses directly in the xcat ipmi table, instead of bmc hostnames, and not have to worry about name resolution for them. Bruce Potter STSM, Linux & AIX Cluster Development, IBM, Poughkeepsie, NY Email: [email protected] Phone: external: 845-433-7073, internal: TL 293-7073 From: Evelio Quiros <[email protected]> To: xCAT Users Mailing list <[email protected]> Date: 04/06/2012 02:28 PM Subject: Re: [xcat-user] Basic xCAT operation for a Newbie Ok, I have reviewed that video several times, and it does not really answer my questions. As per the video, I have changed my ipmi table as such: #node,bmc,bmcport,username,password,comments,disable "n1","n1-bmc","0",,,, "n2","n2-bmc","0",,,, "n3","n3-bmc","0",,,, "n4","n4-bmc","0",,,, I also added the ipmi interfaces to the hosts table: #node,ip,hostnames,otherinterfaces,comments,disable "n1","10.0.0.25","n1","n1-bmc:10.0.0.15",, "n2","10.0.0.26","n2","n2-bmc:10.0.0.16",, "n3","10.0.0.27","n3","n3-bmc:10.0.0.17",, "n4","10.0.0.28","n4","n4-bmc:10.0.0.18",, When I try rpower n1 stat : n1: Error: 13 code on opening RMCP+ session n1: Error: 2 code on opening RMCP+ session n1: Error: 2 code on opening RMCP+ session n1: Error: timeout I suspect this is an ipmi issue, not an xcat problem. I use ipmitool to test the LAN config, I get this: ipmitool -I lan -H n1-bmc -U root channel info Password: Activate Session command failed Error: Unable to establish LAN session Unable to Get Channel Info They are all on the same network, and I applied static IP addresses to the BMC. So, my management node cannot talk to the BMC on my compute nodes. Any ideas why ? Al Quiros Florida International University From: Russell Jones <[email protected]> Reply-To: xCAT Users Mailing list <[email protected]> Date: Mon, 2 Apr 2012 16:12:27 -0500 To: <[email protected]> Subject: Re: [xcat-user] Basic xCAT operation for a Newbie All of this is covered in the video :-) On 4/2/2012 4:00 PM, Evelio Quiros wrote: Hi Russel, Actually, I found it after I sent the email. The ipmi table now has this: ipmi #node,bmc,bmcport,username,password,comments,disable "n1","n1-bmc",,,,, "n2","n2-bmc",,,,, "n3","n3-bmc",,,,, "n4","n4-bmc",,,,, I manually populated it instead of using regular expressions since there were only 4 nodes. I get this now: rpower all stat|xcoll n1: Error: Could not resolve n1-bmc to an address n2: Error: Could not resolve n2-bmc to an address n3: Error: Could not resolve n3-bmc to an address n4: Error: Could not resolve n4-bmc to an address Where do I specify the addresses for the bmc interface ? Isn't it just the same address as eth0 ? Thanks, Al Q From: Russell Jones <[email protected]> Reply-To: xCAT Users Mailing list <[email protected]> Date: Mon, 2 Apr 2012 15:27:20 -0500 To: <[email protected]> Subject: Re: [xcat-user] Basic xCAT operation for a Newbie Hi Al, ipmi #node,bmc,bmcport,username,password,comments,disable This can't be empty. If you review the video I sent you a while back it will help you define the tables properly for ipmi remote power support: http://www.youtube.com/watch?v=-rUJ3dy2hjQ On 4/2/2012 2:29 PM, Evelio Quiros wrote: Hello, I am under the impression that the idea of xcat is to allow deployment and provisioning of systems without having to touch each one or change the bios settings. After spending some time reviewing the documentation, I am still unable to get xcat to contact my nodes.When trying rpower commands, I get a timeout error. I am sure that there must be some fundamental piece missing in my setup, so let's review what I have: I have 2 networks, a private network and a (semi)public network. On all the nodes (including management node), eth0 is on the private network, and eth1 is on the public. The public network has its own dhcp and dns server, so that part is taken care of externally. I have a dell C6100, a 4-node machine that is essentially 4 separate computers in one box. It is setup with all of the out-of-the-box defaults. These will be my compute nodes (n1-n4). These are the node I am trying to reach via xcat. These nodes and the management node below are all on the same networks. I have single management node running redhat linux 6. I am running version 2.7 of the xcat code, installed from the repository via yum. I also have the xcat-deps installed. I added the nodes (only 4 of them) to the /etc/hosts manually. I also added them to the hosts table in xcat. I ran makenetworks, and edited the network table to disable the public network, just keep the private net. I ran makedns and makedhcp. I can reboot the nodes manually, and they come up with their correct names and IP addresses. I am able to view and edit the tables. This is a dump of the current table structures I have. Perhaps I am missing something in my tables ? Perhaps there is another essential table I am missing ? Thanks for your help, Al Quiros Florida international University site #key,value,comments,disable "domain","p.fiu.edu",, "blademaxp","64",, "fsptimeout","0",, "installdir","/install",, "ipmimaxp","64",, "ipmiretries","3",, "ipmitimeout","2",, "consoleondemand","no",, "master","10.0.0.3",, "forwarders","131.94.205.10,131.94.7.220,131.94.69.36",, "nameservers","10.0.0.3",, "maxssh","8",, "ppcmaxp","64",, "ppcretry","3",, "ppctimeout","0",, "powerinterval","0",, "syspowerinterval","0",, "sharedtftp","1",, "SNsyncfiledir","/var/xcat/syncfiles",, "tftpdir","/tftpboot",, "xcatdport","3001",, "xcatiport","3002",, "xcatconfdir","/etc/xcat",, "timezone","America/New_York",, "useNmapfromMN","no",, "enableASMI","no",, "db2installloc","/mntdb2",, "databaseloc","/var/lib",, "sshbetweennodes","ALLGROUPS",, "dnshandler","ddns",, "vsftp","n",, "cleanupxcatpost","no",, networks #netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,ddnsdomain,vlanid,domain,comments,disable "private","10.0.0.0","255.255.254.0","eth0","10.0.0.3","10.0.03","10.0.0.3","131.94.205.10,131.94.7.220",,,"10.0.0.10-10.0.0.128",,,,,, "public_disabled","10.106.128.0","255.255.254.0","eth1","10.106.128.1",,"10.106.128.12",,,,,,,,,,"1" nodelist #node,groups,status,statustime,appstatus,appstatustime,primarysn,hidden,comments,disable "n1","ipmi,compute,all",,,,,,,, "n2","ipmi,compute,all",,,,,,,, "n3","ipmi,compute,all",,,,,,,, "n4","ipmi,compute,all",,,,,,,, nodehm #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,comments,disable "compute",,"ipmi",,,,,,,,,, ipmi #node,bmc,bmcport,username,password,comments,disable mp #node,mpa,id,nodetype,comments,disable mpa #mpa,username,password,comments,disable noderes #node,servicenode,netboot,tftpserver,tftpdir,nfsserver,monserver,nfsdir,installnic,primarynic,discoverynics,cmdinterface,xcatmaster,current_osimage,next_osimage,nimserver,routenames,comments,disable "compute",,"pxe","10.0.0.3",,"10.0.0.3",,,"eth0","eth0",,,,,,,,, "ipmi",,"pxe","10.0.0.3",,"10.0.0.3",,,"eth0","eth0",,,,,,,,, passwd #key,username,password,cryptmethod,comments,disable "ipmi","root","password",,, "omapi","xcat_key","eVlKQVFiOHg5NkFTa3pRdkhSVEZHeE1nN1RVRWZZc1Q=",,, chain #node,currstate,currchain,chain,ondiscover,comments,disable "n1","runcmd=bmcsetup",,,,, switch #node,switch,port,vlan,interface,comments,disable nodetype #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable "n1","image","x86","rh5image-rh66-v0","image","x86,x86_64",,, "n2","image","x86","rh5image-rh66-v0","image","x86,x86_64",,, "n3","image","x86","rh5image-rh66-v0","image","x86,x86_64",,, "n4","image","x86","rh5image-rh66-v0","image","x86,x86_64",,, mac #node,interface,mac,comments,disable "n1","eth0","00:26:6C:FF:09:34",, "n2","eth0","00:26:6C:FF:05:90",, "n3","eth0","00:26:6C:FF:07:B4",, "n4","eth0","00:26:6C:FE:FD:28",, ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
