Re: Node to NodeMetadata ( Bridging the gap )

2014-01-26 Thread Neil Corbet
Hello Carlos, Thanks for the reply. Carlos, would you mind sharing with me how your Jenkins job is set up? Are you using pre/post build scripts? Are these using the JClouds api? I have thought of doing this job using our CI Server, but I was hoping I could write a java class that could do it

Re: Node to NodeMetadata ( Bridging the gap )

2014-01-25 Thread Ignasi Barrera
Hi Neil, I'm not very familiar with the Rackspace specific apis, but why do you need to get the ip address of the node? If you use the ComputeService, the runScriptOnNode methods only need the node id (does the node returned by the loadbalancer api have the same id than the one returned by the

Node to NodeMetadata ( Bridging the gap )

2014-01-24 Thread Neil Corbet
Hello All, I am new to JClouds and I am hoping that maybe someone can help point me in the right direction. I have a basic use case. I need to do the following: 1. Grab a Load Balancer 2. Disable the nodes one by one to take them out of the load balancer. 3. Shut down an app server ( tomcat )

Re: Node to NodeMetadata ( Bridging the gap )

2014-01-24 Thread Carlos Ospina
Hello Neil. I believe the best way to do steps 3-6 is to use a Continuous integration server like Hudson or Jenkins. I do this very often and works like a charm. The Balancer tasks can also be automated with the CI server On Jan 24, 2014 8:55 PM, Neil Corbet neil.cor...@gmail.com wrote: Hello