<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Backup with VXVM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121767#M599142</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You did not provide details of your setup.&lt;BR /&gt;Version of HP-UX, VxVM version, backup&lt;BR /&gt;softwqare (do you use Symantec NetBackup,&lt;BR /&gt;or HP Data Protector, or something else),&lt;BR /&gt;and so on...&lt;BR /&gt;&lt;BR /&gt;For example, Symantec NetBackup offers&lt;BR /&gt;bare-metal recovery.&lt;BR /&gt;&lt;BR /&gt;Otherwise, you can use something as simple&lt;BR /&gt;as tar(1) or fbackup(1) as long as you&lt;BR /&gt;know their limitations.&lt;BR /&gt;&lt;BR /&gt;It all depends on your Business Continuity Plan. In other words, what is the financial&lt;BR /&gt;loss per hour if the server goes down?&lt;BR /&gt;That is the primary question I ask when I &lt;BR /&gt;design new servers. If I get the answer in &lt;BR /&gt;hundreds of thousands of dollars, then a &lt;BR /&gt;robust server is needed.&lt;BR /&gt;&lt;BR /&gt;If you at luxury to recover the server in, &lt;BR /&gt;say, 24 hours, than you might not need an expensive DR solution.&lt;BR /&gt; &lt;BR /&gt;Having software RAID1 (mirroring) is always a &lt;BR /&gt;good idea for critical data like operating&lt;BR /&gt;system (unless you can use RAID5 for boot&lt;BR /&gt;disks on SAN).&lt;BR /&gt;&lt;BR /&gt;If you lose one disk, the system will automatically use the other one.&lt;BR /&gt;&lt;BR /&gt;Many options exist to help you in&lt;BR /&gt;various disaster recovery scenarios.&lt;BR /&gt;Some of them listed here:&lt;BR /&gt;&lt;BR /&gt;a) HP-UX Maintenance Mode Boot (MMB) is used&lt;BR /&gt;in the recovery from catastrophic&lt;BR /&gt;failures that have prevented the target machine from booting. If a mirrored root is&lt;BR /&gt;configured, then when booting in MMB mode, only one mirror is activated. &lt;BR /&gt;&lt;BR /&gt;b) If a failed primary boot disk is under &lt;BR /&gt;VxVM control and is mirrored, follow these&lt;BR /&gt;steps to replace it:&lt;BR /&gt;&lt;BR /&gt;1 Replace the failed boot disk.&lt;BR /&gt;Depending on the system hardware, this may &lt;BR /&gt;require you to shut down and power off the &lt;BR /&gt;system.&lt;BR /&gt;&lt;BR /&gt;2 Boot the system from a mirror of the root &lt;BR /&gt;disk, and use the vxrootmir command to&lt;BR /&gt;initialize and mirror the volumes on the new &lt;BR /&gt;root disk:&lt;BR /&gt;&lt;BR /&gt;/etc/vx/bin/vxrootmir -v -b new_root_disk_access_name&lt;BR /&gt;&lt;BR /&gt;The -b option sets the newly mirrored disk as &lt;BR /&gt;the alternate boot disk in the NVRAM.&lt;BR /&gt;&lt;BR /&gt;The -v option gives progress indications as &lt;BR /&gt;each volume is being mirrored.&lt;BR /&gt;&lt;BR /&gt;c) If you have lost your system completely,&lt;BR /&gt;and re-installing on a new system with a new array, recreate the same environment you had &lt;BR /&gt;before the disaster. &lt;BR /&gt;&lt;BR /&gt;The procedure assumes you save the following &lt;BR /&gt;results before the problem happens:&lt;BR /&gt;&lt;BR /&gt;vxprint -mpvshr &amp;gt; file1&lt;BR /&gt;vxprint -ht &amp;gt; file2&lt;BR /&gt;&lt;BR /&gt;1 Install the operating system&lt;BR /&gt;&lt;BR /&gt;2 Install Volume Manager&lt;BR /&gt;&lt;BR /&gt;3 Install Volume Manager license&lt;BR /&gt;&lt;BR /&gt;4 Create rootdg via the vxinstall utility&lt;BR /&gt;&lt;BR /&gt;5 Recreate other disk groups using the same &lt;BR /&gt;disk media names.&lt;BR /&gt;&lt;BR /&gt;vxdg init diskgroup disk_name=c#t#d#&lt;BR /&gt;&lt;BR /&gt;The disk_name is the dm name of the disk&lt;BR /&gt;when it was first added to the disk group.&lt;BR /&gt;&lt;BR /&gt;6 Add the required disks to your disk group one at a time using the following command:&lt;BR /&gt;&lt;BR /&gt;vxdg -g diskgroup_name adddisk disk_name2=c#t#d#&lt;BR /&gt;&lt;BR /&gt;7 Recreate the volumes using backup files&lt;BR /&gt;you hopefully saved before the disaster:&lt;BR /&gt;&lt;BR /&gt;vxmake -g diskgroup_name -d file1&lt;BR /&gt;&lt;BR /&gt;8 Recreate the file systems. Example:&lt;BR /&gt;&lt;BR /&gt;newfs /dev/vx/rdsk/disk_group_name/volname size&lt;BR /&gt;&lt;BR /&gt;9 Mount the file system and restore data&lt;BR /&gt;from backup&lt;BR /&gt;&lt;BR /&gt;Due to space constraints I will not go into other options like cloning and so on.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
    <pubDate>Sun, 30 Dec 2007 03:01:48 GMT</pubDate>
    <dc:creator>VK2COT</dc:creator>
    <dc:date>2007-12-30T03:01:48Z</dc:date>
    <item>
      <title>Backup with VXVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121766#M599141</link>
      <description>Hie,&lt;BR /&gt;How to backup the system disk which is encapsulated with VXVM ?&lt;BR /&gt;Tar all disk ?&lt;BR /&gt;For restore how to do ? How to do the boot part?&lt;BR /&gt;There is one disk mirrored. If I unclosed one of the disks is the other booting in each case ? &lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Thu, 27 Dec 2007 23:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121766#M599141</guid>
      <dc:creator>MAIQUES</dc:creator>
      <dc:date>2007-12-27T23:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Backup with VXVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121767#M599142</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You did not provide details of your setup.&lt;BR /&gt;Version of HP-UX, VxVM version, backup&lt;BR /&gt;softwqare (do you use Symantec NetBackup,&lt;BR /&gt;or HP Data Protector, or something else),&lt;BR /&gt;and so on...&lt;BR /&gt;&lt;BR /&gt;For example, Symantec NetBackup offers&lt;BR /&gt;bare-metal recovery.&lt;BR /&gt;&lt;BR /&gt;Otherwise, you can use something as simple&lt;BR /&gt;as tar(1) or fbackup(1) as long as you&lt;BR /&gt;know their limitations.&lt;BR /&gt;&lt;BR /&gt;It all depends on your Business Continuity Plan. In other words, what is the financial&lt;BR /&gt;loss per hour if the server goes down?&lt;BR /&gt;That is the primary question I ask when I &lt;BR /&gt;design new servers. If I get the answer in &lt;BR /&gt;hundreds of thousands of dollars, then a &lt;BR /&gt;robust server is needed.&lt;BR /&gt;&lt;BR /&gt;If you at luxury to recover the server in, &lt;BR /&gt;say, 24 hours, than you might not need an expensive DR solution.&lt;BR /&gt; &lt;BR /&gt;Having software RAID1 (mirroring) is always a &lt;BR /&gt;good idea for critical data like operating&lt;BR /&gt;system (unless you can use RAID5 for boot&lt;BR /&gt;disks on SAN).&lt;BR /&gt;&lt;BR /&gt;If you lose one disk, the system will automatically use the other one.&lt;BR /&gt;&lt;BR /&gt;Many options exist to help you in&lt;BR /&gt;various disaster recovery scenarios.&lt;BR /&gt;Some of them listed here:&lt;BR /&gt;&lt;BR /&gt;a) HP-UX Maintenance Mode Boot (MMB) is used&lt;BR /&gt;in the recovery from catastrophic&lt;BR /&gt;failures that have prevented the target machine from booting. If a mirrored root is&lt;BR /&gt;configured, then when booting in MMB mode, only one mirror is activated. &lt;BR /&gt;&lt;BR /&gt;b) If a failed primary boot disk is under &lt;BR /&gt;VxVM control and is mirrored, follow these&lt;BR /&gt;steps to replace it:&lt;BR /&gt;&lt;BR /&gt;1 Replace the failed boot disk.&lt;BR /&gt;Depending on the system hardware, this may &lt;BR /&gt;require you to shut down and power off the &lt;BR /&gt;system.&lt;BR /&gt;&lt;BR /&gt;2 Boot the system from a mirror of the root &lt;BR /&gt;disk, and use the vxrootmir command to&lt;BR /&gt;initialize and mirror the volumes on the new &lt;BR /&gt;root disk:&lt;BR /&gt;&lt;BR /&gt;/etc/vx/bin/vxrootmir -v -b new_root_disk_access_name&lt;BR /&gt;&lt;BR /&gt;The -b option sets the newly mirrored disk as &lt;BR /&gt;the alternate boot disk in the NVRAM.&lt;BR /&gt;&lt;BR /&gt;The -v option gives progress indications as &lt;BR /&gt;each volume is being mirrored.&lt;BR /&gt;&lt;BR /&gt;c) If you have lost your system completely,&lt;BR /&gt;and re-installing on a new system with a new array, recreate the same environment you had &lt;BR /&gt;before the disaster. &lt;BR /&gt;&lt;BR /&gt;The procedure assumes you save the following &lt;BR /&gt;results before the problem happens:&lt;BR /&gt;&lt;BR /&gt;vxprint -mpvshr &amp;gt; file1&lt;BR /&gt;vxprint -ht &amp;gt; file2&lt;BR /&gt;&lt;BR /&gt;1 Install the operating system&lt;BR /&gt;&lt;BR /&gt;2 Install Volume Manager&lt;BR /&gt;&lt;BR /&gt;3 Install Volume Manager license&lt;BR /&gt;&lt;BR /&gt;4 Create rootdg via the vxinstall utility&lt;BR /&gt;&lt;BR /&gt;5 Recreate other disk groups using the same &lt;BR /&gt;disk media names.&lt;BR /&gt;&lt;BR /&gt;vxdg init diskgroup disk_name=c#t#d#&lt;BR /&gt;&lt;BR /&gt;The disk_name is the dm name of the disk&lt;BR /&gt;when it was first added to the disk group.&lt;BR /&gt;&lt;BR /&gt;6 Add the required disks to your disk group one at a time using the following command:&lt;BR /&gt;&lt;BR /&gt;vxdg -g diskgroup_name adddisk disk_name2=c#t#d#&lt;BR /&gt;&lt;BR /&gt;7 Recreate the volumes using backup files&lt;BR /&gt;you hopefully saved before the disaster:&lt;BR /&gt;&lt;BR /&gt;vxmake -g diskgroup_name -d file1&lt;BR /&gt;&lt;BR /&gt;8 Recreate the file systems. Example:&lt;BR /&gt;&lt;BR /&gt;newfs /dev/vx/rdsk/disk_group_name/volname size&lt;BR /&gt;&lt;BR /&gt;9 Mount the file system and restore data&lt;BR /&gt;from backup&lt;BR /&gt;&lt;BR /&gt;Due to space constraints I will not go into other options like cloning and so on.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Sun, 30 Dec 2007 03:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121767#M599142</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2007-12-30T03:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Backup with VXVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121768#M599143</link>
      <description>Thanks for your answer. It is very complete.&lt;BR /&gt;I have assigned points. Did you receive them.&lt;BR /&gt;The OS is HP unix 11.0 &lt;BR /&gt;Volume Manager is 3.5&lt;BR /&gt;I have 2 disks 1 rootsystem and the other Rootmirror.&lt;BR /&gt;You say if one disk is failed the system boot  automatically on the other.&lt;BR /&gt;&lt;BR /&gt;NOw we have to put a Hardware patch.&lt;BR /&gt;&lt;BR /&gt;The HP engineer want to disclose the mirror to keep it if the patch installation is going bad.&lt;BR /&gt;How to know on which disk the system had booted  ? &lt;BR /&gt;&lt;BR /&gt;Can we Unclosed the disk which is not used by the system  to boot, to keep it if there any problem during patch installation ?&lt;BR /&gt;&lt;BR /&gt;If the patch installation has going bad can we unclosed the disk (may be after shutdown) in use an closed in the disk kept off ? &lt;BR /&gt;&lt;BR /&gt;Is there an action to valid the boot sector ?&lt;BR /&gt;&lt;BR /&gt;Thank you for the complete description to make a new disk with a backup. &lt;BR /&gt;&lt;BR /&gt;Sincerely.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Dec 2007 23:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121768#M599143</guid>
      <dc:creator>MAIQUES</dc:creator>
      <dc:date>2007-12-30T23:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Backup with VXVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121769#M599144</link>
      <description>Hello again,&lt;BR /&gt;&lt;BR /&gt;I am a bit puzzled. HP-UX 11.00 does not &lt;BR /&gt;support VxVM 3.5:&lt;BR /&gt;&lt;BR /&gt;11.00     JFS 3.1  Version 2   2GB   128GB&lt;BR /&gt;11.00     JFS 3.1  Version 3   1TB     1TB&lt;BR /&gt;11.00     JFS 3.3  Version 2   2GB   128GB&lt;BR /&gt;11.00     JFS 3.3  Version 3   1TB     1TB&lt;BR /&gt;11.00     JFS 3.3  Version 4   1TB     1TB&lt;BR /&gt;11i v1    JFS 3.3  Version 2   2GB   128GB&lt;BR /&gt;11i v1    JFS 3.3  Version 3   2TB     2TB&lt;BR /&gt;11i v1    JFS 3.3  Version 4   2TB     2TB&lt;BR /&gt;11i v1    JFS 3.5  Version 4   2TB     2TB&lt;BR /&gt;11i v2    JFS 3.5  Version 4   2TB     2TB&lt;BR /&gt;11i v2    JFS 3.5  Version 5   2TB    32TB&lt;BR /&gt;11i v2    JFS 4.1  Version 6   2TB    32TB&lt;BR /&gt;11i v3    JFS 4.1  Version 6   2TB    32TB&lt;BR /&gt;11i v2    JFS 5.0  Version 7   2TB    32TB&lt;BR /&gt;&lt;BR /&gt;If you still used HP-UX 11.00, than&lt;BR /&gt;an urgent upgrade would be most advisable.&lt;BR /&gt;HP does not support 11.00 any longer.&lt;BR /&gt;Maybe you meant 11.11i (11v1)?&lt;BR /&gt;&lt;BR /&gt;To break the mirror in VxVM 3.5, here is the &lt;BR /&gt;simple process (taken verbatim from the&lt;BR /&gt;HP documentation):&lt;BR /&gt;&lt;BR /&gt;# daname=&lt;C&gt;   of mirrored root disk&lt;BR /&gt;&lt;BR /&gt;# dmname=`vxprint -g rootdg -F %dmname -e sd_da_name~/$daname/|head -1`&lt;BR /&gt;&lt;BR /&gt;# plxnames=`vxprint -g dg -F "%assoc" -e sd_dm_name==\"$dmname\"`&lt;BR /&gt;&lt;BR /&gt;# vxplex -o rm dis $plxnames&lt;BR /&gt;&lt;BR /&gt;# vxdg -g rootdg rmdisk $dmname&lt;BR /&gt;&lt;BR /&gt;Once the system has been patched (or &lt;BR /&gt;repaired) and is up in normal mode, the root &lt;BR /&gt;volume can be remirrored using the command:&lt;BR /&gt;&lt;BR /&gt;# vxassist -g rootdg mirror rootvol dm:rootdisk02&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;/C&gt;</description>
      <pubDate>Mon, 31 Dec 2007 03:56:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121769#M599144</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2007-12-31T03:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Backup with VXVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121770#M599145</link>
      <description>Hello,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;You are right.&lt;BR /&gt;The system is HP-UX 11.11&lt;BR /&gt;I'll go back to work on monday.&lt;BR /&gt;I'll use the VXVM commands that you have wrote in your reply.&lt;BR /&gt;If i have any problem I'll write to you.&lt;BR /&gt;The  mirror disk  is not good for boot.&lt;BR /&gt;I'll have to destroy it and rebuild a new.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jan 2008 21:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121770#M599145</guid>
      <dc:creator>MAIQUES</dc:creator>
      <dc:date>2008-01-04T21:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Backup with VXVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121771#M599146</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;On HP-UX, bootdisks are not "encapsulated with vxvm".  "boot vxvm encapsulation" is a technique that is used in a solaris env. (thus "un"ecapsulation on HP-UX also doesnt exist) In HP-UX, the vxvm integration, is a "real" integration.&lt;BR /&gt;&lt;BR /&gt;To backup'd/restore the vxvm bootdisk use ignite.  (the same as with lvm bootdisks).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; There is one disk mirrored. If I unclosed &lt;BR /&gt;&amp;gt; one of the disks is the other booting in &lt;BR /&gt;&amp;gt; each case ? &lt;BR /&gt;Not sure what you mean with "one disk mirrored". If you have a "2 disk" mirrored rootdg disksetup, then yes every disk should be bootable on its own.&lt;BR /&gt;&lt;BR /&gt;NOTE: However Im not to sure you are that experienced with vxvm. I.e. I wouldnt do the  commandline commands I saw in the previous responses, on a production system, without first trying to issue them, i.e. understanding them, on a testsystem.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 14 Jan 2008 14:02:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-with-vxvm/m-p/4121771#M599146</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2008-01-14T14:02:20Z</dc:date>
    </item>
  </channel>
</rss>

