com.ibm.xd.ws.bladecenter
Class ManageBladeCenter
java.lang.Object
com.ibm.xd.ws.bladecenter.ManageBladeCenter
- All Implemented Interfaces:
- com.ibm.wsspi.hamanager.quorum.ServerPowerController
public class ManageBladeCenter
- extends java.lang.Object
- implements com.ibm.wsspi.hamanager.quorum.ServerPowerController
This class, when configured in the CoreGroup properties, will disable the
node if quorum detection determines the cluster set has lost quorum.
To configure this class, a CoreGroup Custom Property must be created,
IBM_CS_HW_SERVER_POWER_CONTROLLER. The property should be set to
com.ibm.xd.ws.bladecenter.ManageBladeCenter.
Additionally, these CoreGroup Service Specific properties must be set:
- blade_controller_host - fully qualified dns name of blade managing the
blade center.
- blade_controller_username - user name with authority to access
management blade.
- blade_controller_password - password of controller user name.
- blade_controller_slot - a string with an integer value (mapped to an Int
at runtime) describing the slot number that the management blade resides
within.
These values can be set via the wpfadmin command, please see the WPF
Mangement and User Guide for examples.
Method Summary |
static boolean |
applyPowerToBlade(java.lang.String host,
java.lang.String uid,
java.lang.String pwd,
int slot,
boolean powerOn)
|
boolean |
powerDown(java.lang.String serverName,
com.ibm.wsspi.hamanager.quorum.CoreStackPropertyProvider props)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManageBladeCenter
public ManageBladeCenter()
applyPowerToBlade
public static boolean applyPowerToBlade(java.lang.String host,
java.lang.String uid,
java.lang.String pwd,
int slot,
boolean powerOn)
throws java.net.UnknownHostException,
CantConnectToMMException,
CantDisconnectFromMMException,
DeviceNotFoundException,
UnknownMMException
- Throws:
java.net.UnknownHostException
CantConnectToMMException
CantDisconnectFromMMException
DeviceNotFoundException
UnknownMMException
powerDown
public boolean powerDown(java.lang.String serverName,
com.ibm.wsspi.hamanager.quorum.CoreStackPropertyProvider props)
- Specified by:
powerDown
in interface com.ibm.wsspi.hamanager.quorum.ServerPowerController