drd man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=drd&af=0&tf=2&of=HP-UX

drd(1M)								       drd(1M)

NAME
       drd  - manage an inactive system image

SYNOPSIS

       option_file]

       target_device_file option_file]

       option_file]

       option_file]

       system_information_file target_device_file] option_file]

       option_file] cmd <args>

       option_file]

       option_file]

       system_information_file target_device_file] option_file]

DESCRIPTION
       The  command  provides  a  command  line interface to Dynamic Root Disk
       (DRD) tools. Messages are displayed to standard error. The command  has
       nine major modes of operation:

	      Sets  the	 inactive system image to be the primary boot disk the
	      next time the system is booted.

	      Clones a booted system to an inactive system image.
		     The drd clone mode copies the LVM volume  group  or  VxVM
		     disk  group  containing the volume on which the root file
		     system ("/") is mounted.

	      Sets the active system image (i.e. the booted image) to  be  the
	      primary boot disk the next time the system is booted.

	      Mounts all file systems in an inactive system image.
		     The  mount	 point	of  the	 root  file  system  is either
		     /var/opt/drd/mnts/sysimage_000			    or
		     /var/opt/drd/mnts/sysimage_001.   If  the inactive system
		     image was created by the most recent drd  clone  command,
		     the   mount   point   of	the   root   file   system  is
		     /var/opt/drd/mnts/sysimage_001.  If the  inactive	system
		     image  was	 the  booted  system  when the most recent drd
		     clone command was run, the mount point of the  root  file
		     system is /var/opt/drd/mnts/sysimage_000.

	      Unmounts	all  file  systems in the inactive system image previ‐
	      ously mounted by a drd mount command.

	      Copies the system	 information  file,  containing	 hostname,  IP
	      address, and other system-specific information, to EFI/HPUX/SYS‐
	      INFO.TXT on the disk to be rehosted.

	      Runs a command on an inactive system image.  Only a select group
	      of commands may be run by the runcmd mode.
		     These  are	 commands  which have been verified to have no
		     affect on the booted system when executed by drd  runcmd.
		     Such  commands are referred to as DRD-Safe.  The commands
		     kctune, swinstall, swjob, swlist, swmodify, swm job list,
		     swm  job  log,  swm job status, swremove, swverify, view,
		     and  update-ux  are  currently  certified	DRD-Safe.   An
		     attempt  to  execute  any	other command will result in a
		     runcmd error.  In addition, not  every  software  package
		     may  safely  be  processed by sw* commands.  The DRD-Safe
		     SW-DIST commands and update-ux are aware of running in  a
		     DRD session and will reject any DRD-unsafe packages.  For
		     more  information	about  DRD-Safe	 packages,  see	  drd-
		     runcmd(1M).

	      Displays	status	information  for  an  existing inactive system
	      image.

	      Removes the system information file, EFI/HPUX/SYSINFO.TXT from a
	      disk  that  was rehosted, optionally preserving a copy in a file
	      system on the booted system.

   Options
       recognizes the following options:

	      Displays the usage message.

	      Decreases the verbosity level by one each time it is  specified.
	      For example,
		     will  reduce the verbosity from the default value of 4 to
		     2.	 If both and are included on  the  command  line,  the
		     effective	verbosity is 2. The minimum verbosity level is
		     0.	 (See also the option).

	      Increases the verbosity level by one each time it is  specified.
	      For example,
		     will  increase  the  effective verbosity from the default
		     value of 4 to 5. If both and are included on the  command
		     line, the effective verbosity is 3. The maximum verbosity
		     level is 5.  (See also the option).

	      Displays the list of possible
		     (extended) options.

	      Sets the extended option to a value.  See	 Extended  -x  Options
	      definitions below.

	      Gets the extended options from a file.

   Return Values
       major modes return the following values:

	      Success.
	      Error.
	      Warning.

   EXAMPLES
       To display usage information:

       To display extended option usage:

       To set the inactive system image as the primary boot disk:

       To set the inactive system image as the primary boot disk and a differ‐
       ent disk as the alternate boot disk:

	      For 11iv2:

	      For 11iv3:

       To boot to the inactive system image immediately:

       To display all extended options:

       To display usage for the command:

       To clone the root LVM volume group or VxVM disk group   to  a  physical
       device:

	      For 11iv2:

	      For 11iv3:

       To  preview  the	 clone of the root LVM volume group or VxVM disk group
       to a physical device:

	      For 11iv2:

	      For 11iv3:

       To display all extended options:

       To restore the active (booted) system image as the primary boot disk:

       To restore the active (booted) system image as the  primary  boot  disk
       and set a different disk as the alternate boot disk:

	      For 11iv2:

	      For 11iv3:

       To display all extended options:

       To mount the inactive system image:

       If the system image mounted was created by the most recent command, the
       root file system will be mounted at /var/opt/drd/mnts/sysimage_001.

       If the system image was booted when the most recent  command  was  run,
       the root file system will be mounted at /var/opt/drd/mnts/sysimage_000.

       To display all extended options:

       To  copy	 the default system information file /etc/opt/drd/default_sys‐
       info_file to EFI/HPUX/SYSINFO.TXT in the EFI partition of the  inactive
       system image:

       To  copy	 the default system information file /etc/opt/drd/default_sys‐
       info_file to EFI/HPUX/SYSINFO.TXT in the	 EFI  partition	 of  the  disk
       /dev/disk/disk9:

       To  copy	 the  system  information  file /home/sysadmin/sysinfo_test to
       EFI/HPUX/SYSINFO.TXT in the EFI partition of the inactive system image:

       To copy the  system  information	 file  /home/sysadmin/sysinfo_test  to
       EFI/HPUX/SYSINFO.TXT in the EFI partition of the disk /dev/dsk/c0t0d0:

       To perfrom a preview of an update to 0903 HPUX11i-DC-OE on the inactive
       system image from the depot /var/opt/1131_0903_DCOE:

       To update the inactive image  to	 0903  HPUX11i-DC-OE  from  the	 depot
       /var/opt/1131_0903_DCOE, and explicitly deselect T1458AA:

       To  see	the  software  that  is installed on the inactive system image
       (without any need to mount the image first):

       To install PHCO_0001 from the depot /var/opt/patches,  located  on  the
       system patchsvr:

       To   run	  a   preview	installation   of  PHCO_0001  from  the	 depot
       /var/opt/patches, located on the system patchsvr:

       To verify all software on the inactive system image:

       To remove PHKL_9999 from the inactive system image:

       To view the swagent log on the inactive system image:

       To display all extended options:

       To display system-specific information about the clone and the original
       disk:

       To unmount the inactive system image:

       To display all extended options:

       To  remove  EFI/HPUX/SYSINFO.TXT from the EFI partition of the inactive
       system image:

       To remove EFI/HPUX/SYSINFO.TXT from  the	 EFI  partition	 of  the  disk
       /dev/disk/disk9:

       To  remove  EFI/HPUX/SYSINFO.TXT from the EFI partition of the inactive
       system image, preserving a copy at /home/sysadmin/sysinfo_test:

       To remove EFI/HPUX/SYSINFO.TXT from  the	 EFI  partition	 of  the  disk
       /dev/dsk/c0t0d0, preserving a copy at /home/sysadmin/sysinfo_test:

AUTHOR
       was developed by Hewlett-Packard Development Company, L.P.

FILES
       Log file.

SEE ALSO
       auto_parms(1M),	drd-activate(1M),  drd-clone(1M),  drd-deactivate(1M),
       drd-mount(1M),  drd-rehost(1M),	drd-runcmd(1M),	 drd-status(1M),  drd-
       umount(1M), drd-unrehost(1M), ioscan(1M), kctune(1M), sysinfo(4), swap‐
       info(1M), swinstall(1M), swlist(1M), swmodify(1M),  swm-job(1M),	 swre‐
       move(1M),    swverify(1M),   update-ux(1M),   vgdisplay(1M),   view(1),
       vxdisk(1M)

       Dynamic	  Root	  Disk	  Administrator's    Guide,    available    at
       http:docs/hp.comenDRD.

								       drd(1M)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net