Visit Platform at http://www.platform.com

AdministrationService

Operation: ControlResource The ControlResource operation is used to send a management command to a Resource within the EGO cluster. The operation is chosen using the ResourceControlOperation element.
Input Message

The ControlResourceRequest element has the following structure:

  • ResourceName - the name of the resource that is the target of this operation.
  • ResourceControlOperation - the command to send to the resource. Currently can be one of "open" or "close".
Output Message

Currently, the response message from ControlResource is an empty element tag (<ControlResourceResponse/>).


Operation: ControlAgent The ControlAgent operation is used to send a management command to an EGO agent within the EGO cluster. The operation is chosen using the AgentControlOperation element.
Input Message

The ControlAgentRequest element has the following structure:

  • ResourceName - the name of the resource on which the EGO agent is running.
  • AgentControlOperation - the command to send to the EGO agent. Currently can be one of "start", "stop", or "restart". At this time, the "start" operation is not supported.
Output Message

Currently, the response message from ControlAgent is an empty element tag (<ControlAgentResponse/>).


Operation: ControlMaster The ControlMaster operation is used to send a management command to the EGO master (i.e. the vemkd process). The operation is chosen using the MasterControlOperation element.
Input Message

The only element in the ControlMasterRequest is the MasterControlOperation which indicates the command to send to the master. It can currently be one of "stop" and "restart".

Output Message

Currently, the response message from ControlMaster is an empty element tag (<ControlMasterResponse/>).


Operation: ResourceGroupInfo This returns the information about ResourceGroup(s).
Input Message

The request contains the following sub-elements:

  • ResourceGroupName - contains an array of resource group names.
Output Message

The response contains the following sub-elements:

  • ResourceGroupInfo - returns information of resource groups specified in request.

Operation: CreateResourceGroup The CreateResourceGroup operation is used to create a resource group in EGO master. The operation is chosen as using the MasterControlOperation element.
Input Message

The CreateResourceGroupRequestMessage contains the CreateResourceGroupRequest element which has the following structure:

  • ResourceGroupName - Name of the resource group to be added.This parameter is mandatory.
  • ResourceGroupDescription - Description of resource group.
  • ConsumableAttribute - Number of slots configured for each host in the group.
  • SelectType - Type of hosts in the group.Including:

    1)static;

    2)dynamic

  • Resource - Entries of static hosts in the group.
  • ResourceRequirement - Resource requirement to dynamically select hosts from the resource group.

Output Message

The CreateResourceGroupResponseMessage contains the CreateResourceGroupResponse element that contains nothing.


Operation: DeleteResourceGroup The DeleteResourceGroup operation is used to delete an existing resource group in the EGO master.The operation is chosen as using the MasterControlOperation element.
Input Message

The DeleteResourceGroupRequestMessage contains the DeleteResourceGroupRequest element which contains the name of the resource group to be deleted.

Output Message

The DeleteResourceGroupResponseMessage contains the DeleteResourceGroupResponse element that contains nothing


Operation: SetResourceGroup The SetResourceGroup operation is used to update an existing resource group in the EGO master. The operation is chosen as using the MasterControlOperation element.
Input Message

The SetResourceGroupRequestMessage contains the SetResourceGroupRequest element which contains the same parameters as CreateResourceGroupRequest element.

Output Message

The SetResourceGroupResponseMessage contains the SetResourceGroupResponse element that contains nothing


Operation: AddToResourceGroup This operation is unimplemented at this time.
Input Message
Output Message

Operation: RemoveFromResourceGroup This operation is unimplemented at this time.
Input Message
Output Message

Operation: SetMasterList This operation sets the master candidate list.
Input Message

The request contains the following sub-elements:

  • MasterName - The hostname of the current EGO master host. This is the node that runs vemkd.
  • CandidateMaster - The hostname of a node in the EGO cluster that potentially could become the master of the cluster as the result of the master election algorithm.
Output Message

Operation: RemoveClient This operation removes zombie clients.
Input Message

The request contains the following sub-elements:

  • ClientName - A unique identifier that is used to distinguish between EGO clients.
Output Message



Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 1994-2007 Platform Computing Corporation. All rights reserved.