cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kotipalli venkatesh <venkateshcloudt...@gmail.com>
Subject Re: How to change the Host password
Date Mon, 20 Jul 2015 15:33:34 GMT
Hi

No. please tell me the procedure how to update host password api.

Thank you,
Venkatesh.k

On Mon, Jul 20, 2015 at 8:52 PM, Ahmad Emneina <aemneina@gmail.com> wrote:

> Have you explored the updateHostPassword [0] api call?
>
>
> [0]
>
> https://cloudstack.apache.org/api/apidocs-4.5/root_admin/updateHostPassword.html
>
> On Mon, Jul 20, 2015 at 8:47 PM, kotipalli venkatesh <
> venkateshcloudtest@gmail.com> wrote:
>
> > Hi All,
> >
> > As per last discussion change the host password. But management server
> not
> > communicate  with host.
> >
> > Followed steps are:
> >
> > *step 1*: Directly login in to the host and run the command passwd and
> > change the host password.
> > *step 2*: Login to the management server run the command  is
> > java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar \
> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI \
> > encrypt.sh input="newrootpassword" \ (here giving new password)
> > password="databasekey" \
> > verbose=false
> >  after run this command encrypted format will be observed.
> >
> > *Step 3*: Login to the database and run the command is
> >
> >
> > update host_details set password=<encrypted_password> where host_id in
> > (comma_separated_list_of_host_ids);
> >
> > *Step 4*: Then Restart the mysql service and cloudstack-management
> service.
> > Then go to infrastructure to see the status of host is DISCONNECT state.
> >
> > please anyone give me proper solution its very urgent.
> >
> > Thank you,
> > Venkatesh.k
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message