<br>
<br><tt><font size=2>linux-cluster-bounces@redhat.com wrote on 03/03/2011
02:44:18 PM:<br>
<br>
> When i added -P like down here:</font></tt>
<br><tt><font size=2>> fence_ipmilan -P -a xxxxxxxxlo -l admin -p xxxxxxxxx
-M 'cycle' -v</font></tt>
<br><tt><font size=2>> Everything works, server reboots. But how do
i get this "-P" option <br>
> included in fence_ipmilan.</font></tt>
<br><tt><font size=2>> How should my cluster.conf look like..that's
the question...</font></tt>
<br>
<br><tt><font size=2>Here is an example with passwords removed:</font></tt>
<br>
<br><tt><font size=2><cluster name="88423a6c34c04d" config_version="3"></font></tt>
<br>
<br><tt><font size=2>  <totem token="10000"/></font></tt>
<br><tt><font size=2>  <cman port="6809" expected_votes="1"
two_node="1" broadcast="no"/></font></tt>
<br><tt><font size=2>  <logging syslog_facility="local3"/></font></tt>
<br>
<br><tt><font size=2>  <fencedevices></font></tt>
<br><tt><font size=2>    <fencedevice name="manual"
agent="fence_manual"/></font></tt>
<br><tt><font size=2>    <fencedevice name="ilo"
agent="fence_ipmilan"/></font></tt>
<br><tt><font size=2>    <fencedevice name="ilom"
agent="fence_npm_ilom"/></font></tt>
<br><tt><font size=2>  </fencedevices></font></tt>
<br>
<br><tt><font size=2>  <clusternodes></font></tt>
<br><tt><font size=2>    <clusternode name="node1"
votes="1" nodeid="1"></font></tt>
<br><tt><font size=2>      <fence></font></tt>
<br><tt><font size=2>        <method name="method1"></font></tt>
<br><tt><font size=2>          <device name="ilo"
passwd="12345678" lanplus="1" method="cycle"
login="user" ipaddr="10.39.170.233"/></font></tt>
<br><tt><font size=2>        </method></font></tt>
<br><tt><font size=2>      </fence></font></tt>
<br><tt><font size=2>    </clusternode></font></tt>
<br><tt><font size=2>    <clusternode name="node2"
votes="1" nodeid="2"></font></tt>
<br><tt><font size=2>      <fence></font></tt>
<br><tt><font size=2>        <method name="method2"></font></tt>
<br><tt><font size=2>          <device name="ilo"
passwd="12345678" lanplus="1" method="cycle"
login="user" ipaddr="10.39.170.234"/></font></tt>
<br><tt><font size=2>        </method></font></tt>
<br><tt><font size=2>      </fence></font></tt>
<br><tt><font size=2>    </clusternode></font></tt>
<br><tt><font size=2>  </clusternodes></font></tt>
<br>
<br><tt><font size=2></cluster></font></tt>
<br>
<br>
<br><tt><font size=2>> 2011/3/3 שלום קלמר <sklemer@gmail.com></font></tt>
<br><tt><font size=2>> H. </font></tt>
<br><tt><font size=2>> <br>
> Maybe iLo3 dont support cycle. why not to use the default , which
is<br>
> "onoff" . Try it</font></tt>
<br><tt><font size=2>> <br>
> I think its good enough .</font></tt>
<br><tt><font size=2>> <br>
> -M method</font></tt>
<br><tt><font size=2>>             
 Method to fence (onoff or cycle). Default is onoff. Use cycle in</font></tt>
<br><tt><font size=2>>             
 case  your management card will power off with defaultmethod
so</font></tt>
<br><tt><font size=2>>             
 there will be no chance to power machine on by IPMI.</font></tt>
