This section describes the procedure for copying system images using the cloning function.
Note
Before starting up the copy destination system, make sure that the NIC cables are disconnected or the copy source is stopped, or connect from the copy source system to an isolated network, taking care that there are no IP addresses in duplicate with the copy source system.
The MAC addresses of the copy source system and destination system NICs are different. Depending on the cloning software/function you are using, update the MAC addresses either by initializing the NIC settings when cloning, or by modifying the NIC settings manually after cloning.
Copy the system Disk
Copy the system disk image to the destination system.
Copy the system disk image with the following functions of the OS:
For Solaris 10: Flash archive
For Solaris 11 or later: Unified Archives
Note
For Solaris 11 or later, when creating an archive by the archiveadm create command, specify the --root-only option to exclude storage pools other than the ZFS root pool from the archive.
When mirroring the system disk, the disk label of the system disk of the copy destination must be VTOC. When using the Unified Archives, by describing the following parameters in the target element of the manifest file (AI manifest) of the automatic installer that is used when restoring the archives, the disk label of the system disk of the copy destination can be set to VTOC.
<disk whole_disk="true"> <disk_name name="disk_name" name_type="ctd"/> <slice name="0" in_zpool="rpool"> <size val="slice_size"/> </slice> <slice name="2"> </slice> </disk>
(Example) If the disk name of the restore destination of the archives is c0t50000393CC8833B8d0, and the size of the slice s0 for the ZFS root pool is 195284992 sectors
<target name="desired"> <disk whole_disk="true"> <disk_name name="c0t50000393CC8833B8d0" name_type="ctd"/>
<slice name="0" in_zpool="rpool">
<size val="195284992s"/>
</slice>
<slice name="2">
</slice>
</disk>
<logical> ...
For details on the AI manifest, see the OS manuals such as ai_manifest(4).
It is not necessary to copy mirrored disk when the system disk mirroring is set and also the boot disk in the alternative boot environment when using PRIMECLUSTER GD Snapshot.
After copying the system disk image, change the settings of the OS and other MW referring to the manuals for each product.
Copy the disks that are registered in a local class or a shared class of GDS.
The disks registered in local or shared classes of GDS can be copied by one of the following methods:
Copy the whole data of the disk including the GDS private slice.
Copy the data of the GDS private slice only.
Copy the data of the volume area only.
Do not copy any of the disk data.
Determine the copy range by the specifications of the cloning software or function you use for data copying (data of which area can be copied) and by the need of copying the data from the volume area.