|
__init__(self,
aws_access_key_id=None,
aws_secret_access_key=None,
aws_port=None,
aws_is_secure=True,
aws_ec2_path=' / ' ,
aws_s3_path=' / ' ,
aws_region_name=None,
aws_region_host=None,
spot_bid=None,
cluster_tag=None,
cluster_description=None,
cluster_size=None,
cluster_user=None,
cluster_shell=None,
master_image_id=None,
master_instance_type=None,
node_image_id=None,
node_instance_type=None,
availability_zone=None,
keyname=None,
key_location=None,
volumes=[ ] ,
plugins=[ ] ,
**kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
load_volumes(self,
vols)
Iterate through vols and set device/partition settings automatically
if not specified. |
source code
|
|
|
|
|
|
|
_validate_running_instances(self)
Validate existing instances against this template's settings |
source code
|
|
|
|
|
|
|
load_receipt(self)
Fetch the StarCluster receipt file from the master node and use it to
populate this object's attributes. |
source code
|
|
|
|
|
|
|
|
|
run_instances(self,
price=None,
image_id=None,
instance_type=' m1.small ' ,
min_count=1,
max_count=1,
count=1,
key_name=None,
security_groups=None,
launch_group=None,
availability_zone_group=None,
placement=None) |
source code
|
|
|
|
|
is_cluster_up(self)
Check whether there are cluster_size nodes running, that ssh (port
22) is up on all nodes, and that each node has an internal ip address
associated with it |
source code
|
|
|
|
|
|
|
|
|
|
|
is_running_valid(self)
Checks whether the current running instances are compatible with this
cluster template's settings |
source code
|
|
|
is_valid(self)
Checks that all cluster template settings are valid |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
__check_platform(self,
image_id,
instance_type)
Validates whether an image_id (AMI) is compatible with a given
instance_type. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|