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
On a freshly installed Apache CloudStack 4.3.0 installation, the cloudstack-usage server fails to start as below:
[root@csman11 ~]# /etc/init.d/cloudstack-usage start
Starting CloudStack Usage Monitor cloudstack-usage19/06/2014 15:37:20 27499 jsvc error: Cannot locate Java Home
cat: /var/run/cloudstack-usage.pid: No such file or directory [FAILED]
This is probably a side effect of newer version of OpenJDK being released for CentOS via EPEL which /etc/init.d/cloudstack-usage start script does not know about.
[root@csman11 ~]# rpm -qa|grep ^java
The right location for java-1.7.0-openjdk JAVA_HOME is /usr/lib/jvm/java-1.7.0-openjdk-184.108.40.206.x86_64 and and is easily fixed with the below patch:
Continue reading CloudStack Usage Server Fails To Start
For those trying to debug SSVM networking, the following screenshots should help narrow down the issue. These screenshots are from a Apache CloudStack 4.3.0 environment with XenServer hypervisor hosts. Each XenServer hosts has 4 physical network interfaces labeled as below:
- NIC0 – MGMT
- NIC1 – STORAGE (NOTE: Storage is unused in my setup)
- NIC2 – GUEST
- NIC3 – PUBLIC
This can be verified using XenCenter.
Continue reading CloudStack SSVM Network Topology with XenServer