You should also have a diskfull service node image centos6.4-x86_64-install-service. Normally the service nodes are diskfull but they can be diskless.
Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Josh Nielsen <jniel...@hudsonalpha.org> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Date: 01/17/2014 07:01 PM Subject: Re: [xcat-user] Determine which otherpkgs.pkglist file is being used Answering more of my questions (I think): genimage -p [profile] looks like the way to go to make a service specific osimage. Am I on the right track? On Fri, Jan 17, 2014 at 5:56 PM, Josh Nielsen <jniel...@hudsonalpha.org> wrote: It is definitely related. After my chdef fixes the entry for xcat-serv1 looked like this: profile=service provmethod=install and after a ""nodeset xcat-serv1 osimage=centos6.4-x86_64-install-compute" it looked like this: profile=compute provmethod=centos6.4-x86_64-install-compute The osimage or something else in a table that "nodeset" parses is changing the associations of the service node. I guess I need a "service specific" osimage. Nothing I can see in my xcat tables associates the service node with the "compute" group as all so I'm guessing it is the osimage doing it. Lissa mentioned how to create a diskless osimage, but I have a diskful node. How can I create a diskful osimage for a service node that will not change the provmethod to "compute" but rather "service"? Thanks, Josh On Fri, Jan 17, 2014 at 5:49 PM, Josh Nielsen <jniel...@hudsonalpha.org> wrote: Nevermind, it was the funky "provmethod" value. Would provisioning it with "nodeset xcat-serv1 osimage=centos6.4-x86_64-install-compute" change the "provmethod" to the same thing as the osimage? The provmethod needs to simply be "install". Not sure how it got the same name as the osimage. -Josh On Fri, Jan 17, 2014 at 5:43 PM, Josh Nielsen <jniel...@hudsonalpha.org> wrote: A node I am deploying seems to be grabbing the wrong otherpkgs.pkglist file. I have placed pkglist files in /install/custom/install/centos and created one the service group/profile. In that directory are these files: compute.otherpkgs.pkglist compute.pkglist compute.tmpl hinode01.tmpl service.otherpkgs.pkglist service.tmpl I want to use the "service.otherpkgs.pkglist" file. I deployed a node xcat-serv1 which belongs to the service group but it did not install the RPMs I specified in the otherpkgs.pkglist file for 'service'. When I did an lsdef I saw that the profile was set to "compute" and realized that would be a problem so I changed it to 'service' as well and tried an "updatenode xcat-serv1 otherpkgs" but it didn't make a difference. Here is the current node definition: [root@x3650-head01 centos]# lsdef xcat-serv1 Object name: xcat-serv1 arch=x86_64 currchain=boot currstate=boot groups=service,ipmi,all initrd=xcat/osimage/centos6.4-x86_64-install-compute/initrd.img installnic=mac kernel=xcat/osimage/centos6.4-x86_64-install-compute/vmlinuz netboot=xnba nodetype=osi os=centos6.4 postscripts=syslog,remoteshell,ospkgs,addsiteyum,otherpkgs,syncfiles,ifcfg-eth,fstab,servicenode primarynic=mac profile=service provmethod=centos6.4-x86_64-install-compute <snipped> The "groups" and "profile" look correct now, but I still can't get the right packages to install. Is there a particular line in the "otherpkgs" postscript I could use to print a variable with the file name of the file chosen/matched against? I looked but only found a variable with the actual parsed packages from whatever file it chose. It looks like it is using the compute.otherpkgs.pkglist. I can't quite figure out why it wouldn't match though. This page seems to indicate that my directory and nomenclature for the files is correct: http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Using_Provmethod%3Dinstall,netboot_or_statelite . And I know the kickstarts from that folder work since they are used during provisioning. It is usually something simple. Does anyone see what I am missing? Thanks, Josh ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user