Most of us have a business requirement to change system passwords regularly and when we do, it usually ends up in a mess. Thankfully, Apache CloudStack has an API that allows you to modify XenServer host passwords without mucking around the database and encryption.
The API to change XenServer host password is updateHostPassword which you can use via CloudMonkey CLI tool. The steps to change the XenServer password would roughly be as below:
Continue reading Changing XenServer Host Passwords In CloudStack
CloudStack provides APIs using which a public IP can be acquired and assigned to virtual machines. A CloudStack admin, domain admin or a user can use CloudMonkey CLI to do the following steps:
- First, use the associateIpAddress API Acquires and associates a public IP to an account
- Then use the enableStaticNat API to enable Static NAT for the given address
In the below example, 192.168.64.106 is being acquired and associated with the IP address 10.1.1.97.
Continue reading Assign Static NAT IP Address Using CloudStack API