Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Ignite process and /etc/lvmconf file

SOLVED
Go to solution
frederick hannah
Super Advisor

Ignite process and /etc/lvmconf file

The ignite process executes a vgexport -p -m command against vgs on a server. The information of these vg groups are stored in /etc/lvmconf as vgxxx.mapfiles. However, the mapfiles created dont contain the VGID of the vgs. The lvols are there, but not the vgids. Is there a way to get ignite to add the vgid of these vgs?
7 REPLIES
sujit kumar singh
Honored Contributor

Re: Ignite process and /etc/lvmconf file

Hi

can you please privide with the following O/Ps


last make_net_recovery or make_tape_recovery logs

these shall be in
for make_tape_recovery
/var/opt/ignite/recovery/lastest/recovery.log

and for make_net_recovery on the ignite server at

/var/opt/ignite/clients/0X{LLA}/recovery/latest/recovery.log
as well as

swlist -l product -l bundle | grep -i ignite

from your system?

there you can see exactly in the logs if vgexport is running as part of ignite as vgexport -s option

regards
frederick hannah
Super Advisor

Re: Ignite process and /etc/lvmconf file

The logs show that command "vgexport -p -m" is being run. The ignite version is C.6.1.44.
Patrick Wallek
Honored Contributor
Solution

Re: Ignite process and /etc/lvmconf file

Later version of Ignite/UX add the '-s' switch to the vgexport command, which adds the VGID into the mapfile.

I am running Ignite C.6.9.150 on HP-UX 11.11 and the logs shows "vgexport -s -p -m ..."

Basically, an upgrade of Ignite is needed to add the VGID to the VG map files.
sujit kumar singh
Honored Contributor

Re: Ignite process and /etc/lvmconf file


on my system as make_tape_recovery was run in a preview mode and the ignite version is
C.6.10.97

# make_tape_recovery -p -v -x inc_entire=vg00 -a /dev/rmt/0mn
* Creating local directories for configuration files and archive.

======= 12/22/09 12:37:53 EST Started make_tape_recovery. (Tue Dec 22
12:37:53 EST 2009)
@(#)Ignite-UX Revision C.6.10.97
@(#)ignite/net_recovery (opt) $Revision: 10.834 $ $Date: 2006/06/14
13:47:40 $

* Testing for necessary pax patch.
* Passed pax tests.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/0mn

* Number of Archives to Save = 2

* Pax type = tar


In? dsk/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c0t6d0 /dev/dsk/c2t6d0
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2
/dev/vg00/lvol4 /home 2
/dev/vg00/lvol5 /opt 2
/dev/vg00/lvol6 /tmp 2
/dev/vg00/lvol7 /usr 2
/dev/vg00/lvol8 /var 2

** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive

* Checking Versions of Ignite-UX filesets
* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2009-12-22,12:37/system_cfg vg00
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
* Creating Map Files for Volume Group /dev/vg00
* /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

* Creating Control Configuration.
* Creating Archive File List
Program Terminated. SIGINT received. Exiting.

======= 12/22/09 12:38:46 EST make_tape_recovery completed unsuccessfully
# swlist -l bundle | grep -i ignite
B5725AA C.6.10.97 HP-UX Installation Utilities (Ignite-UX)
Ignite-UX-11-23 C.6.10.97 HP-UX Installation Uti
frederick hannah
Super Advisor

Re: Ignite process and /etc/lvmconf file

Thanks. I will look for an upgrade. Happy Holidays guys.
frederick hannah
Super Advisor

Re: Ignite process and /etc/lvmconf file

I am satisfied with the answer provided.
Nick W
Frequent Advisor

Re: Ignite process and /etc/lvmconf file

You say that you are satisfied with the replies received - please assign points to reward those that have taken the time to respond to your query.

Regards,
Nick