Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####################################
- ## StarCluster Configuration File ##
- ####################################
- [global]
- # Configure the default cluster template to use when starting a cluster
- # defaults to 'smallcluster' defined below. This template should be usable
- # out-of-the-box provided you've configured your keypair correctly
- #DEFAULT_TEMPLATE=smallcluster
- DEFAULT_TEMPLATE=drqacluster15
- #DEFAULT_TEMPLATE=testcluster
- #DEFAULT_TEMPLATE=final_runs_cluster
- # enable experimental features for this release
- #ENABLE_EXPERIMENTAL=True
- # number of seconds to wait when polling instances (default: 30s)
- #REFRESH_INTERVAL=15
- # specify a web browser to launch when viewing spot history plots
- #WEB_BROWSER=chromium
- # split the config into multiple files
- #INCLUDE=~/.starcluster/aws, ~/.starcluster/keys, ~/.starcluster/vols
- #############################################
- ## AWS Credentials and Connection Settings ##
- #############################################
- [aws info]
- # This is the AWS credentials section (required).
- # These settings apply to all clusters
- # replace these with your AWS keys
- AWS_ACCESS_KEY_ID=?????
- AWS_SECRET_ACCESS_KEY=??????????
- # replace this with your account number
- AWS_USER_ID=?????????
- # Uncomment to specify a different Amazon AWS region (OPTIONAL)
- # (defaults to us-east-1 if not specified)
- # NOTE: AMIs have to be migrated!
- #AWS_REGION_NAME = eu-west-1
- #AWS_REGION_HOST = ec2.eu-west-1.amazonaws.com
- # Uncomment these settings when creating an instance-store (S3) AMI (OPTIONAL)
- #EC2_CERT = /path/to/your/cert-asdf0as9df092039asdfi02089.pem
- #EC2_PRIVATE_KEY = /path/to/your/pk-asdfasd890f200909.pem
- # Uncomment these settings to use a proxy host when connecting to AWS
- #AWS_PROXY = your.proxyhost.com
- #AWS_PROXY_PORT = 8080
- #AWS_PROXY_USER = yourproxyuser
- #AWS_PROXY_PASS = yourproxypass
- ###########################
- ## Defining EC2 Keypairs ##
- ###########################
- # Sections starting with "key" define your keypairs. See "starcluster createkey
- # --help" for instructions on how to create a new keypair. Section name should
- # match your key name e.g.:
- #[key researchkey]
- #KEY_LOCATION=~/.ssh/researchkey.rsa
- [key sharekey]
- KEY_LOCATION=~/.ssh/sharekey.pem
- # You can of course have multiple keypair sections
- # [key myotherkey]
- # KEY_LOCATION=~/.ssh/myotherkey.rsa
- ################################
- ## Defining Cluster Templates ##
- ################################
- # Sections starting with "cluster" represent a cluster template. These
- # "templates" are a collection of settings that define a single cluster
- # configuration and are used when creating and configuring a cluster. You can
- # change which template to use when creating your cluster using the -c option
- # to the start command:
- #
- # $ starcluster start -c mediumcluster mycluster
- #
- # If a template is not specified then the template defined by DEFAULT_TEMPLATE
- # in the [global] section above is used. Below is the "default" template named
- # "smallcluster". You can rename it but dont forget to update the
- # DEFAULT_TEMPLATE setting in the [global] section above. See the next section
- # on defining multiple templates.
- [vol final_runs_data]
- volume_id = vol-0994d88d36f9cdfc8
- mount_path = /dfs
- [cluster final_runs_cluster]
- volumes=final_runs_data
- KEYNAME = sharekey
- CLUSTER_SIZE = 10
- CLUSTER_USER = LPMF
- CLUSTER_SHELL = bash
- NODE_IMAGE_ID = ami-60ae1e1f
- NODE_INSTANCE_TYPE = g3.4xlarge
- AVAILABILITY_ZONE = us-east-1a
- CLUSTER_SHELL = bash
- DISABLE_QUEUE = True
- PLUGINS = sge
- [volume data]
- VOLUME_ID = vol-0f0e4cb13f8ba424c
- MOUNT_PATH = /dfs/
- [cluster smallcluster]
- volumes=data
- KEYNAME = sharekey
- CLUSTER_SIZE = 1
- CLUSTER_USER = LPMF
- CLUSTER_SHELL = bash
- DISABLE_QUEUE = True
- PLUGINS = sge
- NODE_IMAGE_ID = ami-60ae1e1f
- NODE_INSTANCE_TYPE = g3.4xlarge
- AVAILABILITY_ZONE = us-east-1a
- [cluster drqacluster]
- volumes = final_runs_data
- KEYNAME = sharekey
- CLUSTER_SIZE = 2
- CLUSTER_USER = LPMF
- CLUSTER_SHELL = bash
- DISABLE_QUEUE = True
- PLUGINS = sge
- NODE_IMAGE_ID = ami-4a2faa35
- NODE_INSTANCE_TYPE = g3.4xlarge
- AVAILABILITY_ZONE = us-east-1a
- [cluster drqacluster15]
- volumes = final_runs_data
- KEYNAME = sharekey
- CLUSTER_SIZE = 10
- CLUSTER_USER = LPMF
- CLUSTER_SHELL = bash
- DISABLE_QUEUE = True
- PLUGINS = sge
- #NODE_IMAGE_ID = ami-4a2faa35
- #NODE_IMAGE_ID = ami-bb2db8c4
- NODE_IMAGE_ID = ami-f6db4f89
- NODE_INSTANCE_TYPE = g3.4xlarge
- AVAILABILITY_ZONE = us-east-1a
- [cluster testcluster]
- extends = smallcluster
- cluster_size = 1
- volumes = data
- [plugin sge]
- SETUP_CLASS = starcluster.plugins.sge.SGEPlugin
- SLOTS_PER_HOST = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement