Hi! Thanks for the answers.

I changed the image to the ubuntu serverand could get it through nodeset.

However, I'm not being able to perform some other operations to get the system deployed
1- rsetboot
root@tam:~# rsetboot derrial net
derrial: Error: Unable to identify plugin for this command, check relevant tables: nodehm.power,mgt;nodehm.mgt

2- rbootseq
root@tam:~# rbootseq derrial net,hd0
derrial: Error: (noSuchName) There is no such variable name in this MIB.

3- rpower
It seems to be working with reset, but it's behaving oddly:

root@tam:~# rpower derrial boot
derrial: reset

Issuing this command, It makes me lose connection to the MM (I'm logged to it from another terminal). I have to restart the session to the MM and the blade was not rebooted.

Other rpower commands are also not working , as rpower on/off
root@tam:~# rpower derrial off
derrial: Error: off unsupported on the management module

rcons also gives me nothing, nor getting the console direct in the MM.
root@tam:~# rcons derrial
[Enter `^Ec?' for help]
Acquiring startup lock...done
Console not ready, retrying in 15 seconds (Hit Ctrl-E,c,o to skip delay)
Acquiring startup lock...done

Any thoughts or ideas here?

Here are the MM and node configuration:

root@tam:~# lsdef bchmm
Object name: bchmm
    groups=mm,all
    hwtype=mm
    id=1
    ip=9.114.219.55
    mgt=blade
    mpa=bchmm
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles

root@tam:~# lsdef derrial
Object name: derrial
    arch=x86_64
    cons=blade
    currchain=boot
    currstate=install ubuntu12.04.2-x86_64-compute
    getmac=blade
    groups=compute,blade,all
    initrd=xcat/osimage/ubuntu12.04.2-x86_64-install-compute/initrd.img
    installnic=mac
    ip=9.114.219.51
    kcmdline=nofb utf8 auto url="" class="moz-txt-link-freetext" href="http://!myipfn!/install/autoinst/derrial">http://!myipfn!/install/autoinst/derrial netcfg/choose_interface=34:40:B5:E4:64:0A console=tty0 console=ttyS1,19200n8r noipv6 locale=en_US console-setup/layoutcode=us priority=critical netcfg/dhcp_timeout=120 hostname=derrial
    kernel=xcat/osimage/ubuntu12.04.2-x86_64-install-compute/vmlinuz
    mac=34:40:B5:E4:64:0A
    mgt=blade
    mpa=bchmm
    netboot=pxe
    nodetype=osi,blade
    os=ubuntu12.04.2
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    primarynic=eth0
    profile="">     provmethod=ubuntu12.04.2-x86_64-install-compute
    serialflow=hard
    serialport=1
    serialspeed=19200
    status=installing
    statustime=02-21-2013 15:12:04


Best regards,

Adalberto Medeiros
Linux Technology Center 
Openstack and Cloud Development
IBM Brazil
Email: [email protected]
On 20-02-2013 06:30, Qing QQ Xu wrote:

Hi!

The rcons problem,

root@hs21:~# ls -l /bin/sh
lrwxrwxrwx 1 root root 9 Dec 13 03:02 /bin/sh -> dash*
We had better use the /bin/bash on linux. You should change the symbolic link "/bin/sh"to /bin/bash


The nodeset problem,
I found you used the desktop version to run copycds. You should use the server version for xcat.

I still need some time to debug the makedns problem.
Thanks.

Best
--------------------------
Xu Qing (徐清)
IBM China Software Development Laboratory

Email: [email protected]
Address: Building 28, ZhongGuanCun Software Park,
         No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193


Inactive hide details for Adalberto Medeiros
          ---02/19/2013 11:16:53 PM---Adalberto Medeiros
          <adal...@linux.vnet.ibm.com>Adalberto


          Medeiros ---02/19/2013 11:16:53 PM---Adalberto Medeiros <[email protected]>


To


cc


Subject

    [xcat-user] Trying to get xCAT working with Ubuntu

Hi!

I'm currently trying to setup xcat on a Ubuntu 12.04 MN (xcat v 2.8, build svn r14671). I have some feedback and questions to help me figure out how to make it work.

At this first moment, I'm trying to get one node deployed. Both cn and mn are system x blades (hs23) in a Bladecenter. The DHCP server and DNS server are on another server, but I'm configuring a dhcp server on my MN with fixed-address.

So here is what I have accomplished so far:

1. makedhcp:  worked fine and I could get the lease file to correct configure the cn (called derrial). Though I'll be able to check that more closely when deploying the image.

2. makedns: It hang at "Updating DNS records, this may take several minutes for a large cluster."
The /etc/bind/named.conf contains the xcat information for dns, but bind9 was not getting restarted in my system.
I checked /var/log/syslog and got this:

Feb 19 09:18:04 tam named[21259]: starting BIND 9.8.1-P1 -u bind
Feb 19 09:18:04 tam named[21259]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'
Feb 19 09:18:04 tam named[21259]: adjusted limit on open files from 4096 to 1048576
Feb 19 09:18:04 tam named[21259]: found 24 CPUs, using 24 worker threads
Feb 19 09:18:04 tam named[21259]: using up to 4096 sockets
Feb 19 09:18:04 tam named[21259]: loading configuration from '/etc/bind/named.conf'
Feb 19 09:18:04 tam named[21259]: /etc/bind/named.conf:12: 'options' redefined near 'options'
Feb 19 09:18:04 tam named[21259]: loading configuration: already exists
Feb 19 09:18:04 tam named[21259]: exiting (due to fatal error)

I got this fixed by commenting out '#include /etc/bin/named.conf.options" and it worked.

3. makeconservercf: no errors after running it. However, rcons is not working properly:

When tried  #rcons derrial , I got the following:
root@tam:~# rcons derrial
/opt/xcat/bin/rcons: 7: [: Linux: unexpected operator
/opt/xcat/bin/rcons: 11: [: Linux: unexpected operator
console: Could not load SSL certificate from '/home/xcat/.xcat/client-cred.pem'

I tried to reconfigure the certificates and keys using xcatconfig, but the issue persists. Moreover, the system is not creating the  '/home/xcat/.xcat' directory, but the certs can be found at  '/etc/xcat/ca'

4. nodeset derrial osimage=ubuntu12.04.1-x86_64-install-compute
# copycds ubuntu-12.04.1-desktop-amd64.iso     # worked fine
# lsdef -t osimage
ubuntu12.04.1-x86_64-install-compute  (osimage)
ubuntu12.04.1-x86_64-netboot-compute  (osimage)
ubuntu12.04.1-x86_64-statelite-compute  (osimage)

# nodeset derrial osimage=ubuntu12.04.1-x86_64-install-compute
Error: Install image not found in /install/ubuntu12.04.1/x86_64
Error: Some nodes failed to set up install resources, aborting


# ls /install/ubuntu12.04.1/x86_64
autorun.inf  casper  efi      isolinux    pics  preseed             ubuntu
boot         dists   install  md5sum.txt  pool  README.diskdefines  wubi.exe

Any ideas on how I can fix this?

Here is some information about nodes configuration:

* networks table:
root@tam:~# tabdump networks
#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,staticrange,staticrangeincrement,nodehostname,ddnsdomain,vlanid,domain,comments,disable
"fd55:faaf:e1ab:3d9::/64","fd55:faaf:e1ab:3d9::/64","/64","eth0",,,,,,,,,,,,,,,
"9_114_219_0-255_255_255_0","9.114.219.0","255.255.255.0","eth0","9.114.219.254",,"9.114.219.49",,,,,,,,,,,,


* cn definition:
root@tam:~# lsdef derrial
Object name: derrial
   arch=x86_64
   cons=ipmi
   getmac=blade
   groups=compute,blade,all
   installnic=mac
   ip=9.114.219.51
   mac=34:40:B5:E4:64:0A
   mgt=blade
   mpa=bchmm
   netboot=pxe
   nodetype=osi,blade
   os=ubuntu12.04.1
   postbootscripts=otherpkgs
   postscripts=syslog,remoteshell,syncfiles
   primarynic=eth0
   profile="">    provmethod=ubuntu12.04.1-x86_64-install-compute
   serialflow=hard
   serialport=1
   serialspeed=19200

* cmm definition:
root@tam:~# lsdef bchmm
Object name: bchmm
   groups=mm,cmm,all
   hwtype=cmm
   id=0
   ip=9.114.219.55
   mgt=blade
   mpa=bchmm
   postbootscripts=otherpkgs
   postscripts=syslog,remoteshell,syncfiles


Guide references:

http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Ubuntu_Quick_Start
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_system_x_support_for_IBM_Flex
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_iDataPlex_Cluster_Quick_Start

Best regards,

--
Adalberto Medeiros
Linux Technology Center
Openstack and Cloud Development
IBM Brazil
Email:
[email protected]------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb


_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to