Toggle Pool Member
Problem this snippet solves: The script will toggle the state of a pool member. If no pool and member is specified, a list of it's members and their states are displayed. For a valid pool member, th...
Published Mar 09, 2015
Version 1.0CodeCentral_194
Cirrus
Joined May 05, 2019
CodeCentral_194
Cirrus
Joined May 05, 2019
OmkarSonawane_3
Jun 08, 2017Nimbostratus
i am getting below error, Though Pool Member and Pool name is correctly passed to toggle script. what am i missing here ?
[@:Active:In Sync] ~ /usr/bin/perl toggle | grep PRDCESABPFE /Common/Pool-PRDCESABPFE:10.214.107.11:11300:STATE_ENABLED /Common/Pool-PRDCESABPFE:10.214.107.12:11300:STATE_ENABLED [@:Active:In Sync] ~
[@:Active:In Sync] ~ /usr/bin/perl toggle PRDCESABPFE 10.214.107.12:11300 sPool : PRDCESABPFE sNodeAddr : 10.214.107.12:11300 Couldn't find member 10.214.107.12:11300 in pool PRDCESABPFE
[@:In Sync] ~ /usr/bin/perl toggle | grep PRDCESABPFE /Common/Pool-PRDCESABPFE:10.214.107.11:11300:STATE_ENABLED /Common/Pool-PRDCESABPFE:10.214.107.12:11300:STATE_ENABLED [@:Active:In Sync] ~