Author Topic: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers  (Read 8199 times)

0 Members and 1 Guest are viewing this topic.

Offline JohnD

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Hello,

Regarding to my personal experience: Ubuntu is about 5-10% faster compared to Windows Server and it is easier (just faster) to setup the miner.

Quick Guide:

1) Register for Windows Azure Trial (you need a credit card) and login on the portal (manage.windowsazure.com)

2) Create an extra large (8 core, 14 GB RAM) Ubuntu 13.10 server (it takes about 5 minutes until it is online). You can also create directly 2 extra large and one large machine (20 core maximum for the trial).

3) Click on the virtual machine --> Dashboard and look for the public IP. Connect with putty (or another SSH client). Username: azureuser .

4) Setting up ypool miner:

Code: [Select]
sudo -s
apt-get install -y build-essential git screen htop
git clone https://github.com/Tydus/jhProtominer -b linux-port
cd jhProtominer/src/jhProtominer
make CFLAGS="-O3 -march=native"
screen
./jhProtominer -O ypool.net:8081 -u [UserName.Workername] -p [password] -m512 -t 8

You can detach the screen with Control+A - Control+D (directly after each other).
You can resume the screen to check if the worker is still running with "screen -r" on the terminal.
The command htop shows you the cpu usage.

The whole process takes about 10 minutes.

Edit:
Coyote Fallback if ypool is down

You can switch to coyote easily if ypool is down:

Code: [Select]
screen
wget http://the-iland.net/static/downloads/ubuntu12_coyote_miner.0.3.0.tar.gz
tar -xzvf ubuntu12_coyote_miner.0.3.0.tar.gz
./ubuntu12_coyote_miner.0.3.0 162.243.45.158 [YourPayoutAddress] 8
« Last Edit: November 16, 2013, 12:16:44 pm by JohnD »
Donate if you like it:
PTS: Pi236u2LoqHjt8xs75YdQ7ZEFGuMqVd9sJ
BTC: 1AngSrJcBxG3zBks8DnPzvTU3Q2d678XaF

Offline BartV

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #1 on: November 16, 2013, 05:33:00 pm »
A very small correction ;)

to use 'screen':
when in screen you need to press ctrl+a to be able to send command to screen itself, after ctrl+a, pressing d detaches (not ctrl+d).
I you want multiple terminals use c as command (always first ctrl+a)
to switch between screen terminals use p (again, after ctrl+a)

Nice guide.
BTC: 1CZvZTuN4RyySoUpJXjFqR6Tyx2B1onrMd
PTS: PY2AiusDmMBpbnrhSG5TUCczibkYNoBAkK

Offline solaaire

  • Full Member
  • ***
  • Posts: 177
  • praise the sun!
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #2 on: November 16, 2013, 05:34:11 pm »
thank you so much for the guide! sent a small donation your way :-)

i am very new to linux and cloud mining in general. After i had successfully gotten a few debian digital ocean miners up and running, thanks to a guide, i got a bit cocky and decided to sign up for the azure trial a couple of days ago... after trying and failing miserably for hours to adapt the terminal commands to work on ubuntu i had finally given up on doing it myself. this is a lifesaver! thanks again.

edit: just wanted to add that after fiddling with the 'screen' command, i must say it is quite useful!
« Last Edit: November 16, 2013, 05:47:10 pm by solaaire »

Offline JohnD

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #3 on: November 17, 2013, 10:17:38 am »
A very small correction ;)

to use 'screen':
when in screen you need to press ctrl+a to be able to send command to screen itself, after ctrl+a, pressing d detaches (not ctrl+d).
I you want multiple terminals use c as command (always first ctrl+a)
to switch between screen terminals use p (again, after ctrl+a)

Nice guide.

Thanks for the correction :)
I am using screen everyday for 8 years now and just noticed that i have obviously no idea what my fingers are doing there  ;) .

@solaaire
Thanks for your donation.

 
Donate if you like it:
PTS: Pi236u2LoqHjt8xs75YdQ7ZEFGuMqVd9sJ
BTC: 1AngSrJcBxG3zBks8DnPzvTU3Q2d678XaF

