How to clone a HP-UX using a ignite backup?
The recovery configurations and archives created by make_net_recovery
are stored in a separate directory on the Ignite-UX server for each
client. Using the configuration and archive created by make_net_recovery
on one system to install a different system involves manually copying
some configuration files, and allowing NFS access to the source system's
archive.
Details
The steps to clone a system using make_net_recovery are:
Use make_net_recovery (or the ignite GUI) to create a system recovery archive of the source system.
Login into the Ignite-UX server
If the target system to be installed does not currently have a directory in /var/opt/ignite/clients
but is up and running, then use the ignite GUI to create that directory
using the 'Add New Client for Recovery' action. If the system is not
running, you will either need to boot the client from the Ignite-UX
server (or for a tape made with make_boot_tape) in order for this
directory to be created.
Copy the CINDEX and recovery directory from the source client to
the target client directory. Note that if the target client has
previously used make_net_recovery then it will already have a CINDEX file. If the CINDEX
file for the target system exists already, you may want to save a copy,
and/or hand edit the file to add the desired entries from the source
client. The commands below will copy the required files, you may specify
src-client and target-client using either the LAN addresses (e.g.,
0x0060B04AAB30), or by using the client's hostname (which is a symlink
to the LAN address).
# vi /etc/hosts [Keep the new host name in /etc/hosts file on Ignite server]
# cd /var/opt/ignite/clients/src-client
# find CINDEX recovery | cpio -pdvma ../target-client
Give the target-client NFS access to the archive of the source system.
To do this, login to the server that holds the archive (normally the
Ignite-UX server).
Typically each client has its own directory for storing the archives,
and the directory is exported only to the individual client. In this
case, you will need to edit the /etc/exports file to allow access to
both the source and target
clients:
# vi /etc/exports
(append :target-client to the end of the source-client's line)
# exportfs –av
Now you can boot the target-client from the Ignite-UX server (using any
method you wish). Then when you install the system, you can select from
the recovery configurations of the source system.
0 comments:
Post a Comment