You can stay with your current "old" mechanism for your existing nodes. It
should still work fine in xCAT 2.8, but you will get warning msgs from
nodeset and other commands. It would be good to convert to the new osimage
support as you can after that. We are no longer adding function to or
fully testing the old method.
Linda
From: Garrick Staples <[email protected]>
To: <[email protected]>
Date: 06/18/2014 09:05 PM
Subject: Re: [xcat-user] osimage dabbling before upgrading to 2.8
Thank you for your input. I got everything you said below to work fine.
Should I convert my ~850 nodes and dozen users to osimage now and then
upgrade to latest 2.8? Or can I safely stay on the old system, upgrade to
2.8, and then convert to osimage?
I feel like I prefer the second approach if the "old system" is still safe
to use in latest 2.8.
On 06/18/2014 06:44 AM, Linda Mellor wrote:
The mkdef -u option was added in xCAT 2.8, which is why you are
getting the "invalid option" error. What the -u flag does is set
default paths for your imagedir and other attributes based on the
"old" arch/profile/provmethod search algorithms.
The easiest way to create a new osimage in xCAT 2.7.8 is to first
run copycds (if you have not done so in a recent version of xCAT)
which will create standard osimage defs corresponding with the distro
you just copied. Sounds like you have already done that if you can
see a full def for your centos6.2-x86_64-install-vm. So, then one way
to make a new image similar to that one is:
lsdef -t osimage centos6.2-x86_64-install-vm -z
> /tmp/newosimage.def
vi /tmp/newosimage.def
## make sure to change at least the object name
## for diskless and statelite image, also make sure to
set a unique rootimgdir so you don't accidently overwrite an existing
diskless image
## change any other attrs you would like to customize for
this osimage, especially: template, pkglist, otherpkglist, pkgdir,
otherpkgdir
cat /tmp/newosimgage.def | mkdef -z
Then to make sure it's what you want:
lsdef -t osimage -l <newosimage>
If you're not sure what some of the attrs might be, if you have a
node that is using the old arch/profile/provmethod, you can do:
lsdef <node> --osimage
and it will include the template, pkglist, etc., attrs in the node
definition output.
Linda
Inactive hide details for Garrick Staples ---06/17/2014
08:18:37 PM---Hi all, I'm on xcat 2.7.8 right now and
preparing for 2.8Garrick Staples ---06/17/2014 08:18:37 PM---Hi all,
I'm on xcat 2.7.8 right now and preparing for 2.8.x. I'm trying to
play
From: Garrick Staples <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 06/17/2014 08:18 PM
Subject: [xcat-user] osimage dabbling before upgrading to 2.8
Hi all,
I'm on xcat 2.7.8 right now and preparing for 2.8.x. I'm trying to
play
with osimages a bit but can't seem to define a new one. I see that
several already exist with 'lsdef -t osimage'. I can see the details
of
one with, say, 'lsdef -t osimage centos6.2-x86_64-install-vm'. But I
can't make a new one...
$ mkdef -t osimage centos6.5-x86_64-install-vm -u imagetype=linux
osarch=x86_64 osname=Linux osvers=centos6.2 profile=vm
provmethod=install
Error: Invalid option..
Should I just go ahead and upgrade to 2.8.x first? I want to get my
bearings straight on osimage before I am forced to migrate. I don't
want
to disrupt my users.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk
Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk
Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user