|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterAdmin
This interface supports the control and management functions of EGO. This includes the vast number of operations that enable the cluster administrator to set up and manage entities such as resource host groups.
Method Summary | |
---|---|
void |
addResourceGroup(ResourceGroup conf)
Add one new resource group configuration. |
void |
closeHost(java.lang.String host)
Close PEM on a host. |
java.lang.String |
createService(java.lang.String xmlstr)
Create one new service. |
void |
delResourceGroup(java.lang.String resourcegroupname)
Delete one resource group configuration. |
void |
disableService(java.lang.String servicename)
Disable an existing service. |
void |
enableService(java.lang.String servicename)
Enable an existing service. |
void |
halt()
Halt EGO Master. |
void |
openHost(java.lang.String host)
Open PEM on a host. |
void |
reboot()
Reboot EGO Master. |
void |
removeClient(java.lang.String clientname)
This routine works only for disconnected client. |
void |
removeService(java.lang.String servicename)
Disable an existing service, and remove it from the service control manager database. |
void |
restartHost(java.lang.String host)
Restart PEM on a host. |
void |
setMasterList(java.lang.String[] hostlist)
Administrative operation to set the master candidate list. |
void |
setResourceGroup(ResourceGroup conf)
Modify one resource group configuration. |
void |
shutdownHost(java.lang.String host)
Shutdown PEM on a host. |
Method Detail |
---|
void reboot() throws EGOException
EGOException
void halt() throws EGOException
EGOException
void openHost(java.lang.String host) throws EGOException
host
- : specifies which host open.
EGOException
void closeHost(java.lang.String host) throws EGOException
host
- : specifies which host close.
EGOException
void restartHost(java.lang.String host) throws EGOException
host
- : specifies which host restart.
EGOException
void shutdownHost(java.lang.String host) throws EGOException
host
- : specifies which host shutdown.
EGOException
void setMasterList(java.lang.String[] hostlist) throws EGOException
hostlist
- : speciies list of candidate.
EGOException
- note: hostlist[0] is the name of master hostvoid removeClient(java.lang.String clientname) throws EGOException
clientname
- : specifies name of client.
EGOException
java.lang.String createService(java.lang.String xmlstr) throws EGOException, org.apache.xmlbeans.XmlException
xmlstr
- : specifies definition of service.
EGOException,
- XmlException
EGOException
org.apache.xmlbeans.XmlException
void removeService(java.lang.String servicename) throws EGOException
servicename
- : specifies name of service.
EGOException
void enableService(java.lang.String servicename) throws EGOException
servicename
- : specifies name of service.
EGOException
void disableService(java.lang.String servicename) throws EGOException
servicename
- : specifies name of service.
EGOException
void addResourceGroup(ResourceGroup conf) throws EGOException
conf
- : specifies configuration of resource group.
EGOException
void setResourceGroup(ResourceGroup conf) throws EGOException
conf
- : specifies configuration of resource group.
EGOException
void delResourceGroup(java.lang.String resourcegroupname) throws EGOException
resourcegroupname
- : specifies name of resource group.
EGOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |