<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to SettingConfig</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>Recent changes to SettingConfig</description><atom:link href="https://sourceforge.net/p/kluster/wiki/SettingConfig/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 06 Jun 2015 04:58:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/kluster/wiki/SettingConfig/feed" rel="self" type="application/rss+xml"/><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -13,7 +13,7 @@
    * KL_NAME is the name of the cluster, is used for the keys, and is prepended to the tags we attach to the instances in the cluster.  It is also used for the security group if you do not specify KL_NETWORK.
    * KL_IMAGE is the Amazon image you use for most nodes in the cluster.  This would be the image you prepared earlier, at the end of [Customizing your Image (Phase 2)](CustomizingImage2).  
    * KL_ZONE is the availability zone where you want your machines located.
-   * KL_GPU_IMAGE is a different image type that you will need to prepare if you want to add any GPU instances (type cg1.4xlarge).  You can leave this blank if you don't need to use GPUs.
+   * KL_GPU_IMAGE is a different image type that you will need to prepare if you want to add any GPU instances (type g2.2xlarge or g2.8xlarge).  You can leave this blank if you don't need to use GPUs.
    * KL_NETWORK is the argument to ec2run's -a (attach) option, which allows you so specify a virtual private cloud, if you have created one via the AWS console.  If set, it will look something like: export KL_NETWORK=":0:subnet-d16d2aa6:::sg-4f3e042b", where 0 indicates the first network interface, subnet-d16d2aa6 is the subnet id, and sg-4f3e042b is the security group (if KL_NETWORK is specified, KL_NAME will not be used for the security group).

 Once you have set up your Kluster config, you can test it as follows.  First, let's shut down the master node we created in the last section, as we'll be starting with a fresh cluster name.  Leave `KL_NAME` as `mycluster`, source the variables (by doing `. config.sh`), and run
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Sat, 06 Jun 2015 04:58:32 -0000</pubDate><guid>https://sourceforge.net95327b880dd88532decb81903662a438a703e70d</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -3,7 +3,7 @@
 The "kluster" scripts that add and remove nodes need certain information in addition to the more generic information in the file `vars.sh`.  We put this in a file `config.sh`.  An example `config.sh` file looks like this:

     export KL_NAME=mycluster
-    export KL_IMAGE=ami-e0efab88
+    export KL_IMAGE=ami-7b0ae310
     export KL_ZONE=us-east-1c
     export KL_GPU_IMAGE=
     export KL_NETWORK=
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Sat, 06 Jun 2015 04:57:59 -0000</pubDate><guid>https://sourceforge.net2d164c80b622b7a78c661bb5677e20359073a07d</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -3,7 +3,7 @@
 The "kluster" scripts that add and remove nodes need certain information in addition to the more generic information in the file `vars.sh`.  We put this in a file `config.sh`.  An example `config.sh` file looks like this:

     export KL_NAME=mycluster
-    export KL_IMAGE=ami-842db1ed
+    export KL_IMAGE=ami-e0efab88
     export KL_ZONE=us-east-1c
     export KL_GPU_IMAGE=
     export KL_NETWORK=
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Sat, 06 Jun 2015 04:57:26 -0000</pubDate><guid>https://sourceforge.net423d91abdfa2f84d66dbb4f8bc085822d16ffeec</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -5,7 +5,7 @@
     export KL_NAME=mycluster
     export KL_IMAGE=ami-842db1ed
     export KL_ZONE=us-east-1c
-    export KL_GPU_IMAGE=ami-8c0d92e5
+    export KL_GPU_IMAGE=
     export KL_NETWORK=

 The usage of this is that you simply source the files vars.sh and config.sh before calling certain kluster scripts such as `kl-add-node` and `kl-remove-nodes`.  An explanation of the variables follows:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Sat, 06 Jun 2015 04:56:58 -0000</pubDate><guid>https://sourceforge.net6b160faa9d03f88fc08c78af1c8532574dfd6cbf</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -10,11 +10,11 @@

 The usage of this is that you simply source the files vars.sh and config.sh before calling certain kluster scripts such as `kl-add-node` and `kl-remove-nodes`.  An explanation of the variables follows:

-   * KL_NAME is the name of the cluster, which is used for the keys and the security group, and is prepended to the tags we attach to the instances in the cluster.
+   * KL_NAME is the name of the cluster, is used for the keys, and is prepended to the tags we attach to the instances in the cluster.  It is also used for the security group if you do not specify KL_NETWORK.
    * KL_IMAGE is the Amazon image you use for most nodes in the cluster.  This would be the image you prepared earlier, at the end of [Customizing your Image (Phase 2)](CustomizingImage2).  
    * KL_ZONE is the availability zone where you want your machines located.
    * KL_GPU_IMAGE is a different image type that you will need to prepare if you want to add any GPU instances (type cg1.4xlarge).  You can leave this blank if you don't need to use GPUs.
-   * KL_NETWORK is the argument to ec2run's -a (attach) option, which allows you so specify a virtual private cloud, if you have created one via the AWS console.  If set, it will look something like: export KL_NETWORK=":0:subnet-d16d2aa6:::sg-4f3e042b", where 0 indicates the first network interface, subnet-d16d2aa6 is the subnet id, and sg-4f3e042b is the security group.
+   * KL_NETWORK is the argument to ec2run's -a (attach) option, which allows you so specify a virtual private cloud, if you have created one via the AWS console.  If set, it will look something like: export KL_NETWORK=":0:subnet-d16d2aa6:::sg-4f3e042b", where 0 indicates the first network interface, subnet-d16d2aa6 is the subnet id, and sg-4f3e042b is the security group (if KL_NETWORK is specified, KL_NAME will not be used for the security group).

 Once you have set up your Kluster config, you can test it as follows.  First, let's shut down the master node we created in the last section, as we'll be starting with a fresh cluster name.  Leave `KL_NAME` as `mycluster`, source the variables (by doing `. config.sh`), and run

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Fri, 05 Jun 2015 05:40:22 -0000</pubDate><guid>https://sourceforge.net200434e414891a53f3bb879d4595919ef0dd337c</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -31,6 +31,8 @@

     kl-run-master c3.large

+Note: you may receive a message "unable to ssh to instance as root" -- if so, AWS may simply be a little slow and the test timed out.  To check the ssh connection, call kl-check-ssh with the instance id, for example: kl-sshmaster i-ac21717c
+
 This is just a slightly more convenient way of creating the master node, versus the more manual way we did it in [Spawning the Master Node](SpawningMaster).  The argument is type of machine we want to use for the master.  Since we shouldn't be running anything very heavy on the master anyway, we don't need an xlarge image, etc., so I used `c3.large`.  The instances in this cluster, including the master, will have the ssh public key for `testcluster` on them, because the init scripts add this, but they will also have the ssh public and private keys for `mycluster` on them, which allows them to ssh to each other.  In future we may find a more elegant way to do this, but this method was just easier to implement.  Since you created this image yourself and presumably didn't give out the ssh keys to anyone, there shouldn't be a security issue.

 The kluster scripts use the `name` tag on the Amazon instances to keep track of which nodes belong to which cluster.  The kluster tools do not store any "state" anywhere locally.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Fri, 05 Jun 2015 05:00:35 -0000</pubDate><guid>https://sourceforge.net28c1b051ca06103e8b6a6748d0bc59284a43dc2b</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -31,7 +31,7 @@

     kl-run-master c3.large

-This is just a slightly more convenient way of creating the master node, versus the more manual way we did it in [Spawning the Master Node](SpawningMaster).  The argument is type of machine we want to use for the master.  Since we shouldn't be running anything very heavy on the master anyway, I use a moderately sized machine `m1.large`.  The instances in this cluster, including the master, will have the ssh public key for `testcluster` on them, because the init scripts add this, but they will also have the ssh public and private keys for `mycluster` on them, which allows them to ssh to each other.  In future we may find a more elegant way to do this, but this method was just easier to implement.  Since you created this image yourself and presumably didn't give out the ssh keys to anyone, there shouldn't be a security issue.
+This is just a slightly more convenient way of creating the master node, versus the more manual way we did it in [Spawning the Master Node](SpawningMaster).  The argument is type of machine we want to use for the master.  Since we shouldn't be running anything very heavy on the master anyway, we don't need an xlarge image, etc., so I used `c3.large`.  The instances in this cluster, including the master, will have the ssh public key for `testcluster` on them, because the init scripts add this, but they will also have the ssh public and private keys for `mycluster` on them, which allows them to ssh to each other.  In future we may find a more elegant way to do this, but this method was just easier to implement.  Since you created this image yourself and presumably didn't give out the ssh keys to anyone, there shouldn't be a security issue.

 The kluster scripts use the `name` tag on the Amazon instances to keep track of which nodes belong to which cluster.  The kluster tools do not store any "state" anywhere locally.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Fri, 05 Jun 2015 04:43:55 -0000</pubDate><guid>https://sourceforge.net8b50c043994cf727cd9592cc48f475f1dc4b47c2</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -14,6 +14,7 @@
    * KL_IMAGE is the Amazon image you use for most nodes in the cluster.  This would be the image you prepared earlier, at the end of [Customizing your Image (Phase 2)](CustomizingImage2).  
    * KL_ZONE is the availability zone where you want your machines located.
    * KL_GPU_IMAGE is a different image type that you will need to prepare if you want to add any GPU instances (type cg1.4xlarge).  You can leave this blank if you don't need to use GPUs.
+   * KL_NETWORK is the argument to ec2run's -a (attach) option, which allows you so specify a virtual private cloud, if you have created one via the AWS console.  If set, it will look something like: export KL_NETWORK=":0:subnet-d16d2aa6:::sg-4f3e042b", where 0 indicates the first network interface, subnet-d16d2aa6 is the subnet id, and sg-4f3e042b is the security group.

 Once you have set up your Kluster config, you can test it as follows.  First, let's shut down the master node we created in the last section, as we'll be starting with a fresh cluster name.  Leave `KL_NAME` as `mycluster`, source the variables (by doing `. config.sh`), and run

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Fri, 05 Jun 2015 04:34:01 -0000</pubDate><guid>https://sourceforge.net8bb1809278c12fbac130bd3482fce29535104675</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -28,7 +28,7 @@

 To start working with this cluster, you first need the master node, so type:

-    kl-run-master m1.large
+    kl-run-master c3.large

 This is just a slightly more convenient way of creating the master node, versus the more manual way we did it in [Spawning the Master Node](SpawningMaster).  The argument is type of machine we want to use for the master.  Since we shouldn't be running anything very heavy on the master anyway, I use a moderately sized machine `m1.large`.  The instances in this cluster, including the master, will have the ssh public key for `testcluster` on them, because the init scripts add this, but they will also have the ssh public and private keys for `mycluster` on them, which allows them to ssh to each other.  In future we may find a more elegant way to do this, but this method was just easier to implement.  Since you created this image yourself and presumably didn't give out the ssh keys to anyone, there shouldn't be a security issue.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Fri, 05 Jun 2015 04:28:56 -0000</pubDate><guid>https://sourceforge.net47d03d5d5cb9ec6027c91fbf3baf8f393e864a02</guid></item><item><title>SettingConfig modified by Carl Pupa</title><link>https://sourceforge.net/p/kluster/wiki/SettingConfig/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -6,6 +6,7 @@
     export KL_IMAGE=ami-842db1ed
     export KL_ZONE=us-east-1c
     export KL_GPU_IMAGE=ami-8c0d92e5
+    export KL_NETWORK=

 The usage of this is that you simply source the files vars.sh and config.sh before calling certain kluster scripts such as `kl-add-node` and `kl-remove-nodes`.  An explanation of the variables follows:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pupa</dc:creator><pubDate>Fri, 05 Jun 2015 04:28:21 -0000</pubDate><guid>https://sourceforge.netd465982bbb7baf6801bdc2e952e12ff12f2cec10</guid></item></channel></rss>