Offline smokim11

  • Sr. Member
  • ****
  • Posts: 217
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #4 on: November 17, 2013, 01:15:28 pm »
Awesome guide, I figured out how to run ypool on linux but forgot to save the commands on a notepad. Glad you posted them.

I think you should also post for the new miner listed on ypool also. Heard it was faster giving 10% extra col/min.
If I helped you and want to show your appreciation donate any amount:
Pjem2V2FDPGZa6yAvpL2fN5yZKXYUNLSv5

Offline BartV

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #5 on: November 17, 2013, 02:04:26 pm »
Awesome guide, I figured out how to run ypool on linux but forgot to save the commands on a notepad. Glad you posted them.

I think you should also post for the new miner listed on ypool also. Heard it was faster giving 10% extra col/min.

Which one are you talking about? Can you link to the post?

If it is just another branch of Tydus, you can normally just replace
Code: [Select]
git clone https://github.com/Tydus/jhProtominer -b linux-portby
Code: [Select]
git clone https://github.com/Tydus/jhProtominer -b branchname
branchname can be  any on https://github.com/Tydus/jhProtominer/branches so  I guess you mean sph?
BTC: 1CZvZTuN4RyySoUpJXjFqR6Tyx2B1onrMd
PTS: PY2AiusDmMBpbnrhSG5TUCczibkYNoBAkK

Offline timegrinder

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #6 on: November 17, 2013, 02:33:23 pm »
It's this one here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz

It's optimised to your CPU (I'm assuming it does some instruction stuff above normal) and comes in 8M-1024M flavours for Windows, and 8M-2048MB flavours for linux it seems.

On my machine (Core-i7 (no AVX)) I get ~98Col/min with Tydus on 4096M but this one on 1024 gives me 140col/min.

The linux one run on one of Azure's virtuals (4 thread 1024M) gets 52, whereas Tydus' linux-port was only giving me ~35.

Offline hjlow

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #7 on: November 18, 2013, 12:52:12 am »
It's this one here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz

It's optimised to your CPU (I'm assuming it does some instruction stuff above normal) and comes in 8M-1024M flavours for Windows, and 8M-2048MB flavours for linux it seems.

On my machine (Core-i7 (no AVX)) I get ~98Col/min with Tydus on 4096M but this one on 1024 gives me 140col/min.

The linux one run on one of Azure's virtuals (4 thread 1024M) gets 52, whereas Tydus' linux-port was only giving me ~35.

can someone post mirror please?

Offline m0rph

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #8 on: November 18, 2013, 12:45:28 pm »
It's this one here:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz

It's optimised to your CPU (I'm assuming it does some instruction stuff above normal) and comes in 8M-1024M flavours for Windows, and 8M-2048MB flavours for linux it seems.

On my machine (Core-i7 (no AVX)) I get ~98Col/min with Tydus on 4096M but this one on 1024 gives me 140col/min.

The linux one run on one of Azure's virtuals (4 thread 1024M) gets 52, whereas Tydus' linux-port was only giving me ~35.

can someone post mirror please?

Here you go:

I've only got the one I downloaded to begin with (Core i7, no AVX) which contains multiple binaries based on memory footprint per thread.

http://www.filedropper.com/jhprotominer-yvg1900-m7c-win64-corei7

If you're not on a recent (ish) Core-i architecture this probably won't work / be useful for you.
PTS - PksM7k6rwZpWGvR1GxSedLZ5k94z54bbqH
BTC - 1CFxbpkBmZGB5RStsCz6Wgbw48GRQyfsFF

Offline JohnD

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #9 on: November 18, 2013, 01:29:44 pm »
Does somebody have the AMD versions of the optimized miner?
I made a mistake and lost my one...
Donate if you like it:
PTS: Pi236u2LoqHjt8xs75YdQ7ZEFGuMqVd9sJ
BTC: 1AngSrJcBxG3zBks8DnPzvTU3Q2d678XaF

Offline m0rph

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #10 on: November 18, 2013, 02:16:52 pm »
Does somebody have the AMD versions of the optimized miner?
I made a mistake and lost my one...

I'm really hoping for this as well.
PTS - PksM7k6rwZpWGvR1GxSedLZ5k94z54bbqH
BTC - 1CFxbpkBmZGB5RStsCz6Wgbw48GRQyfsFF

