com.ibm.xd.ws.bladecenter
Class ManageBladeCenter

java.lang.Object
  extended by 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:

These values can be set via the wpfadmin command, please see the WPF Mangement and User Guide for examples.


Constructor Summary
ManageBladeCenter()
           
 
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
 

Constructor Detail

ManageBladeCenter

public ManageBladeCenter()
Method Detail

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