|
|
Custom Installation allows you to control which disks are added to Volume Manager control and how they are added. This is important if you do not want all your disks under Volume Manager control. Custom Installation also gives you the option of initializing all disks on a controller, encapsulating all disks on a controller, or initializing some disks on a controller and encapsulating others.
To use the Custom Installation option:
vxinstall asks a series of questions for each controller and disk it finds connected to your system. When a default response is displayed in parentheses, press <Enter> to accept that default. At any of the vxinstall prompts, select q to completely abandon the initialization and start over.
All disks are encapsulated or initialized (according to your instructions) at the end of the vxinstall procedure. If you quit vxinstall before it enters its final phase of actually initializing or encapsulating the disks, all disks will be left as they were before vxinstall started.
The c0b0t0d0 disk is your Boot Disk. You can not add it as a new disk. If you encapsulate it, you will make your root filesystem and other system areas on the Boot Disk into volumes. This is required if you wish to mirror your root file system or system swap area. Encapsulate Boot Disk [y,n,q,?] (default: n)
vxinstall now goes through each controller and asks you how to handle the disks contained on that controller. vxinstall begins this process for each controller by identifying the controller and generating a list of its disks:
Generating list of attached disks on c1.... The Volume Manager has detected the following disks on controller c1: c1b0t0d0 c1b0t1d0 c1b0t2d0 c1b0t3d0 c1b0t0d4Hit RETURN to continue.
If any disks are listed in the /etc/vx/disks.exclude file, they are listed here separately as excluded disks.
Installation options for controller c1 Menu: VolumeManager/Install/Custom/c11 Install all disks as pre-existing disks. (encapsulate) 2 Install all disks as new disks. (discards data on disks!) 3 Install one disk at a time. 4 Leave these disks alone.
? Display help about menu ?? Display help about the menuing system q Exit from menus
Select an operation to perform:
Volumes will be created to encapsulate any partitions on all disks on this controller. The /etc/vfstab file will be updated to ensure that file systems previously mounted on disk partitions will be mounted as volumes instead.
At the following prompt, indicate whether you want default disk names to be assigned to all of the disks on the controller
Use default disk names for these disks? [y,n,q,?] (default: y)
The c1b0t0d0 disk will be given disk name disk01 The c1b0t0d0 disk has been configured for encapsulation. The c1b0t1d0 disk will be given disk name disk02 The c1b0t1d0 disk has been configured for encapsulation.Hit RETURN to continue.
If any disks are found to be empty, the following message indicates that they will be initialized instead of encapsulated:
The c3b0t2d0 disk appears to be empty. Adding as a new disk.
Enter disk name for c1b0t0d0 [<name>,q,?] (default: disk01)
For each disk, respond with the desired disk name and press <Enter>.
When all of the disks on the current controller have been named, press <Enter> to move on to the next controller.
All disks on this controller will be reinitialized. This destroys all data and partitions on each disk and makes the disk available as free space for allocating new volumes, or mirrors of existing volumes. If you are running vxinstall on new disks that have never been placed under Volume Manager control before, choose this option so that the disks will be repartitioned according to the Volume Manager's specifications.
At the following prompt, indicate whether you want default disk names to be assigned to all of the disks on the controller
Use default disk names for these disks? [y,n,q,?] (default: y)
The c1b0t0d0 disk will be given disk name disk01 The c1b0t1d0 disk will be given disk name disk02Hit RETURN to continue.
Enter disk name for c1b0t0d0 [<name>,q,?] (default: disk01)
For each disk, respond with the desired disk name and press <Enter>.
When all of the disks on the current controller have been named, press <Enter> to move on to the next controller.
Each disk will be handled separately and you will be prompted for information on a per-disk basis. This allows you to install a disk as a pre-existing disk, install it as a new disk, or leave it alone.
At the following prompt, select the option that matches how you want this disk to be handled:
Installation options for disk c1b0t0d0 Menu: VolumeManager/Install/Custom/c1/c1b0t0d01 Install as a pre-existing disk. (encapsulate) 2 Install as a new disk.(discards data on disks!) 3 Leave this disk alone.
? Display help about menu ?? Display help about the menuing system q Exit from menus Select an operation to perform:
These options are similar to those in the Custom Installation main menu. Once you have selected how to handle this disk, follow the instructions provided for that option in Step 3.
Press <Enter> to move on to the next disk. Repeat the previous step for the remaining disks on the current controller.
When all of the disks on the current controller have been named, press <Enter> to move on to the next controller.
No changes will be made to the disks and they will not be placed under Volume Manager control. If applications are currently using these disks and you do not want to upgrade these applications to use the Volume Manager, you can use this option to ensure that your applications can continue to use the disks without modification.
When you have completed the vxinstall procedure for all controllers on your system, vxinstall displays a summary of the disks you have designated for initialization (New Disk) or encapsulation (Encapsulate) on each controller:
The following is a summary of your choices. c0b0t5d0 New Disk c1b0t0d0 New Disk c1b0t1d0 New Disk c1b0t2d0 New Disk c2b0t2d3 New Disk c3b0t0d0 Encapsulate c3b0t1d0 Encapsulate c3b0t2d0 New DiskIs this correct [y,n,q,?] (default: y)
This is your last chance to review and alter your choices about how to handle any of the disks to be placed under Volume Manager control.
Enter disk to be removed from your choices. Hit return when done. [<name>,q,?]
Enter the name of the disk to be removed from the list and press <Enter>. Repeat for each disk to be removed and then press <Enter> once more. vxinstall should now display an updated summary without the disks chosen for removal. If you are now satisfied with the summary, enter y.
After running vxinstall, you should shut down and reboot your machine immediately or at the earliest opportunity. Refer to ``Rebooting after vxinstall''.
If a shutdown is not required, vxinstall indicates successful completion of the installation.
Installation is complete.