Hi Subin,
 Glad that it worked for you. We are planning to make the management
API's public as part of 1.3.0 release. Please follow the jira below
for the documentation on it:

https://issues.apache.org/jira/browse/ambari-1388

thanks
mahadev


On Mon, Mar 11, 2013 at 11:08 PM, Modeel, Subin <[email protected]> wrote:
> Hi Mahadev,
>
> Once I stop all the services I am able to successfully recreate the services.
> Also pre installing the rpms also speed my deployment.
>
> Can you tell me the JIRAs for the management API's
> We do have few doubts on the APIs exposed.
>
>
> Thanks
> Subin
>
>
>
> On Sat, Mar 9, 2013 at 6:12 AM, Mahadev Konar 
> <[email protected]<mailto:[email protected]>> wrote:
> Hi Subin,
>    You should stop all the services before you stop the agents. Also if you
> planning to automate this, you might want to try out the management API's
> (please beware that these are not stable and will only be published for
> integration with 1.3.0):
>
> curl -u admin:admin -i -X PUT -d '{"ServiceInfo": {"state": "INSTALLED"}}'
> http://<ambari-server>:8080/api/v1/clusters/<clustername>/services
>
>
> For the rpm's you can probably create a list using rpm -qa diff after and
> before the install. You should be able to pre install them to speed things
> up.
>
>
> thanks
> mahadev
>
>
> From: Modeel, Subin
> Sent: Friday, March 08, 2013 12:42 PM
> To: '[email protected]'
> Subject: Create a new cluster on the same hardware
>
> Hi,
>
> I have used Ambari to create a hadoop cluster with all services on my 7 node 
> cluster. Suppose now I want to recreate the cluster.
> I have done a ambari-reset .But I believe the services are still running on 
> the nodes.
> What is the safe way to make sure I have stopped all the services running on 
> all nodes.
>
> I also want to save my time every time I create cluster on the 7 nodes.
> IS there way I can pre- install all the rpm on all the nodes. If so what are 
> all the rpms I can pre install.
>
>
> Thanks
> Subin11

Reply via email to