Buscador

martes, 4 de enero de 2011

Crear un disco copia de arranque AIX

#TSM:/>lspv
hdisk2          00c5f36d51b6af19                    tsmvg           active
hdisk3          00c5f36dca20c051                    tsm2vg          active
hdisk4          00c5f36dd467eccc                    rmanvg          active
hdisk5          00c5f36df46f51f3                    tsm2vg          active
hdisk6          00c5f36d2d489237                    tsmvg           active
hdisk7          00c5f36d6c67639b                    swapvg          active
hdisk8          00c5f36d6c604ede                    rootvg          active
hdisk0          none                                None

#TSM:/>bootlist -m normal -o
hdisk8 blv=hd5
hdisk8 blv=hd5
#TSM:/>alt_disk_copy -d hdisk0
Calling mkszfile to create new /image.data file.
Checking disk sizes.
Creating cloned rootvg volume group and associated logical volumes.
Creating logical volume alt_hd5
Creating logical volume alt_hd6
Creating logical volume alt_hd8
Creating logical volume alt_hd4
Creating logical volume alt_hd2
Creating logical volume alt_hd9var
Creating logical volume alt_hd3
Creating logical volume alt_hd1
Creating logical volume alt_hd10opt
Creating logical volume alt_lg_dumplv
Creating logical volume alt_maestrolv
Creating logical volume alt_fslv02
Creating /alt_inst/ file system.
Creating /alt_inst/home file system.
Creating /alt_inst/ieci file system.
Creating /alt_inst/opt file system.
Creating /alt_inst/opt/tivoli/maestro file system.
Creating /alt_inst/tmp file system.
Creating /alt_inst/usr file system.
Creating /alt_inst/var file system.
Generating a list of files
for backup and restore into the alternate file system...
Backing-up the rootvg files and restoring them to the
alternate file system...








Modifying ODM on cloned disk.
Building boot image on cloned disk.
forced unmount of /alt_inst/var
forced unmount of /alt_inst/usr
forced unmount of /alt_inst/tmp
forced unmount of /alt_inst/opt/tivoli/maestro
forced unmount of /alt_inst/opt
forced unmount of /alt_inst/ieci
forced unmount of /alt_inst/home
forced unmount of /alt_inst
forced unmount of /alt_inst
Changing logical volume names in volume group descriptor area.
Fixing LV control blocks...
Fixing file system superblocks...
Bootlist is set to the boot disk: hdisk0
#TSM:/>
#TSM:/>
#TSM:/>
#TSM:/>
#TSM:/>
#TSM:/>
#TSM:/>
#TSM:/>
#TSM:/>bootlist -m normal hdisk8
#TSM:/>bootlist -m normal -o
hdisk8 blv=hd5
hdisk8 blv=hd5

Tendriamos que cambiar el boot de arranque al nuevo disco para que arrancase del nuevo disco. Esto es muy util para parchear la maquina.

No hay comentarios:

Publicar un comentario