Hi Guys,
I was reading cloud task, that is a great work. However, I am wondering if it is possible to run could task against our priviate servers located at different hosting center, all of them are running turnkey linxu right now.
It will be nice that we can use cloudtask to do mass upgrade for all our servers and do application upgrade of own too. Is that possible?
J.
Replies (8)
Yes you can use CloudTask for private clouds
Reply 1You'll need to setup SSH key authentication
Reply 2Password authentication is not supported. You'll need to setup SSH public key authentication (e.g., add your local public SSH key to the $HOME/.ssh/authorized_keys on the worker).
When CloudTask connects to your local machine using SSH it needs to do that non-interactively. If you're going to work a hundred machines it's not practical to ask you to input passwords for each of them. Using SSH public key authentication is also safer.
Liraz
Reply 3Any good example for none-EC2 instance. I am tried to do a mass upgrade to all pre-installed Turnkey Linux server in my VirtualBox. How can I do that?
Can you SSH to remote hosts without password though?
Reply 4'Cause that's what you need in my understanding.
Can you really log in as root without a password?
Reply 5Are you absolutely sure you can ssh into localhost AS ROOT without a password?
There's a difference between this:
# logs into localhost as user user$ ssh localhost
And this:
# logs into localhost as root user$ ssh root@localhost
Hi Liraz, That is exactly
Reply 6Hi Liraz,
That is exactly what I did. When i do ssh localhost, it won't ask me for any password at all.
Timeout
Is there something wrong with my steps?
Reply 7The following is detail on Apache-Tomcat 11.2, i think that maybe I shall not use "ssh-keygen"?
Any updates?
Reply 8Hi Guys,
Any updates on this?
J.
You just provide cloudtask with a canned list of --workers. See the documentation for details and experiment a bit.
Regarding mass upgrades, yes you could use cloudtask for any mass execution task and it should work fine. Think of it as SSH on steroids. Any task you could do non-interactively on one server you can use CloudTask to do non-interactively on a whole bunch of them.