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


                                                                           
             Adalberto                                                     
             Medeiros                                                      
             <[email protected]                                          To 
             et.ibm.com>               [email protected],    
                                                                        cc 
             02/19/2013 10:46                                              
             PM                                                    Subject 
                                       [xcat-user] Trying to get xCAT      
                                       working with Ubuntu                 
             Please respond to                                             
                xCAT Users                                                 
               Mailing list                                                
             <xcat-user@lists.                                             
             sourceforge.net>                                              
                                                                           
                                                                           




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=compute
    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

<<inline: graycol.gif>>

<<inline: pic11428.gif>>

<<inline: ecblank.gif>>

------------------------------------------------------------------------------
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