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>
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: apache: refactor pid use

ApachePID was a global variable set in a function as a
side-effect. This patch makes the pid processing more obvious.
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
Low: LVM: fix invalid return statement
Merge pull request #302 from davidvossel/lvm_clvmd_activate_retry

Low: LVM: fix invalid return statement
Low: fs-util.sh: Add ability to disable use of findmnt for fs-util based agents
High: Raid1: disallow md raid arrays as clone resources to avoid data corruption
Low: Raid1: make clone prevention overridable similar to the Filesystem RA
Low: Filesystem: switch to use ocf_is_clone helper function