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 <
[email protected]> 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
>

Reply via email to