Actually genimage looks like it is for statelite images, which is not what I need. I in fact need to create a centos6.4-x86_64-install-service image since I do not have one (see my centos 6.4 images below). I don't have to run copycds again do I? How do I create a new osimage definition specifically with a "service" profile?
My existing Centos 6.4 images: centos6.4-x86_64-install-all (osimage) centos6.4-x86_64-install-compute (osimage) centos6.4-x86_64-install-iscsi (osimage) centos6.4-x86_64-install-kvm (osimage) centos6.4-x86_64-install-login (osimage) centos6.4-x86_64-install-storage (osimage) centos6.4-x86_64-install-xen (osimage) centos6.4-x86_64-netboot-compute (osimage) centos6.4-x86_64-netboot-kvm (osimage) centos6.4-x86_64-netboot-xen (osimage) centos6.4-x86_64-statelite-compute (osimage) centos6.4-x86_64-statelite-kvm (osimage) centos6.4-x86_64-statelite-xen (osimage) -Josh On Mon, Jan 20, 2014 at 8:22 AM, Lissa Valletta <lis...@us.ibm.com> wrote: > 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 > > > > [image: Inactive hide details for Josh Nielsen ---01/17/2014 07:01:23 > PM---Answering more of my questions (I think): genimage -p [profi]Josh > Nielsen ---01/17/2014 07:01:23 PM---Answering more of my questions (I > think): genimage -p [profile] looks like the way to go to make a s > > 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*<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* <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* <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*<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 > > > > ------------------------------------------------------------------------------ > 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 > >
<<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