You are on page 1of 45

glvm.rpv.

client
glvm.rpv.man.en_US
glvm.rpv.msg.en_US
glvm.rpv.server
glvm.rpv.util
openssh.base.client
openssh.base.server
openssh.license
openssh.man.en_US
openssl.base
openssl.license
openssl.man.en_US

### Host entries for VoltaMirror Environment


## Persistent, XD network and Service IPs for node 1
10.12.7.15 aix71test
192.168.7.15 aix71teste1 aix71test
10.12.7.50 aix71tsvc1
#
## Persistent, XD network and Service IPs for node 2
10.12.7.17 aix71test2
192.168.7.17 aix71test2e1 aix71test2
10.12.7.51 aix71tsvc2
###

# tar xvf file_name


/opt/volta/VM/config

export PATH=${PATH}:/opt/volta/VM/bin
Running preliminary checks for asynchronous mode replication

Checking Volume Group Type


Checking testvg ... ok
Checking testvg2 ... ok

Checking Mirror Pool Strictness


Checking testvg ... super
Checking testvg2 ... super

Checking for Concurrent Capability


Checking testvg ... ok
Checking testvg2 ... ok

Checking Auto On Policy


Checking testvg ... ok
Checking testvg2 ... ok

Checking for Page Space in Volume Groups


Checking testvg ... ok
Checking testvg2 ... ok

Checking Space for AIO Cache


Checking testvg ... ok
Checking testvg2 ... ok

Checking VG Bad Block Relocation Policy


Checking testvg ... ok
Checking testvg2 ... ok

Checking LV Bad Block Relocation Policy


Checking Logical Volumes in testvg
Checking testloglv ... ok
Checking testlv ... ok
Checking Logical Volumes in testvg2
Checking tvg2log1 ... ok
Checking tvg2log2 ... ok
Checking tvg2lv1 ... ok
Checking tvg2lv2 ... ok

Passed preliminary checks

Press <ENTER> to Continue ->


==========================================================================
VOLUME GROUP: testvg Mirror Pool Super Strict: yes

MIRROR POOL: mp1 Mirroring Mode: SYNC


MIRROR POOL: mp1r Mirroring Mode: ASYNC
ASYNC MIRROR STATE: active ASYNC CACHE LV: testvgclv
ASYNC CACHE VALID: yes ASYNC CACHE EMPTY: no
ASYNC CACHE HWM: 100 ASYNC DATA DIVERGED: no

==========================================================================
VOLUME GROUP: testvg2 Mirror Pool Super Strict: yes

MIRROR POOL: mp2 Mirroring Mode: SYNC


MIRROR POOL: mp2r Mirroring Mode: ASYNC
ASYNC MIRROR STATE: active ASYNC CACHE LV: testvg2clv
ASYNC CACHE VALID: yes ASYNC CACHE EMPTY: no
ASYNC CACHE HWM: 100 ASYNC DATA DIVERGED: no

==========================================================================

Remote Physical Volume Statistics:

Max Pending Total Max


Total Async Cache Cache Cache Cache Cache Free
GMVG Name ax Writes Util % Writes Wait % Wait Space KB
---------------- -- -------------- ------ ---------- ------ ------- ----------
testvg2 A 130 1.28 0 0.00 0 80877
testvg A 55 0.08 0 0.00 0 1309686
==========================================================================
=======================================================================
testvg:
PP Size: 64 MB Stale PPs: 0
Total: 2396 (149 GB) Free: 2314 (144 GB) Used: 82 (5 GB)
LV NAME LPs STATE MOUNT POINT
-------------------- --- --------------------- -----------
testloglv 1 mirrored open/syncd
testlv 40 mirrored open/syncd /testfs
=======================================================================

testvg2:
PP Size: 4 MB Stale PPs: 0
Total: 3000 (11 GB) Free: 2980 (11 GB) Used: 20 (0 GB)
LV NAME LPs STATE MOUNT POINT
-------------------- --- --------------------- -----------
tvg2log1 1 mirrored open/syncd
tvg2log2 1 mirrored open/syncd
tvg2lv1 4 mirrored open/syncd /testfs2
tvg2lv2 4 mirrored open/syncd /testfs3
=======================================================================
(EOF):
WARNING:

