You can either use the installer or manually migrate from disk-based fencing to server-based fencing without incurring application downtime in the VCS clusters.
See About migrating between disk-based and server-based fencing configurations.
You can also use response files to migrate between fencing configurations.
See Migrating between fencing configurations using response files.
Warning: |
The cluster might panic if any node leaves the cluster membership before the coordination points migration operation completes. |
This section covers the following procedures:
Migrating using the script-based installer |
See “To migrate from disk-based fencing to server-based fencing using the installer”. |
Migrating manually |
See “To manually migrate from disk-based fencing to server-based fencing”. |
To migrate from disk-based fencing to server-based fencing using the installer
# 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 (galaxy) 1 (nebula) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running)
# /opt/VRTS/install/installvcs -fencing
The installvcs program starts with a copyright message and verifies the cluster information.
Note the location of log files which you can access in the event of any problem with the configuration process.
The installer verifies whether I/O fencing is configured in enabled mode.
Select the fencing mechanism to be configured in this Application Cluster [1-4,q] 4
For example:
Select the coordination points you would like to remove from the currently configured coordination points: 1) emc_clariion0_62 2) emc_clariion0_65 3) emc_clariion0_66 4) All 5) None b) Back to previous menu Enter the options separated by spaces: [1-5,b,q,?] (5)? 1 2
If you want to migrate to server-based fencing with no coordinator disks, type 4 to remove all the coordinator disks.
If you want to migrate to server-based fencing configuration with a mix of coordination points, the number you enter at this prompt must be a total of both the new CP servers and the new coordinator disks.
If you want to migrate to server-based fencing with no coordinator disks, type 0 at this prompt.
Review the output as the installer performs the following tasks:
Removes the coordinator disks from the coordinator disk group.
Updates the application cluster details on each of the new CP servers.
Prepares the vxfenmode.test
file on all nodes.
Runs the vxfenswap script.
Note the location of the vxfenswap.log
file which you can access in the event of any problem with the configuration process.
Completes the I/O fencing migration.
Would you like to send the information about this installation to Symantec to help improve installation in the future? [y,n,q,?] (y) y
# vxfenadm -d
For example, after the migration from disk-based fencing to server-based fencing in the VCS cluster:
I/O Fencing Cluster Information: ================================ Fencing Protocol Version: 201 Fencing Mode: Customized Fencing Mechanism: cps Cluster Members: * 0 (galaxy) 1 (nebula) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running)
# vxfenconfig -l
To manually migrate from disk-based fencing to server-based fencing
# 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 (galaxy) 1 (nebula) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running)
/etc/vxfenmode.test
file on each VCS cluster node with the fencing configuration changes such as the CP server information.Refer to the sample vxfenmode
files in the /etc/vxfen.d
folder.
# vxfenswap [-n]
Review the message that the utility displays and confirm whether you want to commit the change.
If you do not want to commit the new fencing configuration changes, press Enter or answer n at the prompt.
Do you wish to commit this change? [y/n] (default: n) n
The vxfenswap utility rolls back the migration operation.
If you want to commit the new fencing configuration changes, answer y at the prompt.
Do you wish to commit this change? [y/n] (default: n) y
If the utility successfully commits, the utility moves the /etc/vxfenmode.test
file to the /etc/vxfenmode
file.
# vxfenadm -d
For example, after the migration from disk-based fencing to server-based fencing in the VCS cluster:
I/O Fencing Cluster Information: ================================ Fencing Protocol Version: 201 Fencing Mode: Customized Fencing Mechanism: cps Cluster Members: * 0 (galaxy) 1 (nebula) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running)
# vxfenconfig -l