X7ROOT File Manager
Current Path:
/usr/share/cluster
usr
/
share
/
cluster
/
📁
..
📄
ASEHAagent.sh.metadata
(3.89 KB)
📄
SAPDatabase.metadata
(5.52 KB)
📄
SAPInstance.metadata
(3.91 KB)
📄
apache.sh.metadata
(3.03 KB)
📄
bind-mount.sh.metadata
(1.72 KB)
📄
clusterfs.sh.metadata
(5.48 KB)
📄
db2.sh.metadata
(1.58 KB)
📄
drbd.sh.metadata
(1.39 KB)
📄
fence_mpath_check
(9.98 KB)
📄
fence_mpath_check_hardreboot
(9.98 KB)
📄
fence_scsi_check
(15.95 KB)
📄
fence_scsi_check.pl
(15.95 KB)
📄
fence_scsi_check_hardreboot
(15.95 KB)
📄
fs.sh.metadata
(6.65 KB)
📄
ip.sh.metadata
(4.13 KB)
📄
lvm.sh.metadata
(2.31 KB)
📄
mysql.sh.metadata
(3.01 KB)
📄
named.sh.metadata
(3.2 KB)
📄
netfs.sh.metadata
(4.74 KB)
📄
nfsclient.sh.metadata
(4.74 KB)
📄
nfsexport.sh.metadata
(2.42 KB)
📄
nfsserver.sh.metadata
(3.16 KB)
📄
openldap.sh.metadata
(2.86 KB)
📄
oracledb.sh.metadata
(3.69 KB)
📄
orainstance.sh.metadata
(2.84 KB)
📄
oralistener.sh.metadata
(2.05 KB)
📄
postgres-8.sh.metadata
(3.17 KB)
📁
relaxng
📄
samba.sh.metadata
(2.49 KB)
📄
script.sh.metadata
(1.77 KB)
📄
service.sh.metadata
(7.58 KB)
📄
smb.sh.metadata
(1.78 KB)
📄
tomcat-6.sh.metadata
(2.15 KB)
📄
vm.sh.metadata
(9.66 KB)
Editing: vm.sh.metadata
<?xml version="1.0"?> <!DOCTYPE resource-agent SYSTEM "ra-api-1-modified.dtd"> <resource-agent version="rgmanager 2.0" name="vm"> <version>1.0</version> <longdesc lang="en"> Defines a Virtual Machine </longdesc> <shortdesc lang="en"> Defines a Virtual Machine </shortdesc> <parameters> <parameter name="name" primary="1"> <longdesc lang="en"> This is the name of the virtual machine. </longdesc> <shortdesc lang="en"> Name </shortdesc> <content type="string"/> </parameter> <parameter name="domain" reconfig="1"> <longdesc lang="en"> Failover domains define lists of cluster members to try in the event that the host of the virtual machine fails. </longdesc> <shortdesc lang="en"> Cluster failover Domain </shortdesc> <content type="string"/> </parameter> <parameter name="autostart" reconfig="1"> <longdesc lang="en"> If set to yes, this resource group will automatically be started after the cluster forms a quorum. If set to no, this virtual machine will start in the 'disabled' state after the cluster forms a quorum. </longdesc> <shortdesc lang="en"> Automatic start after quorum formation </shortdesc> <content type="boolean" default="1"/> </parameter> <parameter name="exclusive" reconfig="1"> <longdesc lang="en"> If set, this resource group will only relocate to nodes which have no other resource groups running in the event of a failure. If no empty nodes are available, this resource group will not be restarted after a failure. Additionally, resource groups will not automatically relocate to the node running this resource group. This option can be overridden by manual start and/or relocate operations. </longdesc> <shortdesc lang="en"> Exclusive resource group </shortdesc> <content type="boolean" default="0"/> </parameter> <parameter name="recovery" reconfig="1"> <longdesc lang="en"> This currently has three possible options: "restart" tries to restart this virtual machine locally before attempting to relocate (default); "relocate" does not bother trying to restart the VM locally; "disable" disables the VM if it fails. </longdesc> <shortdesc lang="en"> Failure recovery policy </shortdesc> <content type="string"/> </parameter> <parameter name="migration_mapping" reconfig="1"> <longdesc lang="en"> Mapping of the hostname of a target cluster member to a different hostname </longdesc> <shortdesc lang="en"> memberhost:targethost,memberhost:targethost .. </shortdesc> <content type="string"/> </parameter> <parameter name="use_virsh"> <longdesc lang="en"> Force use of virsh instead of xm on Xen machines. </longdesc> <shortdesc lang="en"> If set to 1, vm.sh will use the virsh command to manage virtual machines instead of xm. This is required when using non-Xen virtual machines (e.g. qemu / KVM). </shortdesc> <content type="integer" default=""/> </parameter> <parameter name="xmlfile"> <longdesc lang="en"> Full path to libvirt XML file describing the domain. </longdesc> <shortdesc lang="en"> Full path to libvirt XML file describing the domain. </shortdesc> <content type="string"/> </parameter> <parameter name="migrate"> <longdesc lang="en"> Migration type (live or pause, default = live). </longdesc> <shortdesc lang="en"> Migration type (live or pause, default = live). </shortdesc> <content type="string" default="live"/> </parameter> <parameter name="tunnelled"> <longdesc lang="en"> Tunnel data over ssh to securely migrate virtual machines. </longdesc> <shortdesc lang="en"> Tunnel data over ssh to securely migrate virtual machines. </shortdesc> <content type="string" default=""/> </parameter> <parameter name="path"> <longdesc lang="en"> Path specification vm.sh will search for the specified VM configuration file. /path1:/path2:... </longdesc> <shortdesc lang="en"> Path to virtual machine configuration files. </shortdesc> <content type="string"/> </parameter> <parameter name="snapshot"> <longdesc lang="en"> Path to the snapshot directory where the virtual machine image will be stored. </longdesc> <shortdesc lang="en"> Path to the snapshot directory where the virtual machine image will be stored. </shortdesc> <content type="string" default=""/> </parameter> <parameter name="depend"> <longdesc lang="en"> Service dependency; will not start without the specified service running. </longdesc> <shortdesc lang="en"> Top-level service this depends on, in service:name format. </shortdesc> <content type="string"/> </parameter> <parameter name="depend_mode"> <longdesc lang="en"> Service dependency mode. hard - This service is stopped/started if its dependency is stopped/started soft - This service only depends on the other service for initial startip. If the other service stops, this service is not stopped. </longdesc> <shortdesc lang="en"> Service dependency mode (soft or hard). </shortdesc> <content type="string" default="hard"/> </parameter> <parameter name="max_restarts" reconfig="1"> <longdesc lang="en"> Maximum restarts for this service. </longdesc> <shortdesc lang="en"> Maximum restarts for this service. </shortdesc> <content type="string" default="0"/> </parameter> <parameter name="restart_expire_time" reconfig="1"> <longdesc lang="en"> Restart expiration time. A restart is forgotten after this time. When combined with the max_restarts option, this lets administrators specify a threshold for when to fail over services. If max_restarts is exceeded in this given expiration time, the service is relocated instead of restarted again. </longdesc> <shortdesc lang="en"> Restart expiration time; amount of time before a restart is forgotten. </shortdesc> <content type="string" default="0"/> </parameter> <parameter name="status_program" reconfig="1"> <longdesc lang="en"> Ordinarily, only the presence/health of a virtual machine is checked. If specified, the status_program value is executed during a depth 10 check. The intent of this program is to ascertain the status of critical services within a virtual machine. </longdesc> <shortdesc lang="en"> Additional status check program </shortdesc> <content type="string" default=""/> </parameter> <parameter name="hypervisor"> <longdesc lang="en"> Specify hypervisor tricks to use. Default = auto. Other supported options are xen and qemu. </longdesc> <shortdesc lang="en"> Hypervisor </shortdesc > <content type="string" default="auto"/> </parameter> <parameter name="hypervisor_uri"> <longdesc lang="en"> Hypervisor URI. Generally, this is keyed off of the hypervisor and does not need to be set. </longdesc> <shortdesc lang="en"> Hypervisor URI (normally automatic). </shortdesc > <content type="string" default="auto" /> </parameter> <parameter name="migration_uri"> <longdesc lang="en"> Migration URI. Generally, this is keyed off of the hypervisor and does not need to be set. </longdesc> <shortdesc lang="en"> Migration URI (normally automatic). </shortdesc > <content type="string" default="auto" /> </parameter> <parameter name="no_kill"> <longdesc lang="en"> Do not force kill vm during stop, instead fail after the timeout expires. </longdesc> <shortdesc lang="en"> Don't force kill vm on stop. </shortdesc > <content type="boolean" default="false" /> </parameter> </parameters> <actions> <action name="start" timeout="300"/> <action name="stop" timeout="120"/> <action name="status" timeout="10" interval="30"/> <action name="monitor" timeout="10" interval="30"/> <!-- depth 10 calls the status_program --> <action name="status" depth="10" timeout="20" interval="60"/> <action name="monitor" depth="10" timeout="20" interval="60"/> <!-- reconfigure - reconfigure with new OCF parameters. NOT OCF COMPATIBLE AT ALL --> <action name="reconfig" timeout="10"/> <action name="migrate" timeout="10m"/> <action name="meta-data" timeout="5"/> <action name="validate-all" timeout="5"/> </actions> <special tag="rgmanager"> <!-- Destroy_on_delete / init_on_add are currently only supported for migratory resources (no children and the 'migrate' action; see above. Do not try this with normal services --> <attributes maxinstances="1" destroy_on_delete="0" init_on_add="0"/> </special> </resource-agent>
Upload File
Create Folder