SAFplus Runtime Director API  3.0.5
xmlserverexample.ServerFunctions Class Reference

Public Member Functions

def GetCluster
 Return node, su, and component hierarchy. More...
 
def GetNodes
 Show the list of nodes. More...
 
def GetServiceUnits
 Show a list of Service Units. More...
 
def GetServiceGroups
 Show a list of Service Groups. More...
 
def GetApplications
 Show a list of applications. More...
 
def NewApp
 Add a new application into the system. More...
 
def Deploy
 Deploy the new application. More...
 
def Upgrade
 Upgrade an service group. More...
 

Member Function Documentation

def xmlserverexample.ServerFunctions.Deploy (   self,
  app,
  ver,
  nodeNames 
)

Deploy the new application.

def xmlserverexample.ServerFunctions.GetApplications (   self)

Show a list of applications.

def xmlserverexample.ServerFunctions.GetCluster (   self)

Return node, su, and component hierarchy.

def xmlserverexample.ServerFunctions.GetNodes (   self)

Show the list of nodes.

def xmlserverexample.ServerFunctions.GetServiceGroups (   self)

Show a list of Service Groups.

def xmlserverexample.ServerFunctions.GetServiceUnits (   self)

Show a list of Service Units.

def xmlserverexample.ServerFunctions.NewApp (   self,
  newfile 
)

Add a new application into the system.

Note that the new application bundle file must exist on the system. The expectation is that it has been uploaded using some standard interface like scp or ftp. However, you can always extend this protocol to add file transfer...

def xmlserverexample.ServerFunctions.Upgrade (   self,
  sgname,
  ver 
)

Upgrade an service group.