Package iceprod :: Package client :: Module commands :: Class startserver
[hide private]
[frames] | no frames]

Class startserver

source code

object --+    
         |    
   Command --+
             |
            startserver

Command: startserver <grid>[.<daemon>]

Start a server or a specific daemon on the server.
Can start multiple servers and daemons at once.

Only works if main iceprodd daemon is running on the server,
otherwise the change is only in the database.
 
Arguments:
  <grid>      Specify the grid to start, either by name or id
  [.<daemon>] (Optional) Specify the daemon to start.
               (all,soapdh,soapqueue,soaphist,soapmon)
  
Returns:
  Returns the result of the mysql query (success or failure).
  Warning that if the grid or daemon is wrong it will likely
  print success because there was no mysql error.
  
Examples:
  Start GLOW
     startserver GLOW
        or
     startserver 1
  
  Start soapqueue on GLOW and soapdh on glow-test
     startserver GLOW.soapqueue glow-test.soapdh
     
  Start EGEE.Madison, or others with a dot in the name
  (must specify daemon to get grid name correct)
     startserver EGEE.Madison.all
 

Instance Methods [hide private]
 
Execute(self, shell) source code
 
_start(self, shell, grid, daemon) source code

Inherited from Command: CheckArgs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  shortdoc = 'startserver <grid>[.<daemon>] : Start an iceprod s...
hash(x)
  numArgs = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Execute(self, shell)

source code 
Overrides: Command.Execute

Class Variable Details [hide private]

shortdoc

hash(x)

Value:
'startserver <grid>[.<daemon>] : Start an iceprod server.'