Using the make_[tapenet]_recovery method
The make_[tapenet]_recovery tools are designed to reproduce a system exactly the way it was at the time the snapshot was taken. These tools try to accommodate cloning in various ways:
•You can change hostname and networking information.
•You can make changes to disks and file systems during the recovery.
•You can detect hardware model changes and rebuild the kernel. However, their attempt to reproduce a system exactly may be undesirable:
•The disk layout is saved
•Hardware instance numbers for devices that exist at the same paths between systems have the instance numbers preserved from the original system. This can cause
•Many files that are specific to the system the recovery image was taken from are preserved. This includes many log files, etc.
•When the kernel is rebuilt (in the "cloning" situation), drivers may be added as needed by the hardware, but unused drivers will not be removed.
Cloning a System Using make_net_recovery
The recovery configurations and archives created by make_net_recovery are stored in a separate directory on the
A system recovery tape created using make_tape_recovery can also be used to clone systems. The system you are installing by cloning must have a local tape drive so you can boot from the system recovery tape.
The following example illustrates how to clone a system:
1.Use make_net_recovery or
2.On the
If the client is not running, you will either need to boot it from the
3.Copy the CINDEX and recovery directory from a source client to the target client directory. If the target client has previously used make_net_recovery, it will already have a CINDEX file. If the CINDEX file for the client exists, you might want to save a copy and then edit the file to add the desired entries from the source client. The following commands copy the required files. You may specify src_client and target_client using either the MAC address or the client’s hostname, which is a symbolic link to the MAC address:
#cd /var/opt/ignite/clients/src_client
#find CINDEX recovery cpio
4.Give the target client NFS access to the recovery image of the source system. Typically each target client has its own directory on the source system for storing the recovery images and
System Recovery 215