-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marianne,
You've highlighted that I wrote those instructions from the viewpoint of
adding imaging support to xCAT for use with VCL. VCL would be issuing the
commands to xCAT; so, I didn't think to note what they would be. I'll add
that info to the page as well as the items you listed.
To capture an image, you use
nodeset <node> image
To deploy the image, you use
nodeset <node> install
In xCAT's nodetype table, you need to set the OS for the node to 'image'.
Images will be captured to
${INSTALLROOT}/image/${ARCH}/${PROFILE}
where ${INSTALLROOT} is where install media and stuff gets places (typically
/install) and ${ARCH} and ${PROFILE} are from the nodetype table.
It looks like you have most values set correctly. You'll need to set
IMAGELIBINSTALLDIR to just '/install'.
One thing to note is that partimage cannot capture ext4.
If everything goes well, you should be able to watch it boot the kernel from
the remote console, and then run 'nodestat <node>' to see the progress of the
image capture.
Keep posting any problems you encounter, and I'll do my best to guide you
through them.
Also, VCL has an IRC room on freenode at #asfvcl if that would be helpful.
I'm typically available there between 9am and 4pm EST during work days.
Josh
On Tuesday, July 17, 2012 3:29:56 AM Marianne Rieckmann wrote:
> Hi Josh,
> Thanks for your reply. I am also using IBM BladeCenter hardware using HS20
> and HS21 blades, so your solution should work well.
>
> I have run through your instructions for "Adding support for partimage and
> partimage-ng to xCAT 2.x (unofficial)" Two other things I did were;
> 1. restart xcatd using the 'service xcatd stop' and 'service xcatd start'
> commands 2. copied the default.tmpl to createimage.x86.tmpl in the
> $XCATROOT/share/xcat/install/ directory
>
> Now the following error messages are shown
> [root@gouda-san x86]# nodeset gouda6 install
> Error: No image file found for compute in /install/image/x86
> Error: Some nodes failed to set up install resources, aborting
>
> I tried putting a img file in the /install/image/x86 directory (a copy of
> your initrd.img), and that allowed the nodeset <> install to function but
> on rebooting the node the image capture process did not working.
>
> Any ideas?
> Regards,
> Marianne.
>
> PS some of the settings for the blade center that may be relevent
>
> [root@gouda-san x86]# tabdump nodetype
> #node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
> "gouda6","image","x86","compute","install",,"osi",,
> "gouda1","centos6.2","x86_64","compute","netboot",,"osi",,
>
> [root@gouda-san x86]# lsdef gouda6
> Object name: gouda6
> addkcmdline=boot_delay=50 usb-handoff acpi=off noapic
> arch=x86
> cons=blade
> currchain=boot
> currstate=boot
> groups=all,hs20,blade,compute
> id=6
> initrd=xcat/image/x86/initrd.img
> installnic=mac
>
> kcmdline=imgurl=http://gouda-san//install/image/x86/installer_files/rootimg
> .gz image=/install/image/x86/compute.img blocks=512 action=restore
> installnic=mac reboot console=ttyS1,19200n8r noipv6
> kernel=xcat/image/x86/vmlinuz
> mac=00:XX:XX:XX:XX:aa|00:XX:XX:XX:XX:ab!*NOIP*
> mgt=blade
> mpa=gouda-amm1
> mtm=884325M
> netboot=pxe
> nfsserver=gouda-san
> nodetype=osi
> os=image
> postbootscripts=otherpkgs
> postscripts=syslog,remoteshell,syncfiles,setupntp,configeth
> primarynic=mac
> profile=compute
> provmethod=install
> serial=99GKR59
> serialflow=hard
> serialport=1
> serialspeed=19200
> status=booting
> statustime=05-22-2012 10:46:13
> xcatmaster=gouda-san
>
> [root@gouda-san x86]# tabdump site
> #key,value,comments,disable
> "blademaxp","64",,
> "fsptimeout","0",,
> "installdir","/install",,
> "ipmimaxp","64",,
> "ipmiretries","3",,
> "ipmitimeout","2",,
> "consoleondemand","no",,
> "master","192.168.XXX.1",,
> "nameservers","192.168.XXX.1",,
> "maxssh","8",,
> "ppcmaxp","64",,
> "ppcretry","3",,
> "ppctimeout","0",,
> "powerinterval","0",,
> "syspowerinterval","0",,
> "sharedtftp","1",,
> "SNsyncfiledir","/var/xcat/syncfiles",,
> "tftpdir","/tftpboot",,
> "xcatdport","3001",,
> "xcatiport","3002",,
> "xcatconfdir","/etc/xcat",,
> "timezone","Australia/Adelaide",,
> "useNmapfromMN","no",,
> "enableASMI","no",,
> "db2installloc","/mntdb2",,
> "databaseloc","/var/lib",,
> "sshbetweennodes","ALLGROUPS",,
> "dnshandler","ddns",,
> "vsftp","n",,
> "cleanupxcatpost","no",,
> "domain","cluster.net",,
> "dhcpinterfaces","gouda-san|eth0",,
> "ntpservers","gouda-san",,
> "forwarders","192.168.XXX.99",,
> "IMAGELIBSERVER","192.168.XXX.1",,
> "IMAGELIBINSTALLDIR","/install/image/x86/installer_files",,
>
>
>
> ________________________________________
> From: Josh Thompson [[email protected]]
> Sent: Monday, 16 July 2012 11:03 PM
> To: xCAT Users Mailing list
> Subject: Re: [xcat-user] Diskful image-based installs
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Marianne,
>
>
>
> Wow - that was pretty amazing timing. I did the partimage support described
>
> on the apache.org link you included. The Apache VCL project just graduated
>
> out of Apache's incubator to its own top level project. As part of that,
> our
>
> subversion repository got migrated to a different URL, resulting in the
> links
>
> to partimageng.pm and listener.py being broken. That just happened
> yesterday;
>
> so, you just missed the good links.
>
>
>
> I just updated the page to point to the correct places.
>
>
>
> I labeled the page as "unofficial" because it is not something I can devote
> a
>
> lot of time to supporting, but I do what I can to help people get it working
>
> when I do have time. Also, we only have IBM BladeCenter hardware to work
>
> with; so, I couldn't test the stateless image with other hardware to make
> sure
>
> it works okay.
>
>
>
> The Apache VCL project uses xCAT to do our bare metal provisioning,
> including
>
> imaging of windows and linux installs. We started with xCAT 1.x which
>
> included partimage. When we moved to xCAT 2.x, we needed partimage to be
> able
>
> to continue deploying all of our images. Egan Ford gave me some guidance on
>
> how to make it work, which led to what I explained on our wiki page.
>
>
>
> Josh Thompson
>
> Apache VCL developer
>
> On Monday, July 16, 2012 7:19:17 AM Marianne Rieckmann wrote:
> > Hi xcat users,
> >
> > I would like to use either of the following solutions for diskful images,
> >
> > http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Partimage
> >
> > or
> >
> > http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Image_Provision
> > in
> >
> > g What do you suggest?
> >
> >
> >
> > If the Partimage solution is the best, the links on the instruction page
> > are
> >
> > broken
> >
> > https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng
> > -
> >
> > to-xcat-2x-unofficial.html Is there a current link to the partimageng.pm
> > and
> >
> > listener.py available?
> >
> >
> >
> > Regards,
> >
> > Marianne
> >
> > --------------------------------------------------------------------------
> > --
> >
> > -- Live Security Virtual Conference
> >
> > Exclusive live event will cover all the ways today's security and
> >
> > threat landscape has changed and how IT managers can respond. Discussions
> >
> > will include endpoint security, mobile security and the latest in malware
> >
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >
> > _______________________________________________
> >
> > xCAT-user mailing list
> >
> > [email protected]
> >
> > https://lists.sourceforge.net/lists/listinfo/xcat-user
>
> - --
>
> - -------------------------------
>
> Josh Thompson
>
> VCL Developer
>
> North Carolina State University
>
>
>
> my GPG/PGP key can be found at pgp.mit.edu
>
>
>
> All electronic mail messages in connection with State business which
>
> are sent to or received by this account are subject to the NC Public
>
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
>
> iEYEARECAAYFAlAEGDwACgkQV/LQcNdtPQOiWwCdFT6GXfjwX7pyDvmv8XJk2vJt
> TksAmwWd/3gYe3KzXsAAARblj68AZsJB
> =E7Xg
> -----END PGP SIGNATURE-----
>
>
> ----------------------------------------------------------------------------
> -- Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
> ----------------------------------------------------------------------------
> -- Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
- --
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University
my GPG/PGP key can be found at pgp.mit.edu
All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
iEYEARECAAYFAlAFcTAACgkQV/LQcNdtPQP8AACfZBF+f5j28avRIWmFgs2u1SW4
tmAAn3VQwN1V9Zd7mddkkPWNl22LawZx
=fr6e
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user