On 2017-07-21 01:38 PM, Kristián Feldsam wrote:
> primitive fence_node3_pdu1 stonith:fence_apc_snmp \
>         params pcmk_host_list=node3.feldhost.cz ipaddr=192.168.2.1
> login=node passwd=somepass port=5 \
>         op monitor interval=60
> primitive fence_node3_pdu2 stonith:fence_apc_snmp \
>         params pcmk_host_list=node3.feldhost.cz ipaddr=192.168.2.2
> login=node passwd= somepass power_wait=5 port=5 \
>         op monitor interval=60

From both nodes, at the command line, can you run;

fence_apc_snmp -a 192.168.2.1 -l node -p somepass -n 5 -o status
fence_apc_snmp -a 192.168.2.1 -l node -p somepass -n 6 -o status

In my experience, you don't need to specify the username and password by
default on APC switched PDUs.


-- 
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to