I'm currently working on some bash scripts with 'expect' tool to automate the bosh ssh command, as I didn't found any other simple solution.
consul/ansible might a right way to solve the problem, but I'm looking for a simple solution to automate some tests, without making changes on the architecture!
Why do I want this? Mostly to test/assure the stability of the system: block the network on a machine, kill a process, do some fake load, to see if the deployment will survive or not.
I think there are more use cases and being able to run a command/script in one or all VMs can be a useful feature in bosh.
Another example can be an urgent fix, or the need of some status/metric info without a re-deployment.
Michael
Il 15/06/15 18:54, Dmitriy Kalinin <dkalinin(a)pivotal.io> ha scritto:
Can you give us a bit more details about what you are trying to do?
On Mon, Jun 15, 2015 at 6:51 AM, Kamil Burzynski <nopik(a)data.pl> wrote:
Right! I stand corrected.
On 15/06/15 15:31 , Dr Nic Williams wrote:
Errands run their script on a new VM
On Mon, Jun 15, 2015 at 6:30 AM, Kamil Burzynski <nopik(a)data.pl> wrote:
There is a chance that errands would do the job here?
On 15/06/15 15:20 , Dr Nic Williams wrote:
I don't think there is anything in bosh to get this done - Perhaps look at including consul agent and using consul exec? Or perhaps ansible?
On Mon, Jun 15, 2015 at 12:03 AM, Michael Grifalconi <michael.grifalconi(a)studenti.unimi.it> wrote:
Hello all,
I'd like to run some scripts inside VMs deployed by BOSH, is it possible?
Like: with bosh IP address, credentials, deployment name and VM name, run this script, without doing it manually with bosh ssh command.
Thank you
Regards,
Michael
_______________________________________________cf-bosh mailing listcf-bosh(a)lists.cloudfoundry.orghttps://lists.cloudfoundry.org/mailman/listinfo/cf-bosh
-- Best regards fromKamil Burzynski
_______________________________________________cf-bosh mailing listcf-bosh(a)lists.cloudfoundry.orghttps://lists.cloudfoundry.org/mailman/listinfo/cf-bosh
-- Best regards fromKamil Burzynski
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh
****************
Per destinare il 5x1000 all'Universita' degli Studi di Milano: indicare nella dichiarazione dei redditi il codice fiscale 80012650158.
http://www.unimi.it/13084.htm?utm_source=firmaMail&utm_medium=email&utm_content=linkFirmaEmail&utm_campaign=5xmille