This process will create the mirror relationship between your


Local and Remote sites data. Synchronization of the mirror copies
will begin immediately and may cause performance degradation.

Are you absolutely SURE??? (Y/N/Quit) ->

Checking remote physical disks ... ok

Checking testvg Mirror Pool policy ... super

Checking Local Disk Mirror Pool ... mp1

Creating RPV Server Devices ... Complete

Creating RPV Client Devices ... Complete


Extending testvg to Remote Disks ... Complete
Defining mirror pools for Logical Volumes
running chlv testloglv SYNCMODE=A
running chlv testlv SYNCMODE=A

Mirroring testvg to Remote Disks ...


Mirror operation for testvg successful.

Creating Cache LV for Asynchronous I/O ... Complete

Initiating Mirror Synchronization of testvg ... Complete


(Note: Synchronization is continuing in background.)

Press <ENTER> to Continue ->

WARNING:

This process will release the mirror relationship between your


Local and Remote sites data. Data at the Local site will remain
untouched, however, the copy of data at the remote site will be
permanently lost.

Are you absolutely SURE??? (Y/N/Quit) ->

Remote Disks List: hdisk4

Releasing testvg mirrors from Remote Disks ... Complete

Removing hdisk4 from testvg ... Complete

Removing RPV Servers on aix71test2


Checking rpvserver0
Removing rpvserver0 ... Complete

Removing RPV Clients on aix71test


Removing hdisk4 on aix71test ...Complete

Removing Asynchronous I/O Cache Logical Volume (testvgclv) ... Complete

Press <ENTER> to Continue ->


WARNING:

This process will activate the Service IP on the local server.


This IP address will persist across reboots.

Are you absolutely sure? -> y

Activating Service IP Address on local server.


Selecting Interface for Service IP Address activation.
Available Interfaces:
en0 10.12.7.15 255.255.255.0
en1 192.168.7.15 255.255.255.0
Interface en0 selected.
Activating 10.12.7.50 on en0.
Process Completed.

Site-specific Service IPs defined.


Looking for Service IP Address 10.12.7.50 ... active
Looking for Service IP Address 10.12.7.51 ... down

Press <ENTER> to Continue ->


WARNING:

This process will deactivate the Service IP on the local server.


This action may affect the ability to access the application.

Are you absolutely sure? -> y

Deactivating Service IP Address on local server.

Deactivating Service IP Address on local server.


en0 10.12.7.15 255.255.255.0
Interface en0 selected.
Deactivating 10.12.7.50 on en0.
Process Completed.

Site-specific Service IPs defined.


Looking for Service IP Address 10.12.7.50 ... down
Looking for Service IP Address 10.12.7.51 ... down

Press <ENTER> to Continue ->


WARNING:

This process will bring up the mirror copy of data on the Remote
server. It should only be used in an emergency, that is, if the
Primary server is down.

This is your last chance to stop this process.

Are you absolutely SURE??? (Y/N/Quit) ->

Checking local server

Changing RPV Servers on aix71test2 to Defined state


Changing rpvserver0 to defined state
Changing rpvserver1 to defined state
Changing rpvserver2 to defined state

Importing Volume Groups on aix71test2


PV Status: hdisk1 00faa456a000213d PVACTIVE
00f95c03b5234b7a NONAME
varyonvg: Volume group testvg is varied on.

Mounting /testfs
PV Status: hdisk2 00faa4565e8193ae PVACTIVE
hdisk3 00faa4565e8278fd PVACTIVE
00faa4565e8d7747 NONAME
00faa4565e8d56a4 NONAME
varyonvg: Volume group testvg2 is varied on.

Mounting /testfs2

Mounting /testfs3

Activating Service IP Address on remote server.


Selecting Interface for Service IP Address activation.
Available Interfaces:
en0 10.12.7.17 255.255.255.0
en1 192.168.7.17 255.255.255.0
Interface en0 selected.
Activating 10.12.7.51 on en0.
Process Completed.
Activating Application on remote

################################
start_app.ksh script begins
################################

Starting HTTP Server

################################
start_app.ksh script complete
################################

Checking Data Volumes.


Checking local server
local server not responding
Data Volumes mounted on remote server.

Checking for Application.


Checking local server
local server not responding
Application running on remote server.

Site-specific Service IPs defined.


Looking for Service IP Address 10.12.7.50 ... down
Looking for Service IP Address 10.12.7.51 ... active

Press <ENTER> to Continue ->


Running preliminary checks
local system is active
remote system is active
service IP is configured on local
service IP is not configured on remote
service IP is active on local
service IP is down on remote
application is active
application is on local
storage is active on local

Preliminary Checks Pass

WARNING:
This process will Orchestrate a Complete Failover.

The following actions will occur:


-Stop Service IP Address at local site
-Stop Application at local site
-Shutdown Data Volume Groups and disconnect mirrors at local site
-Bring up Data Volume Groups at remote site
-Start Application at remote site
-Start Service IP at remote site

This is your last chance to stop this process.

Are you absolutely sure? -> N

Deactivating Application on local

################################
stop_app.ksh script begins
################################

Shutting down HTTP Server

################################
stop_app.ksh script complete
################################

Deactivating Service IP Address on local server.


en0 10.12.7.15 255.255.255.0
Interface en0 selected.
Deactivating 10.12.7.50 on en0.
Process Completed.
testvg2
unmounting /testfs3
unmounting /testfs2
varying off testvg2 ... complete
testvg
unmounting /testfs
varying off testvg ... complete
Changing RPV Servers on aix71test2 to Defined state
Changing rpvserver0 to defined state
Changing rpvserver1 to defined state
Changing rpvserver2 to defined state

Importing Volume Groups on aix71test2

Mounting /testfs

Mounting /testfs2

Mounting /testfs3

Activating Service IP Address on remote server.


Selecting Interface for Service IP Address activation.
Available Interfaces:
en0 10.12.7.17 255.255.255.0
en1 192.168.7.17 255.255.255.0
Interface en0 selected.
Activating 10.12.7.51 on en0.
Process Completed.

Activating Application on remote

################################
start_app.ksh script begins
################################

Starting HTTP Server

################################
start_app.ksh script complete
################################

Checking Data Volumes.


Checking local server
Data Volumes mounted on remote server.

Checking for Application.


Checking local server
Application running on remote server.

Site-specific Service IPs defined.


Looking for Service IP Address 10.12.7.50 ... down
Looking for Service IP Address 10.12.7.51 ... active

Press <ENTER> to Continue ->


Running preliminary checks
local system is active
remote system is active
service IP is not configured on local
service IP is configured on remote
service IP is down on local
service IP is active on remote
application is active
application is on remote
storage is down on local
storage is active on remote

Preliminary Checks Pass

WARNING:
This process will to Orchestrate a Reintegration (Failback).

The following actions will occur:


-Stop Service IP Address at remote site
-Stop Application at remote site
-Shutdown Data Volume Groups at remote site
-Bring up Data Volume Groups at local site and relink mirrors
-Start Application at local site
-Start Service IP at local site

This is your last chance to stop this process.

Are you absolutely sure? -> N

Deactivating Application on remote

################################
stop_app.ksh script begins
################################

Shutting down HTTP Server

################################
stop_app.ksh script complete
################################
Deactivating Service IP Address on remote server.
en0 10.12.7.17 255.255.255.0
Interface en0 selected.
Deactivating 10.12.7.51 on en0.
Process Completed.

Un-Mounting File Systems


Forcing Un-Mount of /testfs2
Forcing Un-Mount of /testfs3

Attempting to varyoff testvg2 ... Complete


Attempting to export testvg2 ...
Complete

Un-Mounting File Systems


Forcing Un-Mount of /testfs

Attempting to varyoff testvg ... Complete


Attempting to export testvg ...
Complete

Changing RPV Servers on aix71test2 to Available state


Changing rpvserver0 to Available state ... Complete
Changing rpvserver1 to Available state ... Complete
Changing rpvserver2 to Available state ... Complete

Changing RPV Clients on aix71test to Available state


Changing hdisk4 to Available state ... Complete
Changing hdisk5 to Available state ... Complete
Changing hdisk6 to Available state ... Complete

Attempting to varyon testvg on aix71test in Management Mode


Assuring hdisk1 is active
Assuring hdisk2 is active
Assuring hdisk3 is active
Varyoff testvg
Varyon testvg in Normal Mode

