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

Undoing Activation of the Inactive System Image

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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.

TIP: If you have already booted the (previously) inactive image, you can use drd activate to return to the (previously) active image.

Example 5-2 Using drd deactivate After Activating — Legacy DSF

In this example, /dev/dsk/c2t3d0 contains your root volume group, and you use drd clone to create an inactive system disk at /dev/dsk/c1t2d0. Next, you execute drd activate. The results are:

  • Disk set to become the active system disk after the next reboot: /dev/dsk/c1t2d0

  • Disk set to become the inactive system disk after the next reboot: /dev/dsk/c2t3d0

The output of drd status is:

# /opt/drd/bin/drd status ======= 07/01/08 13:14:36 MDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=drdtest1) * Clone Disk: /dev/dsk/c1t2d0 * Clone LIF Area: AUTO file present, Boot loader present * Clone Creation Date: 07/01/08 09:37:58 MDT * Clone Mirror Disk: None * Mirror LIF Area: None * Original Disk: /dev/dsk/c2t3d0 * Original LIF Area: AUTO file present, Boot loader present * Booted Disk: Original Disk (/dev/dsk/c2t3d0) * Activated Disk: Clone Disk (/dev/dsk/c1t2d0) ======= 07/01/08 13:14:42 MDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=drdtest1)

If plans change prior to rebooting the system and you do not want to have /dev/dsk/c1t2d0 become the active system disk, you can use drd deactivate to “undo” the previous drd activate command.

The results are:

  • Disk set to become the active system disk after the next reboot: /dev/dsk/c2t3d0

  • Disk set to become the inactive system disk after the next reboot: /dev/dsk/c1t2d0

The output of drd status is:

# drd status ======= 07/01/08 13:14:36 MDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=drdtest1) * Clone Disk: /dev/dsk/c1t2d0 * Clone LIF Area: AUTO file present, Boot loader present * Clone Creation Date: 07/01/08 09:37:58 MDT * Clone Mirror Disk: None * Mirror LIF Area: None * Original Disk: /dev/dsk/c2t3d0 * Original LIF Area: AUTO file present, Boot loader present * Booted Disk: Original Disk (/dev/dsk/c2t3d0) * Activated Disk: Original Disk (/dev/dsk/c2t3d0) ======= 07/01/08 13:14:42 MDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=drdtest1)

Example 5-3 Using drd deactivate After Activating — Agile DSF

In this example, drd activate is executed on a system without performing a reboot, followed by running drd deactivate, and the end result is no change. For example, if you have a system with the root volume group on /dev/disk/disk11 and a clone created on /dev/disk/disk10, the output of drd status is:

# drd status ======= 07/01/08 13:20:04 MDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=drdtest1) * Clone Disk: /dev/disk/disk10 * Clone LIF Area: AUTO file present, Boot loader present * Clone Creation Date: 07/01/08 09:37:58 MDT * Clone Mirror Disk: None * Mirror LIF Area: None * Original Disk: /dev/disk/disk11 * Original LIF Area: AUTO file present, Boot loader present * Booted Disk: Original Disk (/dev/disk/disk11) * Activated Disk: Original Disk (/dev/disk/disk11) ======= 07/01/08 13:20:10 MDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=drdtest1)

If you use drd activate and do not perform a reboot, and then use drd deactivate, the output of drd status is:

# drd status ======= 07/01/08 13:20:04 MDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=drdtest1) * Clone Disk: /dev/disk/disk10 * Clone LIF Area: AUTO file present, Boot loader present * Clone Creation Date: 07/01/08 09:37:58 MDT * Clone Mirror Disk: None * Mirror LIF Area: None * Original Disk: /dev/disk/disk11 * Original LIF Area: AUTO file present, Boot loader present * Booted Disk: Original Disk (/dev/disk/disk11) * Activated Disk: Original Disk (/dev/disk/disk11) ======= 07/01/08 13:20:10 MDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=drdtest1)
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.