Skip to content

Commit

Permalink
add things about mysql connector and deploying datacenter using marvin
Browse files Browse the repository at this point in the history
  • Loading branch information
rohityadavcloud committed Nov 30, 2012
1 parent 04ef27d commit 8f710d1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions _posts/2012-11-27-devcloud.markdown
Expand Up @@ -104,6 +104,8 @@ $ cd incubator-cloudstack
$ mvn clean install -P developer,systemvm
# Deploy database:
$ mvn -pl developer,tools/devcloud -Ddeploydb -P developer
# Export the following only if you want debugging on port 8787
$ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=800m -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
# Run the management server:
$ mvn -pl client jetty:run
# In Global Settings check `host` to 192.168.56.1 (or .10 if inside DevCloud)
Expand All @@ -114,6 +116,16 @@ $ mvn -pl client jetty:run
# importing more appliances and changing default IPs and reboot!
</pre>

Make sure your mgmt server is running and you may deploy a basic zone using
preconfigured settings in `tools/devcloud/devcloud.cfg`:

<pre class="prettyprint">
$ mvn -P developer -pl tools/devcloud -Ddeploysvr
# Or in case mvn fails try the following, (can fail if you run mgmt server in debug mode on port 8787)
$ cd tools/devcloud
$ python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
</pre>

##DIY DevCloud

Install VirtualBox and get the [Debian Wheezy
Expand All @@ -140,6 +152,12 @@ $ mysql -u root -p
> exit;
</pre>

Install MySQL Python connector 1.0.7 or latest:
<pre class="prettyprint">
$ pip install mysql-connector-python
# Or, if you have easy_install you can do: easy_install mysql-connector-python
</pre>

Setup Xen and XCP/XAPI:

<pre class="prettyprint">
Expand Down

0 comments on commit 8f710d1

Please sign in to comment.