[Pacemaker] How to gang multiple APC AP7901 outlets together under the same name

Andrew Beekhof andrew at beekhof.net
Thu Oct 11 02:34:20 CEST 2012


Nice guide. You should consider adding it to the wiki.

On Thu, Oct 4, 2012 at 12:20 AM, Epps, Josh <josh.epps at viasat.com> wrote:
> Procedure: How to gang multiple APC AP7901 outlets together under the same
> name
>
>
>
> Note:    Do not include any quote marks. They are used below just to
> indicate verbatim strings.
>
>          It may take perhaps 10 seconds for any changes to reflect so be
> patient (like after clicking Apply or Next)
>
>
>
> Here is the crm config that worked for this example (yours may be
> different). It worked out-of-box with no other configuration to the AP 7901.
>
>     primitive scc-stonith stonith:external/rackpdu \
>
>         meta target-role="Started" \
>
>         operations $id="scc-stonith-operations" \
>
>         op monitor interval="3600" timeout="200" start-delay="15" \
>
>         params hostlist="scc-pri" pduip="10.1.1.50" community="private"
>
>
>
> === Procedure ===
>
> Launch a web browser and key in the IP address of the AP 7901 as the URL. In
> this example 10.1.1.50 is the ipaddr for our AP 7901.
>
>
>
> Here we will gang together outlets 1 and 2 under a common name "srvr-one"
>
>
>
> From within the APC web page, select the Device Manger tab
>
>
>
> Click Configuration in the left pane
>
>
>
> In the right pane, click the outlet #1 name (underlined as a link) and
> change its name to "srvr-one"
>
> The external link can be any non-blank string so you can leave it as
> "http://www.apc.com"
>
> Set power on delay, power off delay, and reboot duration to what you need
>
> Click apply
>
>
>
> In the right pane, click the outlet #2 name (underlined as a link) and
> change its name to "srvr-one" also
>
> Set power on delay, power off delay, and reboot duration to match those of
> outlet 1
>
> Click apply
>
>
>
> Under "Outlet Groups" in the left pane, select Information
>
>
>
> In the right pane, click the button "Create Local Outlet Group"
>
>
>
> Change the Outlet Group Name to "srvr-one" -- which is the same name as both
> of the outlets
>
> Check (i.e. select) the first two outlets which are now both named
> "srvr-one"
>
> Click Apply
>
>
>
> Click Next to procede to the "Select the Global Outlet for this Outlet
> Group" window
>
>
>
> Check (i.e. select) only the first outlet of the two now named srvr-one
>
> Click Apply.
>
>
>
> You should notice " G1  srvr-one    1,2 " under the Group Name with its
> associated IP address
>
>
>
> === Test the configuration ===
>
> In the left window pane the Device Manger tab click Control. You will see
> the On/Off status of all eight outlets.
>
>
>
> Paste this into the command console to turn the two srvr-one outlets off
> (assuming that they are both currently on):
>
> stonith -t external/rackpdu hostlist=srvr-one pduip=10.1.1.50
> community=private -T off srvr-one
>
>
>
> Refresh the web page (F5) and verify that both outlets are off. It may take
> 10 seconds for it to take.
>
>
>
> Paste this into the command console to turn the two srvr-one outlets on
> (assuming that they are both currently off):
>
> stonith -t external/rackpdu hostlist=srvr-one pduip=10.1.1.50
> community=private -T on srvr-one
>
>
>
> Refresh the web page (F5) and verify that both outlets are on.
>
>
>
> === end of test ====
>
>
>
>
>
> Josh Epps
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>



More information about the Pacemaker mailing list