Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Dynamic Root Disk Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 5 Activating the Inactive System Image

Preparing the Inactive System Image to Activate Later

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

If you do not want to make the inactive system image the active system image right away, you can configure the drd activate command so that it does not reboot the system. Because -x reboot=false is the default, the command is simply:

# /opt/drd/bin/drd activate 
NOTE: For descriptions of these options, see Option Descriptions

If you are not certain which system image is set to become the active system image when the system boots, execute the following command:

# /usr/sbin/setboot -v

For additional information, see the setboot(1M) manpage.

In the following example, on an HP-UX 11i v2 system, a system administrator uses /stand/bootconf, setboot, and ioscan to determine that, currently, the primary boot disk (the one that will be booted on the next reboot) is the same as the currently booted disk. The system administrator is ready to boot to the clone, but wants to set the alternate boot disk to the current boot disk. (In the event of any problem booting the clone, the system will then fall back to booting the alternate, current, disk.)

The system administrator issues the drd activate command shown below, then uses setboot to verify the settings.

NOTE: The following example does not correspond to any of the figures in this guide.

Example 5-1 Booting the primary boot disk with an alternate boot disk (HP-UX 11i v2)

# /usr/bin/more /stand/bootconf
l  /dev/dsk/c2t0d0s2 
#  
# /usr/sbin/setboot  
Primary bootpath : 0/1/1/0.0.0 
HA Alternate bootpath : 0/1/1/1.2.0 
Alternate bootpath : 0/1/1/1.2.0  

Autoboot is ON (enabled)  

#
# /usr/sbin/ioscan -fnkC disk 
Class     I  H/W Path       Driver     S/W State   H/W Type     Description 
====================================================================================== 
disk      0  0/0/2/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-N 
                            /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0 
disk      1  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       HP 36.4GST336754LC
                            /dev/dsk/c2t0d0     /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s2 
                            /dev/dsk/c2t0d0s1   /dev/rdsk/c2t0d0    /dev/rdsk/c2t0d0s3 
                            /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0s1 
disk      2  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       HP 36.4GST336754LC 
                            /dev/dsk/c2t1d0     /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s2
                            /dev/dsk/c2t1d0s1   /dev/rdsk/c2t1d0    /dev/rdsk/c2t1d0s3 
                            /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0s1 
disk      3  0/1/1/1.2.0    sdisk      CLAIMED     DEVICE       HP 36.4GST336706LC  
                            /dev/dsk/c3t2d0     /dev/dsk/c3t2d0s3   /dev/rdsk/c3t2d0s2 
                            /dev/dsk/c3t2d0s1   /dev/rdsk/c3t2d0    /dev/rdsk/c3t2d0s3 
                            /dev/dsk/c3t2d0s2   /dev/rdsk/c3t2d0s1 
#
# /usr/bin/more /stand/bootconf                               
l  /dev/dsk/c2t0d0s2 
#
# /opt/drd/bin/drd activate -x alternate_bootdisk=/dev/dsk/c2t0d0  

======= 06/06/07 22:38:02 MDT  BEGIN Activate Inactive System Image (user=root) (jobid=drd2)         
      * Checking for Valid Inactive System Image        
      * Reading Current System Information
      * Locating Inactive System Image
      * Determining Bootpath Status
      * Primary bootpath : 0/1/1/0.0.0 [/dev/dsk/c2t0d0] before activate.
      * Primary bootpath : 0/1/1/1.2.0 [/dev/dsk/c3t2d0] after activate.
      * Alternate bootpath : 0/1/1/1.2.0 [/dev/dsk/c3t2d0] before activate.
      * Alternate bootpath : 0/1/1/0.0.0 [/dev/dsk/c2t0d0] after activate.
      * HA Alternate bootpath : 0/1/1/1.2.0 [/dev/dsk/c3t2d0] before activate.
      * HA Alternate bootpath : 0/1/1/1.2.0 [/dev/dsk/c3t2d0] after activate.
      * Activating Inactive System Image  

======= 06/06/07 22:38:13 MDT END Activate Inactive System Image succeeded. (user=root) (jobid=drd2)  

#
# /usr/sbin/setboot  
Primary bootpath : 0/1/1/1.2.0 
HA Alternate bootpath : 0/1/1/1.2.0 
Alternate bootpath : 0/1/1/0.0.0  

Autoboot is ON (enabled) 

# 
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.