DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
After you have your development environment setup, here are additional things to note:
At a high level, you will need to run the management server, the KVM host, and an LXC host. The LXC host has the exact same setup as the KVM host, the only difference is you specify the "lxc" hypervisor in the agent config file. The KVM host is needed for running the System VMs since we do not yet have equivalents for LXC.
I am currently running my dev/test setup on two machines: 1) runs the management + KVM agent and 2) the other runs the LXC agent. The following sections detail how to get the development code running so that you can spin up LXC containers with Cloudstack. It's not very elegant, but is the easiest way I've found to quickly get the system up with development code. There's probably an easier way to do this.
| Code Block |
|---|
PCP=""
for jarfile in <incubator-cloudstack-dir>/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/lib/cloud-* /usr/share/java/jna.jar; do
if [ ! -e "$jarfile" ] ; then continue ; fi
echo "got here: $jarfile"
PCP=$jarfile:$PCP
done
export CLASSPATH="$SCP:$DCP:$PCP:$JCP:/etc/cloud/agent:/usr/lib64/cloud/agent"
|
In this step we bring up the system with a KVM hypervisor. After the Secondary Storage VM starts up, we will swap out the cloud jars with the ones we've built.
| Code Block |
|---|
ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@169.254.x.x (SSVM local link ip)
cp -r /usr/local/cloud/systemvm /usr/local/cloud/systemvm.orig
rm |
/usr/local/cloud/systemvm/cloud-*.jar scp root@<machine1>:<incubator-cloudstack-dir>/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/lib/cloud-*.jar |
/usr/local/cloud/systemvm
service cloud stop
service cloud start
|