AIX clone (링크)

찾는 HP-UX는 안나오고…

http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.install%2Fdoc%2Finsgdrf%2FHT_insgdrf_altdiskinstall_clone.htm


원래 제목은
Cloning a rootvg using alternate disk installation

없어질지도 모르니(IBM)에서 운영하니 그럴리야 없겠지만..

 

Using this scenario, you can clone AIX® running on rootvg to an alternate disk on the same system, install a user-defined software bundle, and run a user-defined script to customize the AIX image on the alternate disk.

Things to Consider 

The information in this how-to scenario was tested using specific versions of AIX. The results you obtain might vary significantly depending on your version and level of AIX.

Because the alternate disk installation process involves cloning an existing rootvg to a target alternate disk, the target alternate disk must not be already assigned to a volume group.

In this scenario you will do the following: 

  • Prepare for the alternate disk installation
  • Perform the alternate disk installation and customization
  • Boot off the alternate disk
  • Verify the operation

For information about alternate disk installation, see Installing to an alternate disk. Also, refer to thealt_disk_copy man page.

Step 1. Prepare for the alternate disk installation

  1. Check the status of physical disks on your system. Type:

    Output similar to the following displays:

    We can use hdisk1 as our alternate disk because no volume group is assigned to this physical disk.
  2. Check to see if the alt_disk_copy fileset has been installed by running the following:

    Output similar to the following displays if the alt_disk_copy fileset is not installed:
  3. Using volume 1 of the AIX installation media, install the alt_disk_copy fileset by running the following:

    Output similar to the following displays:
  4. Create a user-defined bundle called /usr/sys/inst.data/user_bundles/MyBundle.bnd that contains the following filesets:

    For more information on how to create a user-defined software bundle, refer to Creating and installing a software bundle.
  5. Create the /home/scripts directory:
  6. Create a user-defined customization script called AddUsers.sh in the /home/scripts directory:
  7. Edit /home/scripts/AddUsers.sh to contain the following lines:

Step 2. Perform the alternate disk installation and customization

  1. To clone the rootvg to an alternate disk, type the following at the command line to open the SMIT menu :
  2. Select hdisk1 in the Target Disk to Install field.
  3. Select the MyBundle bundle in the Bundle to Install field.
  4. Insert volume one of the installation media.
  5. Type /dev/cd0 in the Directory or Device with images field.
  6. Type /home/scripts/AddUsers.sh in the Customization script field.
  7. Press Enter to start the alternate disk installation.
  8. Check that the alternate disk was created, by running the following:

    Output similar to the following displays: 

Step 3. Boot from the alternate disk

  1. By default, the alternate-disk-installation process changes the boot list to the alternate disk. To check this run the following:

    Output similar to the following displays:
  2. Reboot the system. Type:

    The system boots from the boot image on the alternate disk (hdisk1).

Step 4. Verify the operation

  1. When the system reboots, it will be running off the alternate disk. To check this, type the following:

    Output similar to the following displays:
  2. Verify that the customization script ran correctly, by typing the following:

    Output similar to the following displays:
  3. Verify that the contents of your software bundle was installed, by typing the following:

    Output similar to the following displays:

 

댓글 남기기

Your email address will not be published.

%d 블로거가 이것을 좋아합니다: