mignev / openshift-scripts

Loose collection of different scripts for OpenShift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openshift-scripts

Loose collection of different scripts for OpenShift.

gluster-recycle-pv.sh

Description: Recycles Gluster PVs that are in failed state.

Usage:

  • Either specify a PV (-p) or let the script take all (-a) failed PVs.

Requirements:

  • You need to execute the script as root on the openshift master.
  • Before using this script, add one node IP of your Gluster cluster so the script can mount the underlying Gluster volume (gluster_node_ip).
  • The script tries to mount the volume as glusterfs, so glusterfs packages need to be installed. Either install them or change to mount them as nfs.

About

Loose collection of different scripts for OpenShift.

License:Apache License 2.0


Languages

Language:Ruby 96.3%Language:Shell 3.0%Language:Puppet 0.5%Language:Pascal 0.2%