Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
\[At present QuickCloud on DevCloud2 does not use any DHCP services\]
1. Get the DevCloud2 VM  up and running. 
2. Mount the secondary storage export from the DevCloud2 on to your laptop:

...

Code Block
echo "mount.path=/users/myhome/secondary-storage" >> conf/agent.properties
mvn exec:java 

In the console-proxy terminal,

Code Block
 
echo "paths.pid=." > conf/environment.properties
mvn exec:java -Pquickcloud

...

Edit conf/agent.properties and add

Code Block
zone=1 
#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

...

Edit conf/agent.properties and add

Code Block
zone=1 
# or actual zone id from management server database table datacenter
host=<ip of management server>
guid=ConsoleProxy.1

...

Code Block
INSERT INTO `data_center_details` (`dc_id`, `name`, `value`) VALUES
	(<zone id>, 'enable.consoleproxy.vm', 'False');
INSERT INTO `data_center_details` (`dc_id`, `name`, `value`) VALUES
	(<zone id), 'enable.secstorage.vm', 'False');

Alternatively, use CloudStack cloudmonkey CLI

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'

7. Run the console proxy service:

...