Mounting /testfs

Attempting to varyon testvg2 on aix71test in Management Mode


Assuring hdisk2 is active
Assuring hdisk3 is active
Varyoff testvg2
Varyon testvg2 in Normal Mode

Mounting /testfs2

Mounting /testfs3

Activating Application on local

################################
start_app.ksh script begins
################################

Starting HTTP Server

################################
start_app.ksh script complete
################################

Activating Service IP Address on local server.


Selecting Interface for Service IP Address activation.
Available Interfaces:
en0 10.12.7.15 255.255.255.0
en1 192.168.7.15 255.255.255.0
Interface en0 selected.
Activating 10.12.7.50 on en0.
Process Completed.

Checking Data Volumes.


Checking local server
Data Volumes mounted on local server.

Checking for Application.


Checking local server
Application running on local server.

Site-specific Service IPs defined.


Looking for Service IP Address 10.12.7.50 ... active
Looking for Service IP Address 10.12.7.51 ... down

Press <ENTER> to Continue ->


##########################################
### Define Local Message Sender Info ###
export SMTP_RELAY=""
export FDMN="voltainc.com"
export FROM="DoNotReply@voltainc.com"
##########################################

5 * * * * /opt/volta/VM/bin/glvm_mirror_chk.ksh >/dev/null 2>&1

##########################################
# LRCOPY is used to control updating #
# remote systems with configuration #
# Uncomment only 1 line in this section #
# #
# if no updating is desired #
#export LRCOPY=0
# #
# if VoltaMirror is installed on local #
# and remote servers #
export LRCOPY=1
# #
# if VoltaMirror is installed on third #
# server and also on local and remote #
#export LRCOPY=2
# #
##########################################
# ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (//.ssh/id_dsa):
Enter passphrase (empty for no passphrase): <Press Enter here>
Enter same passphrase again: <Press Enter here>
Your identification has been saved in //.ssh/id_dsa.
Your public key has been saved in //.ssh/id_dsa.pub.
The key fingerprint is:
9b:b5:7b:04:4a:2f:5f:ca:cf:af:8a:6a:cc:c9:5b:4a root@aix71test
The key's randomart image is:
+--[ DSA 1024]----+
| |
| |
| |
| . . |
| .So.. |
| o+..o |
| +E.++.+ |
| .*o .+o. |
| .+o. o++o. |
+-----------------+

# cd /.ssh
# cat id_dsa.pub >> authorized_keys
# scp authorized_keys remote_system:/.ssh

# cd /.ssh
# cat id_dsa.pub >> authorized_keys
# scp authorized_keys local_system:/.ssh

PermitRootLogin yes
AuthorizedKeysFile .ssh/authorized_keys
# cat /opt/volta/VM/logs/PVM_glvm_activity.log
02/01/18 11:49 - launch glvm_menu.ksh
02/01/18 11:49 - glvm_menu.ksh - Run Preliminary Checks
02/01/18 11:49 - check_scalable
checking testvg
passed - VG is type mpvg
checking testvg2
passed - VG is type mpvg
02/01/18 11:49 - check_aiocache_space
checking testvg
passed aio cache check
checking testvg2
passed aio cache check
02/01/18 11:49 - check_concurrent
checking testvg
passed check for concurrent VG
checking testvg2
passed check for concurrent VG
02/01/18 11:49 - check_auto_on_policy
checking testvg
passed - auto_on policy = no
checking testvg2
passed - auto_on policy = no
02/01/18 11:49 - check_vg_badblock_policy
checking testvg
passed - badblock policy = non-relocatable
checking testvg2
passed - badblock policy = non-relocatable
02/01/18 11:49 - check_lv_badblock_policy
checking logical volumes in testvg
checking testloglv
passed - badblock policy = non-relocatable
checking testlv
passed - badblock policy = non-relocatable
checking testvgclv
passed - badblock policy = non-relocatable
checking logical volumes in testvg2
checking tvg2log1
passed - badblock policy = non-relocatable
checking tvg2log2
passed - badblock policy = non-relocatable
checking tvg2lv1
passed - badblock policy = non-relocatable
checking tvg2lv2
passed - badblock policy = non-relocatable
checking testvg2clv
passed - badblock policy = non-relocatable

You might also like