SHARE
TWEET

Untitled

a guest May 23rd, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ####################################
  2. ## StarCluster Configuration File ##
  3. ####################################
  4. [global]
  5. # Configure the default cluster template to use when starting a cluster
  6. # defaults to 'smallcluster' defined below. This template should be usable
  7. # out-of-the-box provided you've configured your keypair correctly
  8. #DEFAULT_TEMPLATE=smallcluster
  9. DEFAULT_TEMPLATE=drqacluster15
  10. #DEFAULT_TEMPLATE=testcluster
  11. #DEFAULT_TEMPLATE=final_runs_cluster
  12. # enable experimental features for this release
  13. #ENABLE_EXPERIMENTAL=True
  14. # number of seconds to wait when polling instances (default: 30s)
  15. #REFRESH_INTERVAL=15
  16. # specify a web browser to launch when viewing spot history plots
  17. #WEB_BROWSER=chromium
  18. # split the config into multiple files
  19. #INCLUDE=~/.starcluster/aws, ~/.starcluster/keys, ~/.starcluster/vols
  20.  
  21. #############################################
  22. ## AWS Credentials and Connection Settings ##
  23. #############################################
  24. [aws info]
  25. # This is the AWS credentials section (required).
  26. # These settings apply to all clusters
  27. # replace these with your AWS keys
  28. AWS_ACCESS_KEY_ID=?????
  29. AWS_SECRET_ACCESS_KEY=??????????
  30. # replace this with your account number
  31. AWS_USER_ID=?????????
  32. # Uncomment to specify a different Amazon AWS region  (OPTIONAL)
  33. # (defaults to us-east-1 if not specified)
  34. # NOTE: AMIs have to be migrated!
  35. #AWS_REGION_NAME = eu-west-1
  36. #AWS_REGION_HOST = ec2.eu-west-1.amazonaws.com
  37. # Uncomment these settings when creating an instance-store (S3) AMI (OPTIONAL)
  38. #EC2_CERT = /path/to/your/cert-asdf0as9df092039asdfi02089.pem
  39. #EC2_PRIVATE_KEY = /path/to/your/pk-asdfasd890f200909.pem
  40. # Uncomment these settings to use a proxy host when connecting to AWS
  41. #AWS_PROXY = your.proxyhost.com
  42. #AWS_PROXY_PORT = 8080
  43. #AWS_PROXY_USER = yourproxyuser
  44. #AWS_PROXY_PASS = yourproxypass
  45.  
  46. ###########################
  47. ## Defining EC2 Keypairs ##
  48. ###########################
  49. # Sections starting with "key" define your keypairs. See "starcluster createkey
  50. # --help" for instructions on how to create a new keypair. Section name should
  51. # match your key name e.g.:
  52. #[key researchkey]
  53. #KEY_LOCATION=~/.ssh/researchkey.rsa
  54.  
  55. [key sharekey]
  56. KEY_LOCATION=~/.ssh/sharekey.pem
  57.  
  58. # You can of course have multiple keypair sections
  59. # [key myotherkey]
  60. # KEY_LOCATION=~/.ssh/myotherkey.rsa
  61.  
  62. ################################
  63. ## Defining Cluster Templates ##
  64. ################################
  65. # Sections starting with "cluster" represent a cluster template. These
  66. # "templates" are a collection of settings that define a single cluster
  67. # configuration and are used when creating and configuring a cluster. You can
  68. # change which template to use when creating your cluster using the -c option
  69. # to the start command:
  70. #
  71. #     $ starcluster start -c mediumcluster mycluster
  72. #
  73. # If a template is not specified then the template defined by DEFAULT_TEMPLATE
  74. # in the [global] section above is used. Below is the "default" template named
  75. # "smallcluster". You can rename it but dont forget to update the
  76. # DEFAULT_TEMPLATE setting in the [global] section above. See the next section
  77. # on defining multiple templates.
  78. [vol final_runs_data]
  79. volume_id = vol-0994d88d36f9cdfc8
  80. mount_path = /dfs
  81.  
  82. [cluster final_runs_cluster]
  83. volumes=final_runs_data
  84. KEYNAME = sharekey
  85. CLUSTER_SIZE = 10
  86. CLUSTER_USER = LPMF
  87. CLUSTER_SHELL = bash
  88. NODE_IMAGE_ID = ami-60ae1e1f
  89. NODE_INSTANCE_TYPE = g3.4xlarge
  90. AVAILABILITY_ZONE = us-east-1a
  91. CLUSTER_SHELL = bash
  92. DISABLE_QUEUE = True
  93. PLUGINS = sge
  94.  
  95. [volume data]
  96. VOLUME_ID = vol-0f0e4cb13f8ba424c
  97. MOUNT_PATH = /dfs/
  98.  
  99. [cluster smallcluster]
  100. volumes=data
  101. KEYNAME = sharekey
  102. CLUSTER_SIZE = 1
  103. CLUSTER_USER = LPMF
  104. CLUSTER_SHELL = bash
  105. DISABLE_QUEUE = True
  106. PLUGINS = sge
  107. NODE_IMAGE_ID = ami-60ae1e1f
  108. NODE_INSTANCE_TYPE = g3.4xlarge
  109. AVAILABILITY_ZONE = us-east-1a
  110.  
  111. [cluster drqacluster]
  112. volumes = final_runs_data
  113. KEYNAME = sharekey
  114. CLUSTER_SIZE = 2
  115. CLUSTER_USER = LPMF
  116. CLUSTER_SHELL = bash
  117. DISABLE_QUEUE = True
  118. PLUGINS = sge
  119. NODE_IMAGE_ID = ami-4a2faa35
  120. NODE_INSTANCE_TYPE = g3.4xlarge
  121. AVAILABILITY_ZONE = us-east-1a
  122.  
  123. [cluster drqacluster15]
  124. volumes = final_runs_data
  125. KEYNAME = sharekey
  126. CLUSTER_SIZE = 10
  127. CLUSTER_USER = LPMF
  128. CLUSTER_SHELL = bash
  129. DISABLE_QUEUE = True
  130. PLUGINS = sge
  131. #NODE_IMAGE_ID = ami-4a2faa35
  132. #NODE_IMAGE_ID = ami-bb2db8c4
  133. NODE_IMAGE_ID = ami-f6db4f89
  134. NODE_INSTANCE_TYPE = g3.4xlarge
  135. AVAILABILITY_ZONE = us-east-1a
  136.  
  137. [cluster testcluster]
  138. extends = smallcluster
  139. cluster_size = 1
  140. volumes = data
  141.  
  142. [plugin sge]
  143. SETUP_CLASS = starcluster.plugins.sge.SGEPlugin
  144. SLOTS_PER_HOST = 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top