Hi Dave,
     I looked at our code and found out that we do have problems handling 
nfsserver attribute for diskful installation, with service node pool and 
without.  Basically the error is from the .tmpl file which uses 
noderes.nfsserver to define where the source rpms can be found. When 
nodeset is called, the .tmpl file is used as the template to generate the 
kick start file (which is located under /install/autoinst direcotry). 
Anyway, there are two aspect of it:
1. Without service node pool, if the noderes.nfsserver is blank, it should 
pick up noderes.xcatmaster. If noderes.xcatmaster is blank, it should pick 
up site.master.  Currently this logic does not work, I just got it fixed 
in xCAT 2.7.  The work around for now is to make sure nfsserver is not 
blank. 
2. With service node pool, the above logic cannot be applied because 
noderes.xcatmaster is always blank and at nodeset time, the DHCP server is 
not known yet. So, you need to pick a service node from the pool and use 
it as the nfsserver. BTW, xCAT has not supported service node pool for 
diskful nodes yet.  This item need to be added in the future. 

Hope it helps. 

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



From:   Dave Barry <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   02/06/2012 04:55 PM
Subject:        Re: [xcat-user] service node pools, diskfull nodes, 
nfsserver



Hi Ling,

Thanks for your help! Here's the information you requested:

[root@mn ~]# xdsh -V
Version 2.6.9 (svn r10986, built Wed Nov  9 04:49:31 EST 2011)


Management node:

[root@mn ~]# df -h /install
Filesystem            Size  Used Avail Use% Mounted on
storage01:/install     47G  6.7G   38G  16% /install


Service node:
[root@service01 ~]# df -h /install
Filesystem            Size  Used Avail Use% Mounted on
storage01:/install     47G  6.7G   38G  16% /install


(Please note that /install/autoinst is symlinked back to /local_autoinst 
on each node)


Installloc:

"installloc","storage01:/install",,




I tried following this guide (
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Setting_Up_a_Linux_Hierarchical_Cluster#Service_Node_Pools
) but have not been able to make both the management node and the service 
node generate an /install/autoinst file who's URL points to themselves. 
Note that the guide states:

Note: the noderes table's xcatmaster, tftpserver,nfsserver attributes 
should be blank for any node entry that has the noderes servicenode 
attribute set to a pool of service nodes. site table attribute sharedtftp 
should be no or 0.

I have those all set as well, but when set it just complains about 
noderes.nfsserver being empty:

[root@mn ~]# nodeset c1n01 install
c1n01: Error: Unable to find requested nfsserver from noderes, with 
node=c1n01
Error: Some nodes failed to set up install resources, aborting
c1n01: Error: Unable to find requested nfsserver from noderes, with 
node=c1n01
Error: Some nodes failed to set up install resources, aborting



My noderes table:

[root@mn ~]# tabdump noderes
#node,servicenode,netboot,tftpserver,nfsserver,monserver,nfsdir,installnic,primarynic,discoverynics,cmdinterface,xcatmaster,current_osimage,next_osimage,nimserver,routenames,comments,disable
"storage","service01","pxe",,"mn",,,"eth0","eth0",,,,,,,,,
"service","mn","pxe",,,,,"eth0","eth0",,,"mn",,,,,,
"c1n01","service01","pxe",,,,,"eth0","eth0",,,,,,,,,







On Mon, Feb 6, 2012 at 10:45 AM, Ling Gao <[email protected]> wrote:
What version of xCAT are you running? (xdsh -V) 
Where /install is mounted on the service nodes? 
If site.installloc is set? what is it value? 


Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692   
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



From:        Dave Barry <[email protected]> 
To:        xCAT Users Mailing list <[email protected]> 
Date:        02/03/2012 04:31 PM 
Subject:        Re: [xcat-user] service node pools, diskfull nodes, 
nfsserver 




Either this question is too simple that nobody wants to answer it, or I've 
stumped everyone :)

Any help is greatly appreciated. Still not able to get this working 
properly.




On Mon, Jan 30, 2012 at 2:15 PM, Dave Barry <[email protected]> wrote: 
Hi all,

I am having some trouble getting service node pools and diskfull nodes to 
work properly. The issue I am having is:

c1n01: Error: Unable to find requested nfsserver from noderes, with 
node=c1n01


My noderes table:

[root@mn ~]# tabdump noderes
#node,servicenode,netboot,tftpserver,nfsserver,monserver,nfsdir,installnic,primarynic,discoverynics,cmdinterface,xcatmaster,current_osimage,next_osimage,nimserver,routenames,comments,disable
"storage","service01","pxe",,"mn",,,"eth0","eth0",,,,,,,,,
"service","mn","pxe",,"mn","mn",,,"eth0",,,"mn",,,,,,
"c1n01","service01",,,,,,,,,,,,,,,,



Node's lsdef:

Object name: c1n01
    arch=x86_64
    chain=runcmd=standby
    currchain=boot
    currstate=install centos5.5-x86_64-compute
    groups=compute,all
    initrd=xcat/centos5.5/x86_64/initrd.img
    ip=192.168.1.2
    kcmdline=nofb utf8 ks=http://mn/install/autoinst/c1n01 ksdevice=eth0 
noipv6
    kernel=xcat/centos5.5/x86_64/vmlinuz
    mac=00:50:56:11:11:15
    nodetype=osi
    ondiscover=nodediscover
    os=centos5.5
    postbootscripts=otherpkgs
    
postscripts=postage.sh,updaterepos.sh,syslog,remoteshell,syncfiles,hardeths
    profile=compute
    provmethod=install
    servicenode=service01
    status=booted
    statustime=01-29-2012 11:26:50





It is my understanding that if you leave "xcatmaster" blank, whoever boots 
the node via DHCP becomes that node's xcatmaster. It is also my 
understanding that if you leave nfsserver and tftpserver blank, they will 
inherit their values from xcatmaster.

What I am attempting to do is set up an environment where whoever boots 
the node from DHCP becomes that node's xcatmaster, nfsserver, tftpserver, 
and ftp server. I can't seem to get past xcat complaining about nfsserver 
being blank however, even when I put an entry in for "xcatmaster". What am 
I doing wrong?


Thanks for the help! 
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to