<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to AMI_INSTALL</title><link>https://sourceforge.net/p/rainforestcluster/wiki/AMI_INSTALL/</link><description>Recent changes to AMI_INSTALL</description><atom:link href="https://sourceforge.net/p/rainforestcluster/wiki/AMI_INSTALL/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 11 Mar 2014 18:12:59 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/rainforestcluster/wiki/AMI_INSTALL/feed" rel="self" type="application/rss+xml"/><item><title>AMI_INSTALL modified by David Tulga</title><link>https://sourceforge.net/p/rainforestcluster/wiki/AMI_INSTALL/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,3 @@
-
 AMI Installation/Creation/Customization/Upgrade Instructions
 ========

@@ -20,7 +19,7 @@
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rflib.py , \_\_init\_\_.py , and any remote plugins you are using to /etc/rfcluster_remote_plugins/
 Simply follow the customization instructions above to save a new AMI with these changes.

-If ThunderstormDistributor is upgraded, you will need to copy the new source code to ~/TSDistributor/
+If [ThunderstormDistributor](/p/thunderstormdistributor/) is upgraded, you will need to copy the new source code to ~/TSDistributor/
 Then, run the compile_install.bash script under ~/TSDistributor-Release/
 And copy all files from ~/TSDistributor/tsstatswww/ to /tsstatswww/ to update the stats viewer

@@ -43,7 +42,7 @@
 scp -i ~/.ssh/your_amazon_ec2_key.pem __init__.py ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:~/
 ~~~~~~~~

-To install ThunderstormDistributor, you will need to upload the source code to the instance: (also includes all stats viewer files)
+To install [ThunderstormDistributor](/p/thunderstormdistributor/), you will need to upload the source code to the instance: (also includes all stats viewer files)

 ~~~~~~~~
 :::bash
@@ -112,5 +111,4 @@
 ~~~~~~~~

-Optionally instead of the default install, you can also look at the ThunderstormDistributor install instructions for a custom install and/or configuration.
-
+Optionally instead of the default install, you can also look at the [ThunderstormDistributor install instructions](/p/thunderstormdistributor/wiki/INSTALL/) for a custom install and/or configuration.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Tulga</dc:creator><pubDate>Tue, 11 Mar 2014 18:12:59 -0000</pubDate><guid>https://sourceforge.netb97eab47c34d16c38cf440081e211f19cf9242d7</guid></item><item><title>AMI_INSTALL modified by David Tulga</title><link>https://sourceforge.net/p/rainforestcluster/wiki/AMI_INSTALL/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="ami-installationcreationcustomizationupgrade-instructions"&gt;AMI Installation/Creation/Customization/Upgrade Instructions&lt;/h1&gt;
&lt;h2 id="to-customize-or-upgrade-an-already-existing-rainforestcluster-ami"&gt;To customize or upgrade an already existing RainforestCluster AMI:&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Start an instance with Amazon's AWS Management console or command line tools using the AMI you want to customize (Paravirtual/HVM). Any instance type will work, even a t1.micro.&lt;/li&gt;
&lt;li&gt;Then, install or customize any programs you want on this machine, and save this machine as a new AMI.&lt;/li&gt;
&lt;li&gt;Finally, set this AMI ID in your config.ini file and you're done!&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="to-upgrade-a-customized-ami-to-the-latest-version-of-rainforestcluster"&gt;To upgrade a customized AMI to the latest version of RainforestCluster:&lt;/h2&gt;
&lt;p&gt;If RainforestCluster is upgraded, you will need to copy the new version of:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rfcluster_remote.py to /etc/&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rflib.py , __init__.py , and any remote plugins you are using to /etc/rfcluster_remote_plugins/&lt;br /&gt;
Simply follow the customization instructions above to save a new AMI with these changes.&lt;/p&gt;
&lt;p&gt;If ThunderstormDistributor is upgraded, you will need to copy the new source code to ~/TSDistributor/&lt;br /&gt;
Then, run the compile_install.bash script under ~/TSDistributor-Release/&lt;br /&gt;
And copy all files from ~/TSDistributor/tsstatswww/ to /tsstatswww/ to update the stats viewer&lt;/p&gt;
&lt;h2 id="to-create-a-new-rainforestcluster-ami-from-scratch"&gt;To create a new RainforestCluster AMI from scratch:&lt;/h2&gt;
&lt;p&gt;If you want to create a new RainforestCluster AMI from scratch, for example to use a newer Linux version, etc. - then follow these instructions, starting from a template instance running on EC2:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Upload Necessary Files:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Remote scripts:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;scp -i ~/.ssh/your_amazon_ec2_key.pem rfcluster_remote.py ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:~/
scp -i ~/.ssh/your_amazon_ec2_key.pem rflib.py ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:~/
scp -i ~/.ssh/your_amazon_ec2_key.pem __init__.py ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:~/
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;To install ThunderstormDistributor, you will need to upload the source code to the instance: (also includes all stats viewer files)&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;scp -i ~/.ssh/your_amazon_ec2_key.pem tsdistributor_....tar.gz ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:~/
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Then run these commands, as root: (sudo su)&lt;/strong&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;apt-get update -y
apt-get upgrade -y
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Keep the same grub configuration if asked&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;apt-get install -y htop mdadm xfsprogs xfsdump build-essential sysbench iperf iotop
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;No configuration for postfix&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;add-apt-repository ppa:w-rouesnel/openssh-hpn -y
add-apt-repository ppa:semiosis/ubuntu-glusterfs-3.4 -y
apt-add-repository ppa:ubuntu-sdk-team/ppa -y

apt-get update -y
apt-get upgrade -y

apt-get install -y glusterfs-server glusterfs-client python-dev nginx qt5-default qtdeclarative5-dev

&lt;span class="nb"&gt;echo&lt;/span&gt; -e &lt;span class="s1"&gt;'\n# SSH HPN Settings\nHPNDisabled no\nTcpRcvBufPoll yes\nHPNBufferSize 8192\n'&lt;/span&gt; &amp;gt;&amp;gt; /etc/ssh/sshd_config

service ssh restart

&lt;span class="nb"&gt;echo&lt;/span&gt; -e &lt;span class="s1"&gt;'\n127.0.0.1 RainforestCluster-Beta\n\n# Entries for this and other machines in the cluster (Do not delete or modify these lines!)\n#RainforestCluster Start#\n#RainforestCluster End#\n'&lt;/span&gt; &amp;gt;&amp;gt; /etc/hosts

chmod 755 rfcluster_remote.py rflib.py __init__.py
chown root:root rfcluster_remote.py rflib.py __init__.py
mv rfcluster_remote.py /etc/
mkdir /etc/rfcluster_remote_plugins
mv rflib.py __init__.py /etc/rfcluster_remote_plugins/

tar -xzf tsdistributor_....tar.gz

TSDistributor-Release/compile_install.bash

&lt;span class="nb"&gt;cd &lt;/span&gt;TSDistributor/

cp global.conf /etc/tsdistributor/

cp nginx_default /etc/nginx/sites-available/default

mkdir /tsstatswww
cp tsstatswww/* /tsstatswww/

cp scripts/* /usr/bin/
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Optionally instead of the default install, you can also look at the ThunderstormDistributor install instructions for a custom install and/or configuration.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Tulga</dc:creator><pubDate>Tue, 11 Mar 2014 18:08:51 -0000</pubDate><guid>https://sourceforge.netd5eeb87296d7a3993c087dab31fadf2dd0e3932b</guid></item></channel></rss>