Package starcluster :: Module clustersetup :: Class DefaultClusterSetup
[hide private]
[frames] | no frames]

Class DefaultClusterSetup

source code


Default ClusterSetup implementation for StarCluster

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_setup_cluster_user(self)
Create cluster user on all StarCluster nodes
source code
 
_setup_scratch(self)
Configure scratch space on all StarCluster nodes
source code
 
_setup_etc_hosts(self)
Configure /etc/hosts on all StarCluster nodes
source code
 
_setup_passwordless_ssh(self)
Properly configure passwordless ssh for CLUSTER_USER on all StarCluster nodes
source code
 
_setup_ebs_volume(self)
Mount EBS volume, if specified, in ~/.starclustercfg to /home
source code
 
_setup_nfs(self)
Share /home and /opt/sge6 via nfs to all nodes
source code
 
_setup_sge(self)
Install Sun Grid Engine with a default parallel environment on StarCluster
source code
 
run(self, nodes, master, user, user_shell, volumes)
Start cluster configuration
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_setup_cluster_user(self)

source code 

Create cluster user on all StarCluster nodes

This command takes care to examine existing folders in /home and set the new cluster_user's uid/gid accordingly. This is necessary for the case of EBS volumes containing /home with large amounts of data in them. It's much less expensive in this case to set the uid/gid of the new user to be the existing uid/gid of the dir in EBS rather than chowning potentially terabytes of data.

run(self, nodes, master, user, user_shell, volumes)

source code 

Start cluster configuration

Overrides: ClusterSetup.run