in the file /etc/cmcluster/yourpackage.cfg:
From vgchange man page:
Quote:
e Activate each specified volume
group and all associated physical
and logical volumes for exclusive
read-write access. The volume
group must be marked as part of a
high availability cluster, and the
availability software must be
running on the system; otherwise,
the volume group is not activated.
Excuse the basic nature of the question, I've zero experience with regards to this and I'm just looking for a little clarity...
When using serviceguard for a failover from one machine to another, what doesn't get taken from one machine to the other? For example, I was told that OS users and... (1 Reply)
I have rcently setup a 4 node cluster running sun cluster 3.2
and I have installed 4 zones on each node. when installing the zones I had to install the zone on all nodes the on the last node do a zlogin -C <zonename>
this worked ok.
theni I tried to siwitch the zone to node a thei work... (14 Replies)
Hi, I'm fairly new to HP-UX. I am trying to find out if it is possible to create a cluster with 3 active nodes and 1 passive node. Everything I have found online so far just describes active/active and active/passive.
Is it possible to have 3 active nodes and 1 passive node in a cluster? If... (2 Replies)
Dear All,
I would like to ask about saving & restoring a user defined volume group. i have a user defined volume group, named as datavg. i want to save it & to restore it into different size of physical volume. currently, datavg consist of 4 pv, three fisrt pv size are 100GB & one pv size is... (1 Reply)
Hi,
We have two sun SPARC server in Clustered (Sun Cluster 3.1). For some reason, System 1 failed over to System 2. Where can I find the logs which could tell me the reason for this failover?
Thanks (5 Replies)
How to failover the cluster ? GNU/Linux
By which command,
My Linux version
2008 x86_64 x86_64 x86_64 GNU/Linux
What are the prerequisites we need to take while failover ?
if any
Regards (3 Replies)
Hello experts -
I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts.
(1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over)
(2) Or should i perform the installation on... (0 Replies)
hi,
I want to create a volume group of 200 GB and then create different file systems on that.
please help me out. Its becomes confusing when the PP calculating PP.
I don't understand this concept. (2 Replies)
Hey! I'm running a HP ServiceGuard cluster with three nodes. One of the packages was moved (not by me) from one node to another a few weeks ago.
I just noticed that one of the volume groups is still mounted on the old node. Oops! When I run df, less space is used on the old node than the new.
... (0 Replies)
Hello Guys,
I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var.
I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
LEARN ABOUT HPUX
vgexport
vgexport(1M)vgexport(1M)NAME
vgexport - export an LVM volume group and its associated logical volumes
SYNOPSIS
mapfile] outfile] vg_name
mapfile vg_name
DESCRIPTION
Using the format of the first command line of the above, the command can be used to remove a volume group from the system. The volume
group will be removed without modifying the logical volume information found on the physical volumes.
The volume group identified by vg_name is removed from the or file, and the associated device files including the vg_name directory and
file are removed from the system.
The volume group information and data is untouched on the physical volume. These disks can be imported to another system with the command
(see vgimport(1M)).
Scan Option
Using the format of the second command line of the above, the command generates a mapfile that can be copied to other systems that are part
of a high availability cluster (use the option if you do not want to remove the volume group from the system the command is being run from)
and the command (see vgimport(1M)) can be used to recreate the volume group. See also vgchange(1M). The mapfile contains a description of
the volume group and its associated logical volume(s) (if any). The logical volume information found on the physical volumes is not modi-
fied.
Options and Arguments
recognizes the following options and arguments:
vg_name The path name of the volume group.
By default, a file named
is created in the current directory. This file contains a description of the volume group and its associated logical
volume(s) (if any). Use this option to specify a different name for the file, mapfile. This file can be used as
input to (see vgimport(1M)). When used with the option, the volume group specified in the mapfile can be shared with
other systems in the high availability cluster.
Preview the actions to be taken but do not update the
or file or remove the devices file. This option is best used in conjunction with the option.
Print verbose messages
including the names of the physical volumes associated with this volume group.
Scan option. When the option is specified, then the options must also be specified. A mapfile is created that can be used to cre-
ate volume group entries on other systems in the high availability cluster (with the command).
Write the current set of
pv_paths for the volume group to the outfile. The outfile may then be used as the infile for the option. If used
together with the option the volume group is not exported but the list of pv_paths is still written to the outfile.
This may be useful to derive a list of pv_paths for the volume group or to use on another system which is sharing the
volume group and which has an identical configuration.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
EXAMPLES
Export the volume group into mapfile The volume group will be removed from the exporting system.
Export the volume group and write the disk names into the file
Create a mapfile to be copied to other systems in a high availability cluster to build the volume group information for the volume group,
Note that the volume group is not removed from the exporting system. The importing systems will create the volume group with the command
using the and options.
SEE ALSO vgimport(1M), vgscan(1M).
vgexport(1M)