<br><tt><font size=2>> <br>
> On Thu, Mar 3, 2011 at 3:53 PM, Mika i <mika68vaan@gmail.com>
wrote:</font></tt>
<br><tt><font size=2>> this works:</font></tt>
<br><tt><font size=2>> ipmitool -H xxxxxilo -I lanplus -U admin -P xxxxxx
chassis power cycle<br>
> Server is rebooted.....</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> but not this:</font></tt>
<br><tt><font size=2>> root@fff fence_ipmilan -a xxxxxxxxlo -l admin
-p xxxxxxxxx -M 'cycle' -v</font></tt>
<br><tt><font size=2>> Rebooting machine @ IPMI:xxixxxxxilo...Spawning:
'/usr/bin/ipmitool <br>
> -I lan -H 'xxxxxxx' -U 'admin' -P 'xxxxx41!' -v chassis power status'...<br>
> Spawning: '/usr/bin/ipmitool -I lan -H 'xxxxxxx' -U 'admin' -P <br>
> 'xxxxxx1!' -v chassis power cycle'...<br>
> Failed</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> cluster.conf</font></tt>
<br><tt><font size=2>> ....</font></tt>
<br><tt><font size=2>>                                
<method name="1"><br>
>                                        
<device lanplus="1" <br>
> name="xxxxxx_xxxxdev" timeout="20"/><br>
> ......</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> <fencedevice agent="fence_ipmilan"
auth="none" ipaddr="xxxxxxxilo" <br>
> login="admin" method="cycle" name="xxxxuxx32_fencedev"
passwd="xxxxx!"/></font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> <br>
>  </font></tt>
<br><tt><font size=2>> 2011/3/3 שלום קלמר <sklemer@gmail.com>
</font></tt>
<br><tt><font size=2>> <br>
> Hi. </font></tt>
<br><tt><font size=2>> for ilo3 testing you can use :</font></tt>
<br><tt><font size=2>> # fence_ipmilan -a 17x.3x.7x.1xx -p
"password" -o status</font></tt>
<br><tt><font size=2>> <br>
>  fence_ipmilan -h</font></tt>
<br><tt><font size=2>> usage: fence_ipmilan <options></font></tt>
<br><tt><font size=2>>    -A <authtype>  IPMI Lan
Auth type (md5, password, or none)</font></tt>
<br><tt><font size=2>>    -a <ipaddr>    IPMI
Lan IP to talk to</font></tt>
<br><tt><font size=2>>    -i <ipaddr>    IPMI
Lan IP to talk to (deprecated, use -a)</font></tt>
<br><tt><font size=2>>    -p <password>  Password
(if required) to control power on</font></tt>
<br><tt><font size=2>>             
     IPMI device</font></tt>
<br><tt><font size=2>>    -P          
  Use Lanplus</font></tt>
<br><tt><font size=2>>    -S <path>      Script
to retrieve password (if required)</font></tt>
<br><tt><font size=2>>    -l <login>     Username/Login
(if required) to control power</font></tt>
<br><tt><font size=2>>             
     on IPMI device</font></tt>
<br><tt><font size=2>>    -o <op>      
 Operation to perform.</font></tt>
<br><tt><font size=2>>             
     Valid operations: on, off, reboot, status</font></tt>
<br><tt><font size=2>>    -t <timeout>   Timeout
(sec) for IPMI operation (default 20)</font></tt>
<br><tt><font size=2>>    -C <cipher>    Ciphersuite
to use (same as ipmitool -C parameter)</font></tt>
<br><tt><font size=2>>    -M <method>    Method
to fence (onoff or cycle (default onoff)</font></tt>
<br><tt><font size=2>>    -V          
  Print version and exit</font></tt>
<br><tt><font size=2>>    -v          
  Verbose mode</font></tt>
<br><tt><font size=2>> <br>
> If no options are specified, the following options will be read</font></tt>
<br><tt><font size=2>> from standard input (one per line):</font></tt>
<br><tt><font size=2>> <br>
>    auth=<auth>          
Same as -A</font></tt>
<br><tt><font size=2>>    ipaddr=<#>      
     Same as -a</font></tt>
<br><tt><font size=2>>    passwd=<pass>    
    Same as -p</font></tt>
<br><tt><font size=2>>    passwd_script=<path>  Same
as -S</font></tt>
<br><tt><font size=2>>    lanplus        
      Same as -P</font></tt>
<br><tt><font size=2>>    login=<login>    
    Same as -u</font></tt>
<br><tt><font size=2>>    option=<op>    
      Same as -o</font></tt>
<br><tt><font size=2>>    operation=<op>    
   Same as -o</font></tt>
<br><tt><font size=2>>    action=<op>    
      Same as -o</font></tt>
<br><tt><font size=2>>    timeout=<timeout>    
Same as -t</font></tt>
<br><tt><font size=2>>    cipher=<cipher>    
  Same as -C</font></tt>
<br><tt><font size=2>>    method=<method>    
  Same as -M</font></tt>
<br><tt><font size=2>>    verbose        
      Same as -v</font></tt>
<br><tt><font size=2>> <br>
> On Thu, Mar 3, 2011 at 12:21 PM, Mika i <mika68vaan@gmail.com>
wrote:</font></tt>
<br><tt><font size=2>> hmm.</font></tt>
<br><tt><font size=2>> Okey: have someone good installation instructions
to get this <br>
> fence_ipmilan to work.</font></tt>
<br><tt><font size=2>> 1. active IPMI/DCMI over LAN in iLo3</font></tt>
<br><tt><font size=2>> 2. what should i install in server to get fence_ipmilan
to work</font></tt>
<br><tt><font size=2>> Now if i test connection it shows like this.</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> ipmitool -v -H 17x.3x.7x.1xx -I lanplus -U admin
mc info <br>
> Password: <br>
> Get Auth Capabilities error<br>
> Get Auth Capabilities error<br>
> Error issuing Get Channel Authentication Capabilies request<br>
> Error: Unable to establish IPMI v2 / RMCP+ session<br>
> Get Device ID command failed<br>
> <br>
> Can someone help me!</font></tt>
<br><tt><font size=2>> 2011/3/2 <Jason_Henderson@mitel.com></font></tt>
<br><tt><font size=2>> <br>
> <br>
> linux-cluster-bounces@redhat.com wrote on 03/02/2011 10:07:38 AM:<br>
> <br>
> > Hi </font></tt>
<br><tt><font size=2>> >   <br>
> > Is there a way to get cluster-suite Fence to work with Rhel 5.5
and iLo3 <br>
> > I have now in both clusters rhel 5.5 version with: <br>
> > kernel 2.6.18-194.el5 <br>
> > cman-2.0.115-68.el5_6.1 <br>
> >   <br>
> > But in fence state i get allways message: Unable to connect/login
to<br>
> > fencing device <br>
> >   <br>
> > Any help - or must i update the cluster to rhel 5.6?
<br>
</font></tt>
<br><tt><font size=2>> What fence agent are you using, fence_ilo? <br>
> You will need to use the fence_ipmilan agent for iLO3.</font></tt>
<br><tt><font size=2>> --<br>
> Linux-cluster mailing list<br>
> Linux-cluster@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/linux-cluster</font></tt>
<br><tt><font size=2>> <br>
> <br>
> --<br>
> Linux-cluster mailing list<br>
> Linux-cluster@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/linux-cluster</font></tt>
<br><tt><font size=2>> <br>
> <br>
> --<br>
> Linux-cluster mailing list<br>
> Linux-cluster@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/linux-cluster</font></tt>
<br><tt><font size=2>> <br>
> <br>
> --<br>
> Linux-cluster mailing list<br>
> Linux-cluster@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/linux-cluster</font></tt>
<br><tt><font size=2>> <br>
> <br>
> --<br>
> Linux-cluster mailing list<br>
> Linux-cluster@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/linux-cluster</font></tt>
<br><tt><font size=2>> --<br>
> Linux-cluster mailing list<br>
> Linux-cluster@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/linux-cluster</font></tt>