Sponsored Content
Operating Systems AIX Rebooting redundant VIOs and mirroring of PVs they serve to client LPARs Post 302968200 by MichaelFelt on Saturday 5th of March 2016 04:52:42 AM
Old 03-05-2016
What was not clear to me is whether the storage was physically located.

It sounds like it was using local storage (local, i.e., physical, not from a SAN) and the LPAR (aka virtual machine) was using LVM mirroring.

This was the preferred (read almost only) solution in 2005 before SAN storage was common. HOWEVER, if you have SAN backed storage what is 'common' when you have local (i.e., in the CEC aka Compute node) storage is to use the local storage for rootvg, dvd repositories, secure logs, etc. and SAN and MPIO for hosting VM (or client LPAR) storage.

re: active/passive LVM mirroring: the consistency check was to help 'guess' which mirror was last written when recovering from a crash. In your case, while the VIOS was down, one path was down and it is clear which disk is stale and needs to be synced.

Over time, the disks will sync automatically - but you can speed the process by running syncvg (lsvg vgName will tell you if there are stale disks and if so, how many stale PP)
This User Gave Thanks to MichaelFelt For This Post:
 

10 More Discussions You Might Find Interesting

1. IP Networking

to serve or be served??

I have two machines on my network - one OSX mac and one linux box. The mac is my main workhorse, and the linux box does occasional chores and webserving. Currently the mac shares (via NFS) files with the Liinux box. Would it be less demanding on the mac if I made it a client, and moved my files... (2 Replies)
Discussion started by: mistafeesh
2 Replies

2. AIX

rebooting vio client

Hi, I would like to reboot vio client but I am not able to access vio client(I am not able to get putty) , I am able to get putty of vio server, is there any command by using which from vio server I can reboot vio client? (3 Replies)
Discussion started by: manoj.solaris
3 Replies

3. AIX

DUAL VIOS & Client LPAR hangs at 25b3

I have a DUAL VIO ( IBM Virtual I/O ) setup on p 570. Two Vio server ( VIOS ) and many LPAR clients. VIO ( latest version + service pack + applied the fix ) and AIX 6.1 ML2 When both VIOs are running, and if I turn on a Client LPAR, the LPAR hangs at LED 25b3 for more than 1 hour then it... (2 Replies)
Discussion started by: filosophizer
2 Replies

4. HP-UX

How to Mirror LV and umirror after to change PVs...

Greetings Im running HP UX B 11.11 and Im not sure on how to do this request to "mirror current 5 LVs on vgSPAN to the new LUNs assigned to the VG and unmirror the LVs and finally return the 12 LUNs to SAN storage" The existing LVs were extended to accommodate a user request to extend 2 FS on... (3 Replies)
Discussion started by: hedkandi
3 Replies

5. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

6. AIX

Shared Disk in VIOS between two LPARs ?

is there any way to create shared virtual disk between two LPARs like how you can do it using Storage through Fiber on two servers ? Trying to stimulate HACMP between two LPARs (1 Reply)
Discussion started by: filosophizer
1 Replies

7. HP-UX

PVS command in HP-UX

Dear Engineer, Is there any command in HP-UX work similiar to PVS command in Linux? With Best Regards, Md. Abdullah-Al Kauser (4 Replies)
Discussion started by: makauser
4 Replies

8. UNIX for Advanced & Expert Users

Unable to install client AIX LPAR to vscsi hdisk provided from VIOS

Hi everybody, I have Power5 server with 4 internal hdisks each of 70Gb. VIOS server was installed via Virtual I/O Server Image Repository on the HMC. HMC release - 7.7.0 VIOS rootvg installed on 2 disk(these disks merged to one storage pool during VIOS install process),and 2 others hdisks... (2 Replies)
Discussion started by: Ravil Khalilov
2 Replies

9. AIX

Chef client on VIOs? How do you manage your VIO configs?

