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.
...
| Anchor | ||||
|---|---|---|---|---|
|
\[At present QuickCloud on DevCloud2 does not use any DHCP services\]
Wiki Markup
1. Get the DevCloud2 VM up and running.
2. Mount the secondary storage export from the DevCloud2 on to your laptop:
| Code Block |
|---|
export SS_MOUNT= mount-point-for-sec-storage e.g., /users/myhome/secondary-storage mkdir $SS_MOUNT mount -t nfs 192.168.56.10:/opt/storage/secondary $SS_MOUNT mount -t nfs -o resvport 192.168.56.10:/opt/storage/secondary $SS_MOUNT #Mac OS X |
...
Edit conf/agent.properties and add
| Code Block |
|---|
zone=1
# eth1ip needed only if you have one network adapter, or you need to the service to use a specific private ip address.
eth1ip=<ip address available to service> # should offer similar functionality to systemvm private ip address
#or actual zone id from management server database table datacenter
host=<ip of management server>
guid=Secondary.1
instance=SecondaryStorage
resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource
#resource=com.cloud.storage.resource.PremiumSecondaryStorageResource for VMWare
mount.path=<value of $SS_MOUNT>
secondary.storage.vm=false
|
...
| Code Block |
|---|
echo "paths.pid=." > conf/environment.properties |
6. Set Console Proxy "public" IP
The console proxy service has to be made available at a "public" ip. Tell the management server the value of this ip by adding
...
Edit the applicationContext.xml in the web app (WEB-INF/classes), . You need to change the consoleProxyManagerImpl line to
| Code Block |
|---|
<bean id="consoleProxyManagerImpl" class="com.cloud.consoleproxy.StaticConsoleProxyManager" /> |
A quick way to do this is using sed. E.g. if you start your dev server using 'mvn -pl :cloud-clien-ui jetty:run', the project will create an applicationContext.xml ./client/tomcatconf/applicationContext.xml.in, so use
| Code Block |
|---|
sed -e 's/com.cloud.consoleproxy.ConsoleProxyManagerImpl/com.cloud.consoleproxy.StaticConsoleProxyManager/g' ./client/tomcatconf/applicationContext.xml.in -i
|
7. Restart the management server
6 8. Open the GUI, create a zone and add your secondary storage nfs://$NFS_IP/$NFS_EXPORT
7 9. Disable secondary storage and console proxy vms in the zone:
...
| Code Block |
|---|
updateZone id=1 details[0].key=enable.consoleproxy.vm details[0].value='False' details[1].key=enable.secstorage.vm details[1].value='False' |
710. Run the console proxy service:
...