Offline timegrinder

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #11 on: November 18, 2013, 02:20:37 pm »
Hopefully someone over at yPool has noticed that the link to their miner is down and fixes it.

The original set included a full range of AMD/Intel optimised miners, though if anyone knows how to contact yvg1900 you might want to let them know.

Offline BartV

  • Newbie
  • *
  • Posts: 8
    • View Profile
BTC: 1CZvZTuN4RyySoUpJXjFqR6Tyx2B1onrMd
PTS: PY2AiusDmMBpbnrhSG5TUCczibkYNoBAkK

Offline Polke

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #13 on: November 19, 2013, 04:05:04 pm »
Great post.

Is there a way to update the protominer?
Donation: Po2jNHNvqv2a2kdyZPWic1XveoCHKczVMQ

Offline solaaire

  • Full Member
  • ***
  • Posts: 177
  • praise the sun!
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #14 on: November 19, 2013, 06:13:13 pm »
any tips to get beeeeer's pool working on azure? i tried transplanting and frankensteining commands I was using on AWS (running ubuntu 13.10 as well) but I cannot figure it out! 

Offline JohnD

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #15 on: November 19, 2013, 06:15:27 pm »
any tips to get beeeeer's pool working on azure? i tried transplanting and frankensteining commands I was using on AWS (running ubuntu 13.10 as well) but I cannot figure it out!

Setup with Debian 7.

edit:

Howto setup on Debian 7 (copied from another thread)
Code: [Select]
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev
sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix

git clone https://github.com/thbaumbach/ptsminer
cd ~/ptsminer/src
make -f makefile.unix
./ptsminer <your PTS address> <number of threads>
Donate if you like it:
PTS: Pi236u2LoqHjt8xs75YdQ7ZEFGuMqVd9sJ
BTC: 1AngSrJcBxG3zBks8DnPzvTU3Q2d678XaF

Offline solaaire

  • Full Member
  • ***
  • Posts: 177
  • praise the sun!
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #16 on: November 19, 2013, 06:49:22 pm »
Thanks again! I didn't even realize you could upload your own images to azure... makes a lot of sense in retrospect. The commands even worked on  ubuntu 13.10 servers i already had running.

The most embarrassing part is that i have actually been using the commands you just posted to mine on debian via digital ocean for the last week. DOH!

EDIT: Ha! Figured out my problem.. Turns out I had tried these commands before however I had an extremely out of date version of ptsminer so the -f makefile command wasn't working. Updated to v.06 of the miner and it's all good now :)
« Last Edit: November 19, 2013, 08:22:17 pm by solaaire »

Offline kenpodragon

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #17 on: November 19, 2013, 07:33:31 pm »
Here's a quick way to get coyote running on your ubuntu server. There are some library dependancies in there you need.

Code: [Select]
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev git build-essential htop libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev git libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix screen
wget -O ub http://the-iland.net/static/downloads/ubuntu12_coyote_miner.0.3.0.tar.gz
tar xvzf ub
screen -d -m -S ubuntu12_coyote_miner.0.3.0 COYOTESERVER YOURWALLETID `cat /proc/cpuinfo | grep processor | wc -l`

Offline runderwo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #18 on: November 23, 2013, 11:18:33 pm »
The free trial says $200 worth but for 29 days... is it just time limited or will they begin silently charging at some point as well?

Edit: ok used the calculator here.
http://www.windowsazure.com/en-us/pricing/calculator/?scenario=virtual-machines

Looks like you get about 31 hours of 2x8 core + 4 core linux to use up the $200 credit.
« Last Edit: November 23, 2013, 11:43:11 pm by runderwo »

Offline HCarvalho

  • Jr. Member
  • **
  • Posts: 40
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #19 on: November 24, 2013, 12:02:28 am »
I got about five days worth of mining in each of azure accounts, 2x8 cores, 1x4 cores, windows 2012

Offline runderwo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #20 on: November 24, 2013, 12:21:26 am »
Doh, I calculated with the A7 and A6 prices instead of the XL and L size instances that I actually set up.  Thanks.

