Red Hat SATELLITE 5.1.0 RELEASE NOTES Manual de instalación Pagina 158

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 268
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 157
140 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
Host name will be: linux01.example.com
IP address will be: 10.1.40.91
Do you want to continue? (y/n): y
The script makes sure the golden image user ID and the target user ID exist and are logged
off. Then, it confirms the order of the cloning and displays information collected from the
/etc/clone/linux01.conf file. Following this, it asks if you are sure you want to overwrite the
disks on the target user ID.
Next, the script links to the master clone minidisk and the target minidisk. The master
minidisks are linked to LNXINST at virtual address FFFE, and the target minidisks are linked as
FFFF. The FFFE links are read-only and the FFFF links are read-write. With the links in place,
the script issues a FLASHCOPY command to copy the master’s 100 and 101 minidisks to the
clone’s 100 and 101 minidisks, respectively. The script then detaches the links. If FLASHCOPY
fails, the script attempts to use dasdfmt and dd.
Cloning rhel52 to linux01 ...
Copying minidisks...
Invoking CP command: QUERY VIRTUAL FFFE
Invoking CP command: LINK RHEL52 0100 FFFE RR
Invoking CP command: QUERY VIRTUAL FFFF
Invoking CP command: LINK LINUX01 0100 FFFF W
Invoking CP command: FLASHCOPY FFFE 0 END FFFF 0 END
0100 disk copied ...
Invoking CP command: DETACH FFFE
Invoking CP command: DETACH FFFF
Invoking CP command: QUERY VIRTUAL FFFE
Invoking CP command: LINK RHEL52 0101 FFFE RR
Invoking CP command: QUERY VIRTUAL FFFF
Invoking CP command: LINK LINUX01 0101 FFFF W
Invoking CP command: FLASHCOPY FFFE 0 END FFFF 0 END
0101 disk copied ...
Invoking CP command: DETACH FFFE
Invoking CP command: DETACH FFFF
Next, the LVM is brought online if necessary to access the root file system. This only happens
if the variables VG_NAME and LV_ROOT were set in the linux01.conf configuration file. If so, you
will see output similar to the following:
Reading all physical volumes. This may take a while...
Found volume group "system_vg" using metadata type lvm2
Found volume group "install_vg" using metadata type lvm2
5 logical volume(s) in volume group "system_vg" now active
Then, the root file system is mounted to /mnt/clone, and the networking information is
modified in /mnt/clone/etc/sysconfig/network/ifcfg-eth0,
/mnt/clone/etc/sysconfig/network, and /mnt/clone/etc/hosts:
Updating cloned image ...
Invoking CP command: QUERY VIRTUAL FFFF
Invoking CP command: LINK LINUX01 0100 FFFF W
Modifying networking info under /mnt/clone...
Regenerating SSH keys in /mnt/clone/etc/ssh/ ...
Invoking CP command: DETACH FFFF
Clone complete
Then the SSH keys are regenerated in such a way that they are unique for the new virtual
server. The new root file system is then unmounted, set offline, and detached:
Invoking CP command: XAUTOLOG LINUX01
Booting linux01
Vista de pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 267 268

Comentarios a estos manuales

Sin comentarios