HA LVM should only remove missing PVs on stop when they belong to mirrors

This adds --mirrorsonly to the 3 'vgreduce --removemissing' calls in the
LVM agents.

You'll also notice that it adds another self_fence check after we fail to
remove tags.  In my previous comment, I pointed out that in the case of
single-host by_lv, after we vgreduce we then can't deactivate the logical
volume again because it doesn't exist.  This results in us executing
self_fence, which may have just been a happy accident.  But when we avoid
making metadata changes by adding --mirrorsonly, the subsequent deactivation
is still successful, and thus we miss the self_fence logic.  So, I added
another check so we still catch the failure and fence ourselves in this
situation.

J.B - Retain the loop in 'vg_stop_clustered' that waits for udev to settle
      when trying to deactivate the volume group.  Failure to do so can
      lead to failure to deactivate the volume group.

Signed-off-by: John Ruemker <jruemker@redhat.com>
Signed-off-by: Jonthan Brassow <jbrassow@redhat.com>
Low: build: Move binaries in /usr/lib/heartbeat to /usr/libexec/heartbeat to avoid multi-lib inconsistencies
Restore transient PVs before stealing tag

Resolves: rhbz#884326
Signed-off-by: John Ruemker <jruemker@redhat.com>
Low: pgsql: properly call control_slave_status() on notify
Low: pgsql: remove unnecessary CHECKPOINT
Med: oracledb.sh: Fix process name grep in exit_idle

Fix a bug that can cause the script to pause for 90 seconds
in the event there are multiple Oracle instances running
and the exit_idle function is called.

Resovles: rhbz#853220

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Med: rgmanager oracle agents

Add support for setting the TNS_ADMIN shell variable to oracledb.sh,
orainstance.sh, and oralistener.sh

Resolves: rhbz#917807

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Dev: ocft: update apache test
Medium: apache: put back config file existence test

This test got erroneously removed in changeset 6e4207 (because of
a misleading comment).
Merge pull request #288 from t-matsuo/fix-notify-and-remove-checkpoint

pgsql: Fix notify() and remove unnecessary checkpoint
Merge pull request #294 from dmuhamedagic/apache-test

Dev: ocft: update apache test
Merge pull request #295 from dmuhamedagic/apache-noconfig

Medium: apache: put back config file existence test
Low: apache: Detect default config path for distros other than SUSE
Merge pull request #297 from davidvossel/apache_default_config

Low: apache: Detect default config path for distros other than SUSE
Merge pull request #296 from ryan-mccabe/master

rgmanager Oracle agent fixes
Merge pull request #287 from davidvossel/bz884326

 vgreduce --removemissing unnecessarily removes PVs/LVs when some PVs in the VG fail
Low: IPaddr2: iflabel limit of 15 characters:
added hint in metadata, throw error when limit is exceeded
Merge pull request #298 from JOJ0/master

Low: IPaddr2: iflabel limit of 15 characters:
Low: oralsnr: Add tns_admin option for setting custom TNS_ADMIN path
Merge pull request #299 from davidvossel/oracle-tns-admin

Low: oralsnr: Add tns_admin option for setting custom TNS_ADMIN path