Changing XenServer Host Passwords In CloudStack

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

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn

Assign Static NAT IP Address Using CloudStack API

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:

  1. First, use the associateIpAddress API Acquires and associates a public IP to an account
  2. 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

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn