- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rootdg disk device filenames changing
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 01:27 AM
10-02-2006 01:27 AM
rootdg disk device filenames changing
We are moving a superdome partition from one cab to a cab in another complex, different cell boards. Hence the hardware paths on all hardware will change.
The partition boots from a disk in the VxVM rootdg. We have performed a number of moves like this with partitions that boot from a disk in LVM VG00 - booting into maintenance mode and then reinstancing using ioconfig.
However how do we perform a similar thing if the server boots from rootdg, and we cannot therefore enter hpux maintenance mode. We basically just need to access / so that we can feed an already created infile into ionit to re-instance the system.
Any help greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 01:33 AM
10-02-2006 01:33 AM
Re: rootdg disk device filenames changing
A disk group can be renamed on deport by specifying a new
disk group name with -n newname. A lock can be assigned to
an alternate host by specifying the host ID (see vxdctl(1M))
of the alternate host. This allows the disk group to be
auto-imported when the alternate host reboots. For example,
the -n and -h options can be combined to export a disk group
to be used as the rootdg disk group for a new machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 01:41 AM
10-02-2006 01:41 AM
Re: rootdg disk device filenames changing
on the existing server:
vxdg -n rootdg.new deport rootdg
copy rootdg.new file to some other server as backup. Keep this file on the same server at / level so that you can import after hardware move.
Move hardware and the bring it up in single user mode and issue:
vxdg -n rootdg.new import rootdg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 01:51 AM
10-02-2006 01:51 AM
Re: rootdg disk device filenames changing
If we bring up the server in single user mode, in order to execute a vxdg command, doesn't it mean that VxVM has already located the rootdg disks and enabled that disk group? In which case there is no need to import it...
What we are concerned with is that following the hardware move, since the rootdg disk device filenames will have changed, VxVM will not be able to locate and enable rootdg. Am I correct in assuming that this is how VxVM will behave?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 01:58 AM
10-02-2006 01:58 AM
Re: rootdg disk device filenames changing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 01:59 AM
10-02-2006 01:59 AM
Re: rootdg disk device filenames changing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2006 02:04 AM
10-02-2006 02:04 AM
Re: rootdg disk device filenames changing
vxdisk list
This command results in output that includes the following.
dgname: rootdg dgid: 774226267.1025.tweety
On the importing host, import and rename the rootdg disk group with this command:
# vxdg -tC -n newdg_name import diskgroup
where -t indicates a temporary import name; C clears import locks; -n specifies a temporary name for the rootdg to be imported (so it does not conflict with the existing rootdg); and diskgroup is the disk group ID of the disk group being imported (for example, 774226267.1025.tweety).
If a reboot or crash occurs at this point, the temporarily imported disk group becomes unimported and requires a reimport.
After the necessary work has been done on the imported rootdg, deport it back to its original host with this command:
# vxdg -h hostname deport diskgroup
where hostname is the name of the system whose rootdg is being returned (the system name can be confirmed with the command uname -n).
This command removes the imported rootdg from the importing host and returns locks to its original host. The original host then autoimports its rootdg on the next reboot.