No subject


Sun Aug 12 09:32:27 EDT 2012


Click Configuration in the left pane

In the right pane, click the outlet #1 name (underlined as a link) and chan=
ge 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 chan=
ge 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 bot=
h of the outlets
Check (i.e. select) the first two outlets which are now both named "srvr-on=
e"
Click Apply

Click Next to procede to the "Select the Global Outlet for this Outlet Grou=
p" 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 ass=
ociated IP address

=3D=3D=3D Test the configuration =3D=3D=3D
In the left window pane the Device Manger tab click Control. You will see t=
he On/Off status of all eight outlets.

Paste this into the command console to turn the two srvr-one outlets off (a=
ssuming that they are both currently on):
stonith -t external/rackpdu hostlist=3Dsrvr-one pduip=3D10.1.1.50 community=
=3Dprivate -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 (as=
suming that they are both currently off):
stonith -t external/rackpdu hostlist=3Dsrvr-one pduip=3D10.1.1.50 community=
=3Dprivate -T on srvr-one

Refresh the web page (F5) and verify that both outlets are on.

=3D=3D=3D end of test =3D=3D=3D=3D


Josh Epps


--_000_0B95C41104F07742927F7F2D58F2E8D43DB0DB13wdc1exchmbxp05h_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Procedure: How to gang multiple APC AP7901 outlets t=
ogether under the same name<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Note:&nbsp;&nbsp;&nbsp; Do not include any quote mar=
ks. They are used below just to indicate verbatim strings.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It =
may take perhaps 10 seconds for any changes to reflect so be patient (like =
after clicking Apply or Next)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">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.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; primitive scc-stonith stonith:ext=
ernal/rackpdu \<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta targ=
et-role=3D&quot;Started&quot; \<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operation=
s $id=3D&quot;scc-stonith-operations&quot; \<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monito=
r interval=3D&quot;3600&quot; timeout=3D&quot;200&quot; start-delay=3D&quot=
;15&quot; \<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params ho=
stlist=3D&quot;scc-pri&quot; pduip=3D&quot;10.1.1.50&quot; community=3D&quo=
t;private&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">=3D=3D=3D Procedure =3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal">Launch a web browser and key in the IP address of th=
e AP 7901 as the URL. In this example 10.1.1.50 is the ipaddr for our AP 79=
01.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Here we will gang together outlets 1 and 2 under a c=
ommon name &quot;srvr-one&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">From within the APC web page, select the Device Mang=
er tab<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Click Configuration in the left pane<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the right pane, click the outlet #1 name (underli=
ned as a link) and change its name to &quot;srvr-one&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">The external link can be any non-blank string so you=
 can leave it as &quot;http://www.apc.com&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">Set power on delay, power off delay, and reboot dura=
tion to what you need<o:p></o:p></p>
<p class=3D"MsoNormal">Click apply<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the right pane, click the outlet #2 name (underli=
ned as a link) and change its name to &quot;srvr-one&quot; also<o:p></o:p><=
/p>
<p class=3D"MsoNormal">Set power on delay, power off delay, and reboot dura=
tion to match those of outlet 1<o:p></o:p></p>
<p class=3D"MsoNormal">Click apply<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Under &quot;Outlet Groups&quot; in the left pane, se=
lect Information<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the right pane, click the button &quot;Create Loc=
al Outlet Group&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Change the Outlet Group Name to &quot;srvr-one&quot;=
 -- which is the same name as both of the outlets<o:p></o:p></p>
<p class=3D"MsoNormal">Check (i.e. select) the first two outlets which are =
now both named &quot;srvr-one&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">Click Apply<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Click Next to procede to the &quot;Select the Global=
 Outlet for this Outlet Group&quot; window<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Check (i.e. select) only the first outlet of the two=
 now named srvr-one<o:p></o:p></p>
<p class=3D"MsoNormal">Click Apply.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">You should notice &quot; G1&nbsp; srvr-one&nbsp;&nbs=
p;&nbsp; 1,2 &quot; under the Group Name with its associated IP address<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">=3D=3D=3D Test the configuration =3D=3D=3D<o:p></o:p=
></p>
<p class=3D"MsoNormal">In the left window pane the Device Manger tab click =
Control. You will see the On/Off status of all eight outlets.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Paste this into the command console to turn the two =
srvr-one outlets off (assuming that they are both currently on):<o:p></o:p>=
</p>
<p class=3D"MsoNormal">stonith -t external/rackpdu hostlist=3Dsrvr-one pdui=
p=3D10.1.1.50 community=3Dprivate -T off srvr-one<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Refresh the web page (F5) and verify that both outle=
ts are off. It may take 10 seconds for it to take.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Paste this into the command console to turn the two =
srvr-one outlets on (assuming that they are both currently off):<o:p></o:p>=
</p>
<p class=3D"MsoNormal">stonith -t external/rackpdu hostlist=3Dsrvr-one pdui=
p=3D10.1.1.50 community=3Dprivate -T on srvr-one<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Refresh the web page (F5) and verify that both outle=
ts are on.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">=3D=3D=3D end of test =3D=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-family:&quot;Arial&quot;,&=
quot;sans-serif&quot;;color:navy">Josh Epps<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_0B95C41104F07742927F7F2D58F2E8D43DB0DB13wdc1exchmbxp05h_--



More information about the Pacemaker mailing list