Re: running pre and/or post scripts after instance creation/destroy

2014-10-30 Thread Erik Weber
Do you have ssh keys or any other means to access the servers automatically? What I'm thinking is that you could deploy the rabbitmq event notification message queue, and listen for create/destroy calls. I don't think you would be able to intercept the create call and alter it's runtime, but you

Re: running pre and/or post scripts after instance creation/destroy

2014-10-30 Thread Yiping Zhang
I envision to run these pre/post scripts on CS management server. These scripts can be in any of languages such as shell/ruby/python/java. Here is our use case: We¹d like to automatically register new instances in RedHat IPA server (something like windows nodes auto joining an AD domain when it

Re: running pre and/or post scripts after instance creation/destroy

2014-10-28 Thread Jayapal Reddy Uradi
Hi Yiping, Can you please elaborate more about your requirement. Where you want to run the script ? ... Inside the VM ? Thanks, Jayapal On 29-Oct-2014, at 12:31 AM, Yiping Zhang wrote: > Hi, all: > > Does anyone know if CloudStack provide any mechanism to run a pre/post > scripts after an ins

running pre and/or post scripts after instance creation/destroy

2014-10-28 Thread Yiping Zhang
Hi, all: Does anyone know if CloudStack provide any mechanism to run a pre/post scripts after an instance is created or destroyed ? Thanks, Yiping