NOTE: The following example does not correspond to any of the figures in this guide. Example 6-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)

The drd activate and drd deactivate commands enable you to choose an image to be booted the next time the system is restarted. An image is considered to be activated if it will be booted at the next restart of the system. Executing the drd activate command activates the inactive system image. Executing the drd deactivate command activates the booted image. For more details about the use of drd activate and drd deactivate, see the Using Dynamic Root Disk Activate and Deactivate Commands white paper, at http://www.hp.com/go/drd-docs.

6.2 Undoing activation of the inactive system image

If you run drd activate and then decide not to boot the inactive image on the next reboot, use the drd deactivate command to set the primary boot disk to the currently booted disk. For further information on the drd deactivate command, see The drd deactivate command and the drd-deactivate(1M) manpage.

6.2 Undoing activation of the inactive system image 35

Page 35
Image 35
HP Dynamic Root Disk (DRD) manual Undoing activation of the inactive system image