Typically, you can use the response file that the installer generates after you migrate between I/O fencing configurations. Edit these response files to perform an automated fencing reconfiguration in the VCS cluster.
To configure I/O fencing using response files
# vxfenadm -d
For example, if VCS cluster uses disk-based fencing:
I/O Fencing Cluster Information: ================================ Fencing Protocol Version: 201 Fencing Mode: SCSI3 Fencing SCSI3 Disk Policy: dmp Cluster Members: * 0 (sys1) 1 (sys2) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running)
For example, if the VCS cluster uses server-based fencing:
I/O Fencing Cluster Information: ================================ Fencing Protocol Version: 201 Fencing Mode: Customized Fencing Mechanism: cps Cluster Members: * 0 (sys1) 1 (sys2) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running)
Review the sample files to reconfigure I/O fencing.
See Sample response file to migrate from disk-based to server-based fencing.
See Sample response file to migrate from server-based fencing to disk-based fencing.
See Sample response file to migrate from single CP server-based fencing to server-based fencing.
See Response file variables to migrate between fencing configurations.
# /opt/VRTS/install/installer<version> -responsefile /tmp/ \ response_file
Where <version> is the specific release version, and /tmp/response_file is the response file's full path name.