I know the VIOs are generally to be treated as an appliance and one should never drop down to oem_setup_env. In reality however, oem is a very useful tool to get the job done. So that leads me into the question of using the Chef client on a VIO. Currently a big push to manage all our *nix... (4 Replies)
Discussion started by: RecoveryOne
4 Replies

10. AIX

Need to replace a broken PV in a VIO VG used for client LPARs (and it won't release the old one)

I have a broken PV in a VIO VG that's used to support client LPARs using LVs. On the client LPAR, I reduced all PVs from the relevant client VG and thus deleted it. I.e. there is no client LPAR using the VIO VG. Yet when I try to reducevg the VIO VG, it complains that the LV hosted on the PV is... (2 Replies)
Discussion started by: maraixadm
2 Replies
Commands Reference, Volume 5, s - u

syncvg_Command

  Purpose

   Synchronizes logical volume copies that are not current.

  Syntax

   syncvg [ -f ] [ -i ] [ -H ] [ -P NumParallelLps ] { -l |
   -p | -v } Name ...

  Description

   The syncvg command synchronizes the physical partitions, which
are copies
   of the original physical partition, that are not current.  The
syncvg
   command can be used with logical volumes, physical volumes, or
volume
   groups, with the Name parameter representing the logical  vol-
ume name,
   physical  volume  name, or volume group name. The synchroniza-
tion process
   can be time consuming, depending on the hardware  characteris-
tics and the
   amount of data.

   When  the  -f flag is used, a good physical copy is chosen and
propagated to
   all other copies of the logical partition, whether or not they
are stale.
   Using this flag is necessary in cases where the logical volume
does not
   have the mirror write consistency recovery.

   Unless disabled, the copies within a volume group are synchro-
nized
   automatically  when the volume group is activated by the vary-
onvg
   command.

   Note:
   For the sycnvg command to be successful,  at  least	one  good
copy of the
   logical  volume should be accessible, and the physical volumes
that
   contains this copy should be in ACTIVE state. If the -f option
is used,
   the above condition applies to all mirror copies.

   If the -P option is not specified, syncvg will check for the
   NUM_PARALLEL_LPS environment variable. The value of NUM_PARAL-
LEL_LPS will
   be used to set the number of logical partitions to be synchro-
nized in
   parallel.

  Flags

		     Specifies a good physical copy is chosen and
propagated
   -f		     to all other copies of  the  logical  parti-
tion, whether or
		     not they are stale.
		     Postpones	writes	for  this volume group on
other active
		     concurrent cluster nodes until this sync op-
eration is
   -H		      complete.  When  using  the -H flag, the -P
flag does not
		     require that all the nodes  on  the  cluster
support the -P
		     flag.  This  flag	is  ignored if the volume
group is not
		     varied on in concurrent mode.
   -i		     Reads the names from standard input.
   -l		     Specifies that the Name parameter represents
a logical
		     volume device name.
   -p		     Specifies that the Name parameter represents
a physical
		     volume device name.
		     Numbers of logical partitions to be synchro-
nized in
		     parallel. The valid range for NumParallelLps
is 1 to 32.
		     NumParallelLps must be tailored to  the  ma-
chine, disks in
		     the volume group, system resources, and vol-
ume group
		     mode.

   -P NumParallelLps When a volume group is varied on in  concur-
rent mode, all
		     other  cluster  nodes  that have this volume
group varied
		     must be at least AIX 4.3.0, otherwise syncvg
will ignore
		     this option and continue.

		     Note:
		     See Description above for more information.
   -v		     Specifies that the Name parameter represents
a volume
		     group device name.

  Examples

    1. To synchronize the copies on physical volumes hdisk04  and
hdisk05,
       enter:

	 syncvg
 -p hdisk04 hdisk05

    2.	To synchronize the copies on volume groups vg04 and vg05,
enter:

	 syncvg
 -v vg04 vg05

  Files

   /usr/sbin/syncvg Contains the syncvg command.
   /tmp 	     Directory	where  the  temporary  files  are
stored and while
		    the command is running.

  Related Information

   The varyonvg command.

   The Logical volumn storage in Operating system and device man-
agement
   explains the Logical Volume Manager, physical volumes, logical
volumes,
   volume  groups, organization, ensuring data integrity, and al-
location
   characteristics.

   The System management interface tool in Operating  system  and
device
   management  explains the structure, main menus, and tasks that
are done
   with SMIT.

________________________________________________________________________________

		      Commands Reference, Volume 5, s - u

syncvg_Command

  Purpose

   Synchronizes logical volume copies that are not current.

  Syntax

   syncvg [ -f ] [ -i ] [ -H ] [ -P NumParallelLps ] { -l |
   -p | -v } Name ...

  Description

   The syncvg command synchronizes the physical partitions, which
are copies
   of the original physical partition, that are not current.  The
syncvg
   command can be used with logical volumes, physical volumes, or
volume
   groups, with the Name parameter representing the logical  vol-
ume name,
   physical  volume  name, or volume group name. The synchroniza-
tion process
   can be time consuming, depending on the hardware  characteris-
tics and the
   amount of data.

   When  the  -f flag is used, a good physical copy is chosen and
propagated to
   all other copies of the logical partition, whether or not they
are stale.
   Using this flag is necessary in cases where the logical volume
does not
   have the mirror write consistency recovery.

   Unless disabled, the copies within a volume group are synchro-
nized
   automatically  when the volume group is activated by the vary-
onvg
   command.

   Note:
   For the sycnvg command to be successful,  at  least	one  good
copy of the
   logical  volume should be accessible, and the physical volumes
that
   contains this copy should be in ACTIVE state. If the -f option
is used,
   the above condition applies to all mirror copies.

   If the -P option is not specified, syncvg will check for the
   NUM_PARALLEL_LPS environment variable. The value of NUM_PARAL-
LEL_LPS will
   be used to set the number of logical partitions to be synchro-
nized in
   parallel.

  Flags

		     Specifies a good physical copy is chosen and
propagated
   -f		     to all other copies of  the  logical  parti-
tion, whether or
		     not they are stale.
		     Postpones	writes	for  this volume group on
other active
		     concurrent cluster nodes until this sync op-
eration is
   -H		      complete.  When  using  the -H flag, the -P
flag does not
		     require that all the nodes  on  the  cluster
support the -P
		     flag.  This  flag	is  ignored if the volume
group is not
		     varied on in concurrent mode.
   -i		     Reads the names from standard input.
   -l		     Specifies that the Name parameter represents
a logical
		     volume device name.
   -p		     Specifies that the Name parameter represents
a physical
		     volume device name.
		     Numbers of logical partitions to be synchro-
nized in
		     parallel. The valid range for NumParallelLps
is 1 to 32.
		     NumParallelLps must be tailored to  the  ma-
chine, disks in
		     the volume group, system resources, and vol-
ume group
		     mode.

   -P NumParallelLps When a volume group is varied on in  concur-
rent mode, all
		     other  cluster  nodes  that have this volume
group varied
		     must be at least AIX 4.3.0, otherwise syncvg
will ignore
		     this option and continue.

		     Note:
		     See Description above for more information.
   -v		     Specifies that the Name parameter represents
a volume
		     group device name.

  Examples

    1. To synchronize the copies on physical volumes hdisk04  and
hdisk05,
       enter:

	 syncvg
 -p hdisk04 hdisk05

    2.	To synchronize the copies on volume groups vg04 and vg05,
enter:

	 syncvg
 -v vg04 vg05

  Files

   /usr/sbin/syncvg Contains the syncvg command.
   /tmp 	     Directory	where  the  temporary  files  are
stored and while
		    the command is running.

  Related Information

   The varyonvg command.

   The Logical volumn storage in Operating system and device man-
agement
   explains the Logical Volume Manager, physical volumes, logical
volumes,
   volume  groups, organization, ensuring data integrity, and al-
location
   characteristics.

   The System management interface tool in Operating  system  and
device
   management  explains the structure, main menus, and tasks that
are done
   with SMIT.
All times are GMT -4. The time now is 10:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy