Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

svadm(1m) [opensolaris man page]

svadm(1M)						  System Administration Commands						 svadm(1M)

NAME
svadm - command line interface to control Availability Suite Storage Volume operations SYNOPSIS
svadm -h svadm -v svadm [-C tag] svadm [-C tag] -i svadm [-C tag] -e {-f config_file | volume} svadm [-C tag] -d {-f config_file | volume} svadm [-C tag] -r {-f config_file | volume} DESCRIPTION
The svadm command controls the Storage Volume (SV) driver by providing facilities to enable and disable the SV driver for specified vol- umes, and to dynamically reconfigure the system. OPTIONS
If you specify no arguments to an svadm command, the utility displays the list of volumes currently under SV control. svadm supports the following options: -C tag On a clustered node, limits operations to only those volumes belonging to the cluster resource group, or disk group name, specified by tag. This option is illegal on a system that is not clustered. The special tag, local, can be used to limit operations to only those volumes that cannot switch over to other nodes in the cluster. -d Disables the SV devices specified on the command line or in the configuration file. If -C tag is specified with this option, then the volume should be in this cluster disk group. -e Enables the SV devices specified on the command line or in the configuration file. Details of the volume are saved in the current con- figuration. See dscfg(1M). If -C tag is specified with this option, then the volume should be in this cluster disk group. -f config_file Specifies a configuration file that contains a list of volumes. A command reads this volume list and then perform the operation. The format of the config_file is a simple list of volume pathnames, one per line. Blank lines and lines starting with the comment character (#) are ignored. -h Displays the svadm usage summary. -i Displays extended status for the volumes currently under SV control. -r When a config_file is specified, reconfigure the running system to match the configuration specified in the config_file. When the -C option is specified, compare the cluster tag for each volume and change it to cluster_tag. If a volume is specified with this option, it is valid only to reconfigure the cluster tag associated with the volume. The -e or -d options should be used to enable or disable single volumes. -v Displays the SV version number. USAGE
When an SV volume is enabled, normal system call access to the device (see intro(2)) is redirected into the StoreEdge architecture soft- ware. This allows standard applications to use StorageTek features such as Sun StorageTek Point-in-Time Copy and Remote Mirror Software. The svadm command generates an entry in the Availability Suite log file, /var/adm/ds.log (see ds.log(4)), when performing enable (-e) and disable (-d) operations. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWspsvr, SUNWspsvu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dscfg(1M), ds.log(4), attributes(5), sv(7D) SunOS 5.11 2 Oct 2007 svadm(1M)

Check Out this Related Man Page

OCF_HEARTBEAT_LVM(7)						OCF resource agents					      OCF_HEARTBEAT_LVM(7)

NAME
ocf_heartbeat_LVM - Controls the availability of an LVM Volume Group SYNOPSIS
LVM [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
Resource script for LVM. It manages an Linux Volume Manager volume (LVM) as an HA resource. SUPPORTED PARAMETERS
volgrpname The name of volume group. (required, string, no default) exclusive If set, the volume group will be activated exclusively. This option works one of two ways. If the volume group has the cluster attribute set, then the volume group will be activated exclusively using clvmd across the cluster. If the cluster attribute is not set, the volume group will be activated exclusively through the use of the volume_list filter in lvm.conf. In the filter scenario, the LVM agent verifies that pacemaker's configuration will result in the volume group only being active on a single node in the cluster and that the local node's volume_list filter will prevent the volume group from activating outside of the resource agent. On activation this agent claims the volume group through the use of a unique tag, and then overrides the volume_list field in a way that allows the volume group to be activated only by the agent. To use exclusive activation without clvmd, the volume_list in lvm.conf must be initialized. If volume groups exist locally that are not controlled by the cluster, such as the root volume group, make sure those volume groups are listed in the volume_list so they will be allowed to activate on bootup. (optional, boolean, default false) tag If "exclusive" is set on a non clustered volume group, this overrides the tag to be used. (optional, string, default "pacemaker") partial_activation If set, the volume group will be activated even only partial of the physical volumes available. It helps to set to true, when you are using mirroring logical volumes. (optional, string, default "false") SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 30. stop Stops the resource. Suggested minimum timeout: 30. status Performs a status check. Suggested minimum timeout: 30. monitor Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 10. methods Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a LVM resource using the crm(8) shell: primitive p_LVM ocf:heartbeat:LVM params volgrpname=string op monitor depth="0" timeout="30" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/LVM_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_LVM(7)
Man Page