Friday, February 7, 2014

Running Multiple Instances of CGWatcher on the Same Computer

Running Multiple Instances of CGWatcher

Running multiple instances of CGWatcher means you can have a CGWatcher instance monitoring each cgminer/bfgminer instance. There are two things you need to do for this to work correctly - have unique folders and have unique ports. I'll explain in detail so although it might be a lot of text, it is very simple. You can run as many instances as you need.

1. Each CGWatcher instance must have its own folder. This is so they do not overwrite each other's settings, and also so the Windows autorun entries will be unique. You can put the folders anywhere, including nesting them inside each other. So if you want to run two instances, A and B, the following examples would work:

  • CGWatcher A - C:\Miners\CGWatcherA
  • CGWatcher B - C:\Miners\CGWatcherB
or
  • CGWatcher A - C:\Miners\CGWatcherA
  • CGWatcher B - C:\Miners\CGWatcherA\CGWatcherB
or
  • CGWatcher A - C:\Miners\CGWatcher
  • CGWatcher B - C:\Miners\CGWatcher\CGWatcher

If you want to share the same profiles between instances, you can set them to use the same profiles.dat file by editing CGWatcher.exe.ini in each folder. In this file, locate the line that says "ProfilesDataFile=" and add the file path of the profiles.dat file you want it to use. Do not use quotes in the file path. Example: ProfilesDataFile=C:\My Miners Folder\CGWatcher\profiles.dat  

When ProfilesDataFile= is blank, CGWatcher will use (or create) the profiles.dat file in the same folder it is in. You can also do the same with CGWatcher variables by setting the VariablesDataFile path.


2. Each instance must use a unique API port so it always communicates with the correct miner. To set the API port, go to the Settings tab in CGWatcher. In the bottom, left, locate 'Miner API Address (IP:port)' textbox. The port is the number after the colon. This number must be unique for each instance. So instance A could be 4028 (cgminer's default API port) and instance B could be 4029. You can use any number between 1024 and 65535 - it just has to be a port that isn't being used by another application. The IP address stays the same - 127.0.0.1 - for all instances. So the textbox for your CGWatcher instances would be:

CGWatcher A:   127.0.0.1:4028
CGWatcher B:   127.0.0.1:4029

Once you have entered a unique port, check the checkbox below it that says 'Use only this API port (override config settings)'. When this is enabled, CGWatcher will ensure that cgminer/bfgminer always uses this port - even if the config file says to use a different port. This ensures that multiple instances will never cross communicate.

Now since each CGWatcher instance has its own file path, if you enable 'Run when Windows starts' an entry will be created for each instance.

Click Save Settings.

I do this on my own computer since it mines scrypt coins with GPUs and Bitcoin with ASICs. I then just create a shortcut to each CGWatcher instance on the desktop and rename them to "CGWatcher GPU" and one "CGWatcher ASIC". I have them sharing the same profiles file, so if you make changes to profiles in one, it is picked up by the other one (it may take up to 15 minutes for this to happen, but it will always check for changes before starting the miner).

Also, you can obviously share config files between instances but you can share config files between miners as well. More info on this and using variables can be found at http://manotechnology.blogspot.com/2013/08/web-config-files.html

In the future I may try to come up with a better way to do this, but it is getting to where CGRemote will probably be a better way to do this since it is built from the ground up to handle multiple miners. CGWatcher was designed to only watch one process at a time, and I think my time would be better spent working on putting CGWatcher features into CGRemote than rewriting CGWatcher.

Wednesday, January 29, 2014

CoinMyne acquires CGWatcher and CGRemote, and I have joined the CoinMyne team as VP of Software Development



LOS ANGELESJan. 29, 2014 /PRNewswire-iReach/ -- CoinMyne, a Los Angeles based mining and software cryptocurrency company, has aquired CGWatcher and CGRemote as part of its core software mining product line. Furthermore, Justin Milone, the creator of CGWatcher and CGRemote, has joined CoinMyne as the VP of Software Development.
Aquisition of CGWatcher and CGRemote
CoinMyne, a new firm that specializes in cryptocurrency mining and software development, has acquired the CGRemote and CGWatcher product lines. Both products are used by thousands of miners worldwide to monitor, modify and maintain their miners and mining operations. These miners include hobbyists to large scale ASIC operations and rely on the software to ensure maximum profitability and ease of management of their devices.
CGWatcher and CGRemote Creator Joins CoinMyne
As part of the acquisition, Justin Milone the original creator of both CGWatcher and CGRemote, has joined CoinMyne as the firm's VP of Software Development. Justin Milone will lead ongoing development efforts of both products and will oversee other software projects related to mining as Vice President.
Justin Milone is a pioneer in the cryptocurrency space and is the first person to develop a program to monitor and manage both GPU and ASIC miners on a large-scale basis. Justin says, "I am very exicted to join CoinMyne. This situation will allow me to focus my efforts full-time on the CG product line and also work to develop other products that fully integrate with the CG products." Justin Milone will directly report to CoinMyne's COO Scott McCarthy. "I am very excited that Justin has joined the team and he is going to be an invaluable member of our team. His experience in the mining software space is invaluable and unmatched by anyone else in the space," Mr. McCarthy stated.
Mark Price (CEO) states that CoinMyne will initially focus on the CG product line and then will move on to develop a full suite of mining products. "Because support is lacking for existing open source mining programs related to alternative currencies, we plan to step in and integrate CGRemote with our new mining product when it is completed."
CoinMyne will continue to support and develop both CGRemote and CGWatcher and will be heavily invested in new features based on feedback from the mining community. Justin Milone will lead these efforts and will continue to develop and design these products. Justin states, "I want everyone to know it is going to be business a usual. Everything is going to remain the same except for the fact I will have more time and resources with CoinMyne to enhance these products. I also look forward to having a full support team in place for these products."
For additional information or interviews/media relations, please contact Scott McCarthy via phone or text at 310-614-0694 or email sm@coinmyne.com.
Summary (Recap)
CoinMyne acquires CGWatcher and CGRemote and Justin Milone joins the team as VP of Software Development. CoinMyne continues to develop both products with additonal resources and will also add additional support resources and work on a new mining product.
CoinMyne is a new player in the cryptocurrency space founded by Mark Price and Scott McCarthy. Both Mr. Price and Mr. McCarthy have over 6 years combined experience in the cryptocurrency market and formed CoinMyne to focus on large-scale alternative currency mining operations and develop cutting edge mining software for GPU and ASIC miners. CoinMyne's core mission is to mine and develop top quality fully-supported mining software. CoinMyne is fully vested for long-term operation in the space.
Contact Contact: Scott G. McCarthy (COO/Media Relations)
Company Name: CoinMyne
Telephone Number: 310-614-0694
Email Address: sm@coinmyne.com
Web site address: www.coinmyne.com
Media Contact: Scott McCarthy, CoinMyne, 310-614-0694, sm@coinmyne.com
News distributed by PR Newswire iReach: https://ireach.prnewswire.com



To answer some questions...

Yes, if you are in the CGRemote beta you will remain in the beta. All previous promises will be kept.

I will continue to lead both CGWatcher and CGRemote development, as well as other projects. The only difference is that I will now have additional time and resources to focus exclusively on software... which is a good thing.

Pricing for CGRemote will be announced in the near future.

We have some other very exciting projects planned... this is only the beginning.

I want to thank everyone who has used and supported both programs.

Justin