What release of xCAT are your running now.

If you move to another machine, then you have the benefit of having the old
machine around for reference.
I think I would dumpxCATdb  ( please do not just copy files) on the old
machine.   run tabprune auditlog -a  before you do.  That is usually the
biggest table, unless you have been  pruning it or have auditlog turned
off.
Another good way to backup your configuration ( including the database) is
run xcatsnap.

I would  install the new machine  with Centos6  and go through the process
documented for setting up the MN .  I expect you might just want to
copy /etc/hosts and /etc/resolv.conf  from the previous MN.       If
hostname and ip address are the same then this should be pretty easily.
Install xCAT - good time to go the latest release.
restorexCATdb from your backup.

run makedns -a
run makedhpc -n
run makedhcp -a

Run rspconfig  to update the MM with the new ssh keys
run makeconservercf  to update with the new credentials

Run xdsh -K to your nodes to put out the new ssh keys.

Depending on how your nodes are provisioned,  There are probably
directories under /install   such as /install/custom you may want to copy
to the new machine.



If these are diskfull installed node,   I think this is about all you need
to do.

 If diskless images you might want to use the imgexport/imgimport commands,
You might want to generate new images for Centos6 thoough.    You are not
going to be able to generate a Centos 5 image on a Centos6 MN.









Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Stuart Barkley <[email protected]>
To:     [email protected],
Date:   07/18/2013 06:04 PM
Subject:        [xcat-user] Moving/Reinstalling xCAT



Is there any documentation on the process of moving xCAT from one node
to a new node (or just reinstalling on the same node).  We need to
move from CentOS 5 to CentOS 6 on our xCAT server (plus moving it from
one physical machine to one in a different rack).

Mostly I can treat it as a new installation, but there will be some
things necessary to preserve from the old system:

- The xCAT database.  This is easy enough to preserve (dumpxCATdb or
  just moving the sqlite files).
- The xCAT ssh keys (both server keys and compute nodes keys)
- The xCAT internal CA data
- Console server logs from /var/log/consoles (may be time to clean up
  some of the older log files)

Most of this data seems to live in /etc/xcat (except master ssh keys
in /etc/ssh).

I also intend to address moving/coping data from /install to the new
system.

Is there any other data which needs to be preserved when moving the
xCAT server to a new installation?

- Any other important log files?
- Anything else in /var?
- Anything not from .rpm files in /opt/xcat?

If I keep the same hostname/ip address is there anything I need to
change in the database or other configuration files?  Last time I
needed to re-IP an xCAT system it took me a while to find various
breakage using the old ip address.

What is best practice in having the xCAT system in the xCAT database?
I like having the console log files but don't want accidents happening
(like rpower off on the xCAT server).

Thanks,
Stuart
--
I've never been lost; I was once bewildered for three days, but never lost!
                                        --  Daniel Boone

------------------------------------------------------------------------------

See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to