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-22.214.171.124.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”
The recently released Ubuntu 14.04 “Trusty Tahir” LTS release comes with Xen HVM (Hardware-assisted virtualization) support. Previous LTS releases supported the older Xen PV (para-virtualization) mode only.
Phoronix has recently published a comparison between Ubuntu 14.04 Xen PV with Xen HVM virtualisation which seems to suggest that Ubuntu 14.04 with Xen HVM performs better than Xen PV on EC2 cloud. You can read the full article at Ubuntu 14.04 On Amazon EC2: Xen PV vs. HVM
Continue reading “Running Ubuntu 14.04 “Trusty Tahir” on XenServer CloudStack”