- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ignite Post install script
Operating System - HP-UX
1753768
Members
5444
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО07-01-2010 07:53 AM
тАО07-01-2010 07:53 AM
Hi all. I just faced a new issue for me. I had to recover from ignite an Itanium server, and all the device files for the disks were missed (as ignite does not recover /dev).
I have several FC disks, also the booting disk, and we have been making changes in all the disks adding and removving several times. When I recovered the ignite image, I got that all the disk fikes were changed.
I know I can fix this up with mknod.
The question is, is there any way to tell ignite to recover /dev (in order not to have all the disks configuration messed up) or I have to use a post install script?
If I have to make a post install script, could you please provide me with an example for doing it?
Thanks in advance
I have several FC disks, also the booting disk, and we have been making changes in all the disks adding and removving several times. When I recovered the ignite image, I got that all the disk fikes were changed.
I know I can fix this up with mknod.
The question is, is there any way to tell ignite to recover /dev (in order not to have all the disks configuration messed up) or I have to use a post install script?
If I have to make a post install script, could you please provide me with an example for doing it?
Thanks in advance
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2010 02:31 PM
тАО07-01-2010 02:31 PM
Solution
Depending on the complexity of your FC environment, trying to keep the device files identical may be a lot of effort for a very limited benefit. You might want to learn to live with the fact that the device files may change. Unless you have raw databases on /dev/rdsk/* devices, it might actually be easier that way.
Managing disk devices with mknod/rm instead of mksf/insf/rmsf is not recommended, because it will cause the /dev directory to get out of sync with /etc/ioconfig and /stand/ioconfig.
This may cause problems with future configuration changes: when adding a new disk, insf will look at kernel configuration and ioconfig files to create the correct device entry, and then will create a name for it using the standard scheme. But if you already had used the standard name for your mknod-created custom device files, the new standard device file may overwrite your custom one... making your existing device name to point to a different device. Confusion ensues.
A LVM volume group can be easily adapted to the new device names by exporting it (IMPORTANT: using the -s option of vgexport), then re-importing it:
The traditional (11.23 or older) procedure:
ls -l /dev/vg/group
vgexport -v -s -m vg.map vg
mkdir /dev/vg
mknod /dev/vg/group c 64 0xHH0000
(replace HH with the appropriate hex digits seen with the above "ls -l" command)
vgimport -v -s -m vg.map vg
In the recent 11.31 releases, the mkdir/mknod commands can be omitted, as the vgimport will be able to create the directory and the group device file automatically if it does not exist. In 11.31, you will also want to use the -N option with vgimport, to get the full benefit of the new Agile I/O system.
When you vgimport a volume group using the -s option, the vgimport command will scan all the disks visible to the system, and automatically find the disks belonging to the VG using the VGID stored in the map file. If you have multiple paths to your FC disks, this will automatically configure the first path for each PV as the primary one, and all the other paths leading to the same PV as alternate paths.
For raw databases, you might want to use /dev/vg/rlvol* devices to manage them using the LVM too, or perhaps something like Oracle ASM to deal with the device name changes in an automated way.
MK
Managing disk devices with mknod/rm instead of mksf/insf/rmsf is not recommended, because it will cause the /dev directory to get out of sync with /etc/ioconfig and /stand/ioconfig.
This may cause problems with future configuration changes: when adding a new disk, insf will look at kernel configuration and ioconfig files to create the correct device entry, and then will create a name for it using the standard scheme. But if you already had used the standard name for your mknod-created custom device files, the new standard device file may overwrite your custom one... making your existing device name to point to a different device. Confusion ensues.
A LVM volume group can be easily adapted to the new device names by exporting it (IMPORTANT: using the -s option of vgexport), then re-importing it:
The traditional (11.23 or older) procedure:
ls -l /dev/vg
vgexport -v -s -m vg
mkdir /dev/vg
mknod /dev/vg
(replace HH with the appropriate hex digits seen with the above "ls -l" command)
vgimport -v -s -m vg
In the recent 11.31 releases, the mkdir/mknod commands can be omitted, as the vgimport will be able to create the directory and the group device file automatically if it does not exist. In 11.31, you will also want to use the -N option with vgimport, to get the full benefit of the new Agile I/O system.
When you vgimport a volume group using the -s option, the vgimport command will scan all the disks visible to the system, and automatically find the disks belonging to the VG using the VGID stored in the map file. If you have multiple paths to your FC disks, this will automatically configure the first path for each PV as the primary one, and all the other paths leading to the same PV as alternate paths.
For raw databases, you might want to use /dev/vg
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 03:35 AM
тАО07-20-2010 03:35 AM
Re: Ignite Post install script
OK, thanks Matti.
We will think in what to do.
We will think in what to do.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP