Overclock.net banner

1 - 20 of 867 Posts

·
Premium Member
Joined
·
46,114 Posts
Discussion Starter #1
<p>Hey guys. For those of you who don't know, HP are testing their Cloud Service by allowing people to beta test them. Getting accepted means you'll have access to two servers (AZ1 and AZ2), and you're able to use 20 cores on each server. The best methodseems to be 10 2core instances on each server, all doing SMP. It's still some very nice PPD for free. :D</p>
<p> </p>
<p>To sign up, go to <a href="http://www.hpcloud.com/sign_up" target="_blank">http://www.hpcloud.com/sign_up</a> and enter <strong>@hpcloud</strong> in the Twitter field. :thumb:</p>
<p> </p>
<p><strong>Note:</strong> If you're using both AZ1 and AZ2 servers, you'll need to get an access key for each server. You'll need those files later.</p>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>How to get your access key</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p><span style="text-decoration:underline;"><span style="font-size:14px;"><strong>How to get your access key</strong></span></span></p>
<p> <em>Thank you to _s3v3n_ for much of this section.</em></p>
<p> </p>
<p>1) From your "Manage Server Screen", click the "Key Pair" link.<br><br><a class="H-lightbox-open" href="http://cdn.overclock.net/1/16/1607d016_8.png" target="_blank"><img alt="8.png" data-id="754457" data-type="61" height="193" src="http://cdn.overclock.net/1/16/600x193px-LL-1607d016_8.png" width="600"></a><br><br><br>
2) Enter a desired keyname. This can be any name you wish; I will use hpdefault, but you can choose another. Just rememer to replace it with your choice later in the guide. Then, click "CREATE" button.<br><br><a class="H-lightbox-open" href="http://cdn.overclock.net/8/88/884dd5a5_1.png" target="_blank"><img alt="1.png" data-id="754460" data-type="61" height="127" src="http://cdn.overclock.net/8/88/600x127px-LL-884dd5a5_1.png" width="598"></a><br><br>
3) Copy the Key Pairs contents. See below;<br><br><a class="H-lightbox-open" href="http://cdn.overclock.net/f/f2/f259f279_5.png" target="_blank"><img alt="5.png" data-id="754461" data-type="61" height="376" src="http://cdn.overclock.net/f/f2/600x376px-LL-f259f279_5.png" width="600"></a></p>
<p> </p>
<p> </p>
<p><strong>Linux:</strong></p>
<p>Rightclick on your Desktop, and choose <strong>Create Document> Empty File</strong>.</p>
<p> </p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/5/5a/5a100b93_6.png" target="_blank"><img alt="6.png" data-id="754436" data-type="61" height="279" src="http://cdn.overclock.net/5/5a/540x279px-LL-5a100b93_6.png" width="540"></a></p>
<p> </p>
<p>Name it <strong>hpdefault</strong> (no need for an extension), and paste the contents in. Then save the file.</p>
<p> </p>
<p> </p>
<p><strong>Windows:</strong></p>
<p>Open Notepad, paste the contents in, and save as <strong>hpdefault.txt</strong> (again, you can use whatever name you want, just remember that I'll refer to it as hpdefault.txt). You'll need that later.</p>
</div>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>Linux Guide</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p> </p>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>"I'm comfortable with Linux" quick guide</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p> </p>
<p><span style="font-size:18px;"><span style="text-decoration:underline;"><strong>"I'm comfortable with Linux" quick guide</strong></span></span></p>
<p> </p>
<p>1) Download <strong>hpdefault.pem</strong> from your HPCloud account.</p>
<p> </p>
<p>2) Open Terminal and cd to the directory containing the downloaded file.</p>
<p> </p>
<p>3) Commands:</p>
<p><strong>chmod 400 hpdefault</strong></p>
<p><strong>ssh -i hpdefault [email protected]<span style="color:rgb(178,34,34);">xxx.xx</span></strong></p>
<p><strong>yes</strong> (Confirming you wish to connect)</p>
<p><strong>wget <a href="http://www.ppdpolice.com/hpcs/install" target="_blank">http://www.ppdpolice.com/hpcs/install</a></strong></p>
<p><strong>bash install</strong></p>
<p><Enter your Folding details></p>
<p> </p>
<p>5) For HFM set up:</p>
<p><strong>mv fah /</strong></p>
<p><strong>chmod 777 /fah</strong></p>
<p><strong>apt-get update</strong></p>
<p><strong>apt-get install apache2</strong></p>
<p><strong>nano /etc/apache2/sites-available/default</strong></p>
<p><Change to the picture below (using your home IP)></p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/8/82/8240ffe0_Screenshot-17.png" target="_blank"><img alt="Screenshot-17.png" data-id="717293" data-type="61" height="431" src="http://cdn.overclock.net/8/82/600x431px-LL-8240ffe0_Screenshot-17.png" width="600"></a></em></p>
<p> </p>
<p><Exit nano></p>
<p><strong>service apache2 restart</strong></p>
<p> </p>
<p>6) Starting Folding client:</p>
<p>If using apache: <strong>cd /fah</strong></p>
<p>If not using apache: <strong>cd fah</strong></p>
<p>For 2 vCPU instances: <strong>nohup ./fah6 -smp 2 &</strong></p>
<p> </p>
<p>To add to HFM, check "Adding to HFM" section below.</p>
<p> </p>
</div>
<p> </p>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>"I don't like Linux" comprehensive guide</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p> </p>
<p><span style="font-size:18px;"><span style="text-decoration:underline;"><strong>"I don't like Linux" comprehensive guide</strong></span></span></p>
<p> </p>
<p><<em>I am assuming you've entered your CC details and activated at least one server; AZ1 or AZ2></em></p>
<p> </p>
<p>Ok, now you're in your server space. You'll want to create ten (10) <strong>Standard.small (2vCPU)</strong> instances:</p>
<p> </p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/f/f9/f9a9bd94_7.png" target="_blank"><img alt="7.png" data-id="754439" data-type="61" height="161" src="http://cdn.overclock.net/f/f9/600x161px-LL-f9a9bd94_7.png" width="600"></a></em></p>
<p> </p>
<p> </p>
<p>For each instance, make sure to select <strong>Ubuntu Maverick 10.10 Server 64-bit</strong> as the Install Image:</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/c/ce/cee36b10_2.png" target="_blank"><img alt="2.png" data-id="717302" data-type="61" height="499" src="http://cdn.overclock.net/c/ce/530x499px-LL-cee36b10_2.png" width="530"></a></em></p>
<p> </p>
<p> </p>
<p>Earlier, you would have made your access key (if not, follow the Key Pair instructions above). Move this file to the to the <strong>Downloads</strong> folder (this is where the guide will assume the file is).</p>
<p> </p>
<p>Now we'll use Terminal to SSH in (basically, remote connect to the server). Open <strong>Terminal</strong> (this is the equivalent of Command Prompt in Windows) from the menu in the top-left corner:<br><em><a class="H-lightbox-open" href="http://cdn.overclock.net/f/f3/f34949ee_3.png" target="_blank"><img alt="3.png" data-id="717306" data-type="61" height="317" src="http://cdn.overclock.net/f/f3/443x317px-LL-f34949ee_3.png" width="443"></a></em></p>
<p> </p>
<p>Command:<br><strong>cd Downloads</strong></p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/e/e7/e7d6cd11_Screenshot-3.png" target="_blank"><img alt="Screenshot-3.png" data-id="717307" data-type="61" height="429" src="http://cdn.overclock.net/e/e7/600x429px-LL-e7d6cd11_Screenshot-3.png" width="600"></a></em></p>
<p> </p>
<p>Command:<br><strong>chmod 400 hpdefault</strong></p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/a/a0/a0dde46f_2.png" target="_blank"><img alt="2.png" data-id="754412" data-type="61" height="425" src="http://cdn.overclock.net/a/a0/600x425px-LL-a0dde46f_2.png" width="600"></a></em></p>
<p> </p>
<p>Now, you will SSH in to your instance. You'll need the IP of one of your servers (in my case, it is 15.185.101.41; your ones will be different).</p>
<p>Command:</p>
<p><strong>ssh -i hpdefault [email protected]<span style="color:rgb(255,0,0);">15.185.xxx.xx</span></strong></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">You'll be asked "Are you sure you want to continue connecting (yes/no)? Answer <strong>yes</strong>.</span></p>
<p><span style="color:rgb(0,0,0);"><em><a class="H-lightbox-open" href="http://cdn.overclock.net/6/6f/6fe76c86_3.png" target="_blank"><img alt="3.png" data-id="754413" data-type="61" height="425" src="http://cdn.overclock.net/6/6f/600x425px-LL-6fe76c86_3.png" width="600"></a></em></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">After the text, you will see something like <strong>[email protected]</strong> (again, your server # will be different). Now we're connected to the server, we'll install the Folding client.</span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">Command:</span></p>
<p><span style="color:rgb(0,0,0);"><strong>wget <a href="http://www.ppdpolice.com/hpcs/install" target="_blank">http://www.ppdpolice.com/hpcs/install</a></strong></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);"><em><a class="H-lightbox-open" href="http://cdn.overclock.net/2/2f/2f91ddd5_Screenshot-6.png" target="_blank"><img alt="Screenshot-6.png" data-id="717310" data-type="61" height="429" src="http://cdn.overclock.net/2/2f/600x429px-LL-2f91ddd5_Screenshot-6.png" width="600"></a></em></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">Command:</span></p>
<p><span style="color:rgb(0,0,0);"><strong>bash install</strong></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">You'll now need to enter your Folding details, as follows:<br><em><a class="H-lightbox-open" href="http://cdn.overclock.net/f/f9/f96a56dd_Screenshot-8.png" target="_blank"><img alt="Screenshot-8.png" data-id="717311" data-type="61" height="429" src="http://cdn.overclock.net/f/f9/600x429px-LL-f96a56dd_Screenshot-8.png" width="600"></a></em></span></p>
<p> </p>
<p> </p>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>Prepping for HFM</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p><span style="font-size:18px;"><span style="text-decoration:underline;"><strong>Prepping for HFM</strong></span></span></p>
<p> </p>
<p>Command:</p>
<p><strong>mv fah /</strong> (there is a space between "fah" and "/")</p>
<p><strong>chmod 777 /fah</strong></p>
<p> </p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/b/b1/b1341176_Screenshot-12.png" target="_blank"><img alt="Screenshot-12.png" data-id="717314" data-type="61" height="424" src="http://cdn.overclock.net/b/b1/600x424px-LL-b1341176_Screenshot-12.png" width="600"></a></em></p>
<p> </p>
<p>Command:</p>
<p><strong>apt-get update</strong> (You'll see a lot of text now; just wait until "[email protected]#" comes back)</p>
<p><strong>apt-get install apache2</strong></p>
<p>Wait a second and it'll ask "Do you want to continue [Y/n]? Enter <strong>y</strong>.</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/8/87/87c11b00_Screenshot-14.png" target="_blank"><img alt="Screenshot-14.png" data-id="717315" data-type="61" height="427" src="http://cdn.overclock.net/8/87/600x427px-LL-87c11b00_Screenshot-14.png" width="599"></a></em></p>
<p> </p>
<p>Command:</p>
<p><strong>nano /etc/apache2/sites-available/default</strong></p>
<p> </p>
<p>Now, this is the tricky bit. "nano" is a text editor, and you <strong>should</strong> see the following:</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/a/a4/a4ffc399_Screenshot-16.png" target="_blank"><img alt="Screenshot-16.png" data-id="717317" data-type="61" height="427" src="http://cdn.overclock.net/a/a4/600x427px-LL-a4ffc399_Screenshot-16.png" width="600"></a></em></p>
<p> </p>
<p>You'll need to change:</p>
<p><strong>DocumentRoot /var/www</strong> to ->  <strong>DocumentRoot /fah</strong></p>
<p><strong><Directory /var/www/></strong> to -> <strong><Directory /></strong></p>
<p><strong>Allow from all</strong> to -> <strong>Allow from IP</strong> (this is your personal IP, <span style="text-decoration:underline;">not</span> the IP of the HP instance) If you <strong>don't</strong> have a static IP, leave as "allow from all"!</p>
<p> </p>
<p>It should now look like this:</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/4/41/414a591f_Screenshot-17.png" target="_blank"><img alt="Screenshot-17.png" data-id="717318" data-type="61" height="431" src="http://cdn.overclock.net/4/41/600x431px-LL-414a591f_Screenshot-17.png" width="600"></a></em></p>
<p> </p>
<p>nano should still be open at this stage, so to save and close:</p>
<p><strong>CTRL+X</strong></p>
<p><strong>Y</strong></p>
<p><strong>ENTER key</strong></p>
<p> </p>
<p>You'll now be back in Terminal. Enter:<br><strong>service apache2 restart</strong></p>
<p> </p>
</div>
<p> </p>
<p> </p>
<p>Now to start the Folding client.</p>
<p>If you followed the HFM instructions, enter: <strong>cd /fah</strong></p>
<p>If you didn't follow the HFM instructions, enter: <strong>cd fah</strong></p>
<p> </p>
<p>For the 2 vCPU instances, enter: <strong>nohup ./fah6 -smp 2 &</strong></p>
<p> </p>
<p>(nohup will cause the client to run in the background, which will allow you to close the VM of Linux and your instance will continue to Fold.)</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/e/ef/ef7ac87a_Screenshot-21.png" target="_blank"><img alt="Screenshot-21.png" data-id="717319" data-type="61" height="427" src="http://cdn.overclock.net/e/ef/600x427px-LL-ef7ac87a_Screenshot-21.png" width="599"></a></em></p>
<p> </p>
<p>To make sure it's Folding. now just enter:</p>
<p><strong>top</strong></p>
<p> </p>
<p>Give it a minute (or two, if you're doing -bigadv), and you should see FahCore_a3.exe or FahCore_a5.exe at the top. It will have 100%*vCPUs. So for -bigadv, you should see 800%:</p>
<p> </p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/a/af/af269482_Screenshot-25.png" target="_blank"><img alt="Screenshot-25.png" data-id="717322" data-type="61" height="430" src="http://cdn.overclock.net/a/af/600x430px-LL-af269482_Screenshot-25.png" width="600"></a></em></p>
</div>
<p> </p>
</div>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>Windows Guide</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p> </p>
<p> </p>
<p><span style="font-size:18px;"><span style="text-decoration:underline;"><strong>Windows guide</strong></span></span></p>
<p> </p>
<p> </p>
<p> </p>
<p><<em>I am assuming you've entered your CC details and activated at least one server; AZ1 or AZ2></em></p>
<p> </p>
<p>1) Ok, now you're in your server space. You'll want to create ten (10) <strong>Standard.small (2vCPU)</strong> instances:</p>
<p> </p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/f/f9/f9a9bd94_7.png" target="_blank"><img alt="7.png" data-id="754439" data-type="61" height="161" src="http://cdn.overclock.net/f/f9/600x161px-LL-f9a9bd94_7.png" width="600"></a></em></p>
<p> </p>
<p> </p>
<p>For each instance, make sure to select <strong>Ubuntu Maverick 10.10 Server 64-bit</strong> as the Install Image:</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/c/ce/cee36b10_2.png" target="_blank"><img alt="2.png" data-id="717302" data-type="61" height="499" src="http://cdn.overclock.net/c/ce/530x499px-LL-cee36b10_2.png" width="530"></a></em></p>
<p> </p>
<p> </p>
<p>2) You should have the <strong>hpdefault.txt</strong> file from earlier (if not, follow the "Key Pairs" section above).Download PuTTY (used to connect to the server) and PuTTYgen (used to convert the .txt file to use with PuTTY itself) using the following links:</p>
<p><a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe" target="_blank">PuTTY</a></p>
<p><a href="http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe" target="_blank">PuTTYgen</a></p>
<p> </p>
<p>Put these two files and the hpdefault.txt file into a new Folder (call it HPCS) on the Desktop:</p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/8/89/895b291e_4.png" target="_blank"><img alt="4.png" data-id="754418" data-type="61" height="561" src="http://cdn.overclock.net/8/89/600x561px-LL-895b291e_4.png" width="600"></a></p>
<p> </p>
<p>Now open PuTTYgen.exe. Click on <strong>Conversions> Import Key</strong>.</p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/7/7c/7c6f3ad9_2.png" target="_blank"><img alt="2.png" data-id="717485" data-type="61" height="483" src="http://cdn.overclock.net/7/7c/499x483px-LL-7c6f3ad9_2.png" width="499"></a></p>
<p> </p>
<p>Load up the hpdefault.txt key, and click <strong>Save Private Key</strong>. Select yes on the popup, and save the file (any name you wish):</p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/8/87/87295903_3.png" target="_blank"><img alt="3.png" data-id="717486" data-type="61" height="482" src="http://cdn.overclock.net/8/87/500x482px-LL-87295903_3.png" width="500"></a></p>
<p> </p>
<p>5) Open PuTTY. Enter your HP instance IP as the <strong>Host Name</strong>. (You might also want to enter is as a "Saved Session", so you can reconnect easily; just enter the IP and click "Save"). <span style="text-decoration:underline;"><strong>Don't</strong></span> press "Open" yet:</p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/6/61/610257dc_4.png" target="_blank"><img alt="4.png" data-id="717487" data-type="61" height="456" src="http://cdn.overclock.net/6/61/472x456px-LL-610257dc_4.png" width="472"></a></p>
<p> </p>
<p>Click on <strong>Connection> SSH> Auth</strong>. For "Private key file for authentication", load the <strong>hpdefault<span style="text-decoration:underline;">.ppk</span></strong> file we generated earlier. Leave all other settings as default:</p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/e/e3/e3ea0818_5.png" target="_blank"><img alt="5.png" data-id="717488" data-type="61" height="454" src="http://cdn.overclock.net/e/e3/470x454px-LL-e3ea0818_5.png" width="470"></a></p>
<p> </p>
<p>Now press <strong>Open</strong>, and answer <strong>Yes</strong> to the security popup:</p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/8/89/8901f18e_6.png" target="_blank"><img alt="6.png" data-id="717489" data-type="61" height="375" src="http://cdn.overclock.net/8/89/600x375px-LL-8901f18e_6.png" width="600"></a></p>
<p> </p>
<p>Finally, when it asks for a logon name, enter <strong>root</strong>:</p>
<p><a class="H-lightbox-open" href="http://cdn.overclock.net/3/38/38522be2_7.png" target="_blank"><img alt="7.png" data-id="717491" data-type="61" height="380" src="http://cdn.overclock.net/3/38/600x380px-LL-38522be2_7.png" width="600"></a></p>
<p> </p>
<p> </p>
<p><span style="color:rgb(0,0,0);">After the text, you will see something like <strong>[email protected]</strong> (again, your server # will be different). Now we're connected to the server, we'll install the Folding client.</span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">Command:</span></p>
<p><span style="color:rgb(0,0,0);"><strong>wget <a href="http://www.ppdpolice.com/hpcs/install" target="_blank">http://www.ppdpolice.com/hpcs/install</a></strong></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);"><em><a class="H-lightbox-open" href="http://cdn.overclock.net/a/aa/aaa742b3_8.png" target="_blank"><img alt="8.png" data-id="717525" data-type="61" height="376" src="http://cdn.overclock.net/a/aa/600x376px-LL-aaa742b3_8.png" width="599"></a></em></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">Command:</span></p>
<p><span style="color:rgb(0,0,0);"><strong>bash install</strong></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">You'll now need to enter your Folding details, as follows:<br><em><a class="H-lightbox-open" href="http://cdn.overclock.net/8/8b/8b2bb150_9.png" target="_blank"><img alt="9.png" data-id="717526" data-type="61" height="451" src="http://cdn.overclock.net/8/8b/600x451px-LL-8b2bb150_9.png" width="600"></a></em></span></p>
<p> </p>
<p><strong>If you are on an 8 vCPU instance, you will need the corehack to do -bigadv WUs:</strong></p>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>-bigadv Corehack</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p> </p>
<p><span style="color:rgb(0,0,0);"><span style="color:rgb(0,0,0);">Command:</span></span></p>
<p><span style="color:rgb(0,0,0);"><strong><span style="color:rgb(0,0,0);">cat /proc/stat | awk 'BEGIN { TARGET_NCPUS=16 } ; { if ($1 == "intr") { for (i=NR-2;i<span class="tag"><<span class="title">TARGET_NCPUS;i++)</span> <span class="attribute">print</span> "<span class="attribute">cpu</span>" <span class="attribute">i</span> <span class="attribute">S</span> } ; <span class="attribute">S</span>=<span class="value">""</span> ; <span class="attribute">for</span> (<span class="attribute">i</span>=<span class="value">2;i<=NF;i++)</span> <span class="attribute">S</span>=<span class="value">S</span> " " $<span class="attribute">i</span> ; <span class="attribute">print</span> }' ></span> /tmp/stat.save</span><br>
mount --bind /tmp/stat.save /proc/stat</strong></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);"><em><a class="H-lightbox-open" href="http://cdn.overclock.net/f/fa/fac1a875_10.png" target="_blank"><img alt="10.png" data-id="717527" data-type="61" height="448" src="http://cdn.overclock.net/f/fa/600x448px-LL-fac1a875_10.png" width="600"></a></em></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">To confirm the corehack worked, enter:<br><strong>cat /proc/stat</strong></span></p>
<p> </p>
<p><span style="color:rgb(0,0,0);">Scroll up, and you should see CPU0-CPU15, like so:</span></p>
<p><span style="color:rgb(0,0,0);"><em><a class="H-lightbox-open" href="http://cdn.overclock.net/5/5f/5f8d0ffd_11.png" target="_blank"><img alt="11.png" data-id="717528" data-type="61" height="451" src="http://cdn.overclock.net/5/5f/600x451px-LL-5f8d0ffd_11.png" width="600"></a></em></span></p>
<p> </p>
</div>
<p> </p>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>Prepping for HFM</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p><span style="font-size:18px;"><span style="text-decoration:underline;"><strong>Prepping for HFM</strong></span></span></p>
<p> </p>
<p>Command:</p>
<p><strong>mv fah /</strong> (there is a space between "fah" and "/")</p>
<p><strong>chmod 777 /fah</strong></p>
<p> </p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/9/9f/9fcdcfb3_12.png" target="_blank"><img alt="12.png" data-id="717529" data-type="61" height="447" src="http://cdn.overclock.net/9/9f/600x447px-LL-9fcdcfb3_12.png" width="600"></a></em></p>
<p> </p>
<p>Command:</p>
<p><strong>apt-get update</strong> (You'll see a lot of text now; just wait until "[email protected]#" comes back)</p>
<p><strong>apt-get install apache2</strong></p>
<p>Wait a second and it'll ask "Do you want to continue [Y/n]? Enter <strong>y</strong>.</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/4/4b/4bf51a33_13.png" target="_blank"><img alt="13.png" data-id="717530" data-type="61" height="448" src="http://cdn.overclock.net/4/4b/600x448px-LL-4bf51a33_13.png" width="600"></a></em></p>
<p> </p>
<p>Command:</p>
<p><strong>nano /etc/apache2/sites-available/default</strong></p>
<p> </p>
<p>Now, this is the tricky bit. "nano" is a text editor, and you <strong>should</strong> see the following:</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/9/97/97d3ba10_14.png" target="_blank"><img alt="14.png" data-id="717531" data-type="61" height="448" src="http://cdn.overclock.net/9/97/600x448px-LL-97d3ba10_14.png" width="600"></a></em></p>
<p> </p>
<p>You'll need to change:</p>
<p><strong>DocumentRoot /var/www</strong> to -> <strong>DocumentRoot /fah</strong></p>
<p><strong><Directory /var/www/></strong> to -> <strong><Directory /></strong></p>
<p><strong>Allow from all</strong> to -> <strong>Allow from IP</strong> (this is your personal IP, <span style="text-decoration:underline;">not</span> the IP of the HP instance)</p>
<p> </p>
<p>It should now look like this:</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/2/2e/2e9ede9b_15.png" target="_blank"><img alt="15.png" data-id="717532" data-type="61" height="448" src="http://cdn.overclock.net/2/2e/600x448px-LL-2e9ede9b_15.png" width="600"></a></em></p>
<p> </p>
<p>nano should still be open at this stage, so to save and close:</p>
<p><strong>CTRL+X</strong></p>
<p><strong>Y</strong></p>
<p><strong>ENTER key</strong></p>
<p> </p>
<p>You'll now be back in Terminal. Enter:<br><strong>service apache2 restart</strong></p>
<p> </p>
</div>
<p> </p>
<p> </p>
<p>Now to start the Folding client.</p>
<p>If you followed the HFM instructions, enter: <strong>cd /fah</strong></p>
<p>If you didn't follow the HFM instructions, enter: <strong>cd fah</strong></p>
<p> </p>
<p>For 2 vCPU instances, enter: <strong>nohup ./fah6 -smp 2 &</strong></p>
<p> </p>
<p>(nohup will cause the client to run in the background, which will allow you to close the VM of Linux and your instance will continue to Fold.)</p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/8/88/8879a8c2_16.png" target="_blank"><img alt="16.png" data-id="717533" data-type="61" height="449" src="http://cdn.overclock.net/8/88/600x449px-LL-8879a8c2_16.png" width="600"></a></em></p>
<p> </p>
<p>To make sure it's Folding. now just enter:</p>
<p><strong>top</strong></p>
<p> </p>
<p>Give it a minute (or two, if you're doing -bigadv), and you should see FahCore_a3.exe or FahCore_a5.exe at the top. It will have 100%*vCPUs. So for -bigadv, you should see 800%:</p>
<p> </p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/9/94/94de9126_17.png" target="_blank"><img alt="17.png" data-id="717534" data-type="61" height="451" src="http://cdn.overclock.net/9/94/600x451px-LL-94de9126_17.png" width="600"></a></em></p>
<p> </p>
<p> </p>
<p> </p>
</div>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>Adding to HFM</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p> </p>
<p><span style="font-size:18px;"><span style="text-decoration:underline;"><strong>Adding to HFM</strong></span></span></p>
<p> </p>
<p>If you set up apache for HFM earlier, you can now add the server instance to your HFM:</p>
<p> </p>
<p><strong>Note:</strong> You can set this up <em>before</em> connecting to your HP server if you prefer; it's how I do it. ;)</p>
<p> </p>
<p>• Open HFM</p>
<p>• Click Clients> Add Client.</p>
<p>• Click the "Web Server" button.</p>
<p>• In "URL to Log Directory", enter http://<strong>HPserverIP/</strong> (this should be the same IP you SSH'd into)</p>
<p>• Leave the rest empty, and choose whichever "Instance Name" you prefer.</p>
<p> </p>
<p><em><a class="H-lightbox-open" href="http://cdn.overclock.net/f/f7/f77bcbcd_4.png" target="_blank"><img alt="4.png" data-id="717323" data-type="61" height="376" src="http://cdn.overclock.net/f/f7/413x376px-LL-f77bcbcd_4.png" width="413"></a></em></p>
<p> </p>
<p>Success! I accept cookies as thanks.</p>
</div>
<p> </p>
<p>If you cannot connect to one of your servers instances:</p>
<p> </p>
<a class="spoiler-link H-spoiler-toggle" href="#"><strong>Connection Issues?</strong> <span class="spoiler-help">(Click to show)</span></a><div class="spoiler-hidden">
<p> </p>
<p><span style="font-size:18px;"><span style="text-decoration:underline;"><strong>Connection Issues</strong></span></span></p>
<p> </p>
<p>Some people have had the following error when trying to connect to a server instance:</p>
<p> </p>
<div class="quote-container"><span style="color:rgb(0,0,0);"><span class="variable"><span>Quote:</span></span></span>
<div class="quote-block">
<div>
<p><span style="color:rgb(0,0,0);"><span class="variable"><span style="color:rgb(0,0,0);"><span class="variable">@@@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@@@</span>@<br>
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @<br><span class="variable">@@@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@</span><span class="variable">@@@@</span>@<br>
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!<br>
Someone could be eavesdropping on you right now (man-in-the-middle attack)!<br>
It is also possible that the RSA host key has just been changed.<br>
The fingerprint <span class="keyword"><strong>for</strong></span> the RSA key sent by the remote host is<br><span class="variable">****</span>*<br>
Please contact your <span class="keyword"><strong>system</strong></span> administrator.<br>
Add correct host key in <span class="regexp">/home/x</span>6-temp<span class="regexp">/.ssh/known</span>_hosts to get rid of this message.<br>
Offending key in <span class="regexp">/home/x</span>6-temp<span class="regexp">/.ssh/known</span>_hosts:<span class="number">2</span><br>
RSA host key <span class="keyword"><strong>for</strong></span> <span class="number">15.185</span>.<span class="keyword"><strong>x</strong></span>.<span class="keyword"><strong>x</strong></span> has changed <span class="keyword"><strong>and</strong></span> you have requested strict checking.<br>
Host key verification failed.</span></span></span></p>
</div>
</div>
</div>
<p><span style="color:rgb(0,0,0);"><span class="variable"> </span></span></p>
<p><span style="color:rgb(0,0,0);"><span class="variable">If you ever rebuild your server and your new one has the same IP as before, you will get this message. The keys have changed remotely and no longer match those you have stored in the SSH database. To remove the old keys, enter this command (replacing the x's with your own info):</span></span></p>
<p><span style="color:rgb(0,0,0);"><span class="variable"><strong>ssh-keygen -R 15.185.<span style="color:rgb(255,0,0);">xxx.xxx</span></strong></span></span></p>
<p><span style="color:rgb(0,0,0);"><span class="variable"> </span></span></p>
<p><span style="color:rgb(0,0,0);"><span class="variable">Cheers Digi. :thumb:</span></span></p>
<p><span style="color:rgb(0,0,0);"><span class="variable"> </span></span></p>
</div>
<p> </p>
 

·
Registered
Joined
·
1,793 Posts
<span style="color:#FF0000;">1st. Thanks for the guide z.</span>
 

·
Premium Member
Joined
·
46,114 Posts
Discussion Starter #3
<p>Pictures have been added to the guide now. :p</p>
 

·
Premium Member
Joined
·
12,389 Posts
Why didn't you make one using putty.... 1000000000x easier. No Linux or VM involved.
 

·
I heard you were dead...
Joined
·
8,475 Posts
Looks good to me.
 

·
Premium Member
Joined
·
5,592 Posts
Maybe there should be a warning that only a few 8C instances are able to complete all the BA in time, I've only one (out of eight) that should be fast enough for both the 6903 and 6904. Or are others having a better ratio?<br><div class="quote-container" data-huddler-embed="/t/1206894/hpcs-all-in-one-setup-guide#post_16313794"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>derickwm</strong> <a href="/t/1206894/hpcs-all-in-one-setup-guide#post_16313794"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif"></a><br><br>
Why didn't you make one using putty.... 1000000000x easier. No Linux or VM involved.</div>
</div>
<br>
You got it wrong, it should be the other way around.
 

·
Premium Member
Joined
·
46,114 Posts
Discussion Starter #7
<p>Haven't used Putty yet; I'll try it after the VM guide, and then make a guide with that if I get time. :D</p>
 

·
Registered
Joined
·
2,520 Posts
<div class="quote-container" data-huddler-embed="/t/1206894/hpcs-all-in-one-setup-guide#post_16313794"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>derickwm</strong> <a href="/t/1206894/hpcs-all-in-one-setup-guide#post_16313794"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif"></a><br><br>
Why didn't you make one using putty.... 1000000000x easier. No Linux or VM involved.</div>
</div>
<br>
This Xs eleventy billion. takes like 10 minutes and you can have a new server up and running with HFM monitoring.
 

·
Premium Member
Joined
·
46,114 Posts
Discussion Starter #9
<p>Ok, instructions for setting up a VM of Linux now added. :D</p>
<p> </p>
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>cyanmcleod</strong> <a href="/t/1206894/hpcs-all-in-one-setup-guide/0_100#post_16314072"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br><div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>derickwm</strong> <a href="/t/1206894/hpcs-all-in-one-setup-guide#post_16313794"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Why didn't you make one using putty.... 1000000000x easier. No Linux or VM involved.</div>
</div>
<br>
This Xs eleventy billion. takes like 10 minutes and you can have a new server up and running with HFM monitoring.</div>
</div>
<p><br><br>
Like I said ~3 posts up, I haven't used Putty; I did it through Linux, since I had a VM already. When I do it, I'll make a guide for it.</p>
 

·
Registered
Joined
·
1,793 Posts
<span style="color:#FF0000;">Something is going wrong during the ubuntu vmware install. Pics can explain the prob better than I can, here (They are in chronological order):<br><a class="bbcode_url H-lightbox-open" href="http://www.overclock.net/content/type/61/id/717434/width/600/height/369/flags/"><img alt="369" class="bbcode_img lightbox-enabled" data-id="717434" data-type="61" src="http://www.overclock.net/content/type/61/id/717434/width/600/height/369" style="width:600px;height:369px;"></a><br><br><a class="bbcode_url H-lightbox-open" href="http://www.overclock.net/content/type/61/id/717435/width/600/height/390/flags/"><img alt="390" class="bbcode_img lightbox-enabled" data-id="717435" data-type="61" src="http://www.overclock.net/content/type/61/id/717435/width/600/height/390" style="width:600px;height:390px;"></a><br><br><a class="bbcode_url H-lightbox-open" href="http://www.overclock.net/content/type/61/id/717436/width/600/height/324/flags/"><img alt="324" class="bbcode_img lightbox-enabled" data-id="717436" data-type="61" src="http://www.overclock.net/content/type/61/id/717436/width/600/height/324" style="width:600px;height:324px;"></a><br><br><a class="bbcode_url H-lightbox-open" href="http://www.overclock.net/content/type/61/id/717437/width/600/height/383/flags/"><img alt="383" class="bbcode_img lightbox-enabled" data-id="717437" data-type="61" src="http://www.overclock.net/content/type/61/id/717437/width/599/height/383" style="width:599px;height:383px;"></a><br><br><br>
I need your help because when it comes to problems I go all<br><a class="bbcode_url H-lightbox-open" href="http://www.overclock.net/content/type/61/id/717438/width/175/height/175/flags/"><img alt="175" class="bbcode_img lightbox-enabled" data-id="717438" data-type="61" src="http://www.overclock.net/content/type/61/id/717438/width/175/height/175" style="width:175px;height:175px;"></a></span>
 

·
Premium Member
Joined
·
46,114 Posts
Discussion Starter #11
<p>Go into your BIOS, and enable VT (stands for something like Virtualisation Tech).</p>
 

·
Registered
Joined
·
3,147 Posts
The guide worked great for a noob like me. I did not try HFM since Im only doing smp's and dont care much for the tpf on those. Thanks for the trouble.
 

·
Registered
Joined
·
1,944 Posts
Got 44 Cores running SMP sweet <img alt="biggrin.gif" class="bbcode_smiley" src="http://files.overclock.net/images/smilies/biggrin.gif"><br><br>
6x 4 Core Core<br>
2x 8 Core<br>
1x i7 Quad Core
 

·
Registered
Joined
·
1,793 Posts
<span style="color:#FF0000;">Ubuntu is working <img alt="smile.gif" class="bbcode_smiley" src="http://files.overclock.net/images/smilies/smile.gif"></span>
 

·
Registered
Joined
·
352 Posts
Has anyone else had problems with their 8 cores and folding bigadv well, I was having horrible TPF's and PPD's of like 3k a day for some clients, and no where close to meeting the deadlines, so I switched most of them over to SMP and they're getting 25k PPD each or depending on the work unit. I only have like 1 of the 8 cores that can actually fold bigadv and meet the deadlines.
 

·
Registered
Joined
·
1,944 Posts
I would just run SMP for now.
 

·
Premium Member
Joined
·
46,114 Posts
Discussion Starter #17
<p>Ok guys, a guide for Windows using PuTTY has been added. :D</p>
<p> </p>
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>Desert Rat</strong> <a href="/t/1206894/hpcs-all-in-one-setup-guide/0_100#post_16314583"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
The guide worked great for a noob like me. I did not try HFM since Im only doing smp's and dont care much for the tpf on those. Thanks for the trouble.</div>
</div>
<p><br>
Doesn't take much longer; it's nice to see all that PPD. I'm at over 500k, and it looks nice, to say the least. :p<br>
 </p>
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>Wookie Man</strong> <a href="/t/1206894/hpcs-all-in-one-setup-guide/0_100#post_16314880"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
Has anyone else had problems with their 8 cores and folding bigadv well, I was having horrible TPF's and PPD's of like 3k a day for some clients, and no where close to meeting the deadlines, so I switched most of them over to SMP and they're getting 25k PPD each or depending on the work unit. I only have like 1 of the 8 cores that can actually fold bigadv and meet the deadlines.</div>
</div>
<p><br>
Yeah, it's almost completely random. Just over 50% success rate with the 8ps for me.<br>
 </p>
<p> </p>
 

·
Premium Member
Joined
·
1,312 Posts
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Terminated a server, and set it up again. Now I get this when I try to SSH it:
<div class="bbcode_code">
<div class="bbcode_code_head">Code:</div>
<pre>
<code>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
*****
Please contact your system administrator.
Add correct host key in /home/x6-temp/.ssh/known_hosts to get rid of this message.
Offending key in /home/x6-temp/.ssh/known_hosts:2
RSA host key for 15.185.x.x has changed and you have requested strict checking.
Host key verification failed.</code>
</pre></div>
<br>
The .pem file works for the other servers on there. What to do?</div>
</div>
<br>
Quoted from the old thread, if you ever rebuild your server and your new one has the same IP as before, you will get this message. The keys have changed remotely and no longer match those you have stored in the ssh database.<br><br>
This works in the linux enviroment, not sure what to do if you used putty, etc..<br>
To remove the old keys, do this: (xxx.xxx.xxx.xxx = HPCS server IP of rebuilt server)
<div class="bbcode_code">
<div class="bbcode_code_head">Code:</div>
<pre>
<code>ssh-keygen -R xxx.xxx.xxx.xxx</code>
</pre></div>
<br>
You should now be able to ssh into your fresh server.
 
  • Rep+
Reactions: arvidab and zodac

·
Premium Member
Joined
·
5,592 Posts
Thanks, Digi! That got things sorted.
 

·
!
Joined
·
9,163 Posts
Thanks for the guide and help zodac. To everybody else that may need help from zodac let me just say that bribing works wonders.<br><br>
I have a question about the "The 8cores are a bit iffy, and can give PPD from 18k all the way up to 55k" mine seem to be on the low end of that, or maybe even lower, but is there anything that can be done about it like terminating the server and setting up a new one or does it just seem to be luck of the WU? Basically is it my server or my setup (things I can change) or my luck (something I should just accept)? I'm just folding SMP not bigadv BTW. Thanks.<br><br>
A possible improvement to the guide would be linking to an anchor from the mention of apache in the HFM setup part to the section where the relevant apache code is.
 
1 - 20 of 867 Posts
Top