Looks like you get .96+.24/hr=1.20/hr  $200/1.20 = ~166 hours
« Last Edit: November 24, 2013, 12:24:05 am by runderwo »

Offline jamthedude

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #21 on: November 24, 2013, 04:35:45 pm »
I am an absolute beginner to mining/cloud mining, but I was able to get this running as described on the first post. Does anyone have a way to correct this error I'm getting?:

INVALID SHARE - OUTDATED MINER VERSION

I've searched through the forum and found a couple references to it - but any of the fixes/workarounds mentioned are way over my head.. Is there a command I can put into putty to update the miner & which miner should I be updating to?

Sorry if I missed this somewhere else & thanks for any help!

Offline JohnD

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #22 on: November 24, 2013, 04:42:03 pm »
I am an absolute beginner to mining/cloud mining, but I was able to get this running as described on the first post. Does anyone have a way to correct this error I'm getting?:

INVALID SHARE - OUTDATED MINER VERSION

I've searched through the forum and found a couple references to it - but any of the fixes/workarounds mentioned are way over my head.. Is there a command I can put into putty to update the miner & which miner should I be updating to?

Sorry if I missed this somewhere else & thanks for any help!

Just download an use one of the updated miners here: https://mega.co.nz/#F!h0tkXSxZ!f62uoUXogkxQmP2xO8Ib-g
I did not test it but i guess i it works.

I am using beers pool currently:

Code: [Select]
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix yasm screen htop

git clone https://github.com/thbaumbach/ptsminer
cd ~/ptsminer/src
make -f makefile.unix
screen ./ptsminer <your PTS address> <number of threads>
Donate if you like it:
PTS: Pi236u2LoqHjt8xs75YdQ7ZEFGuMqVd9sJ
BTC: 1AngSrJcBxG3zBks8DnPzvTU3Q2d678XaF

Offline K20

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #23 on: December 14, 2013, 07:29:34 pm »
Have just set this up, but disappointingly only getting 100c/m

I've got 2 VM's running so thats a total of 200c/m.

 Not exactly sure how this works with the billing and the 30 day trial and £130. Seems like its either 30 days free trial use of the servers or $200 credit to use in the same fashion.  I'm currently using all 20 cores to get about 280c/m and my credit hasn't gone down - only the number of days left

« Last Edit: December 15, 2013, 12:23:45 am by K20 »
Donations
PTS: Pt9XNjs3CXEzQ5p3RFh68nfb9upGBtYpzh

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2276
    • View Profile
  • BitShares: jademont
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #24 on: December 15, 2013, 03:05:26 am »
Same here, I got 109c/m for each VM. It's confusing because my real PC with I7 4cores /8threads can run up to 220 c/m. Maybe VM is supposed to run slower....

I think the they will charge us in one month's, so we should cancel this service before that if we don't want to pay for 220$? 

Have just set this up, but disappointingly only getting 100c/m

I've got 2 VM's running so thats a total of 200c/m.

 Not exactly sure how this works with the billing and the 30 day trial and £130. Seems like its either 30 days free trial use of the servers or $200 credit to use in the same fashion.  I'm currently using all 20 cores to get about 280c/m and my credit hasn't gone down - only the number of days left
BTS committee member:jademont

Offline K20

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [Quick Guide] Mine on Ypool with Windows Azure Free Trial Servers
« Reply #25 on: December 15, 2013, 09:14:57 am »
I've had my Azure servers running for 18 hours now and have noticed I've started  being billed



Looks like the yield has fallen too..



Same here, I got 109c/m for each VM. It's confusing because my real PC with I7 4cores /8threads can run up to 220 c/m. Maybe VM is supposed to run slower....

I think the they will charge us in one month's, so we should cancel this service before that if we don't want to pay for 220$? 

Have just set this up, but disappointingly only getting 100c/m

I've got 2 VM's running so thats a total of 200c/m.

 Not exactly sure how this works with the billing and the 30 day trial and £130. Seems like its either 30 days free trial use of the servers or $200 credit to use in the same fashion.  I'm currently using all 20 cores to get about 280c/m and my credit hasn't gone down - only the number of days left
Donations
PTS: Pt9XNjs3CXEzQ5p3RFh68nfb9upGBtYpzh