You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Test with source code release

This is test procedure for Apache CloudStack 4.0 source release. Everyone is welcome to have a test with the forthcoming 4.0 release.

To setup an environment for CloudStack, usually it will take a while, e.g install a hypervisor host, install Mysql server etc. Here we'll use DevCloud(http://wiki.cloudstack.org/display/COMM/DevCloud) to simplify the test procedure. 

Setup environment

1. Install devcloud

2. Install development tools

3. Download source code

4. Compile

  • mvn -P deps
  • ant clean-all build-all

5. Deploy into DevCloud

  • ant rdeploy
  • ant rdeploydb

6. Start CloudStack management server

  • ant rdebug

6. Configure CloudStack management server

  • Access web UI: http://localhost:8080/client
  • Login with admin/password
  • Choose "I have used cloudstack before, skip this guide"
  • Click "Infrastrucre", click "zone", "add zone"
  • select "basic zone" during the add zone wizard.
  • type name "test cloud", dns1 "8.8.8.8", internal dns1 "10.0.2.3", hypervisor "Xenserver", select "local storage enabled", then click next.
  • skip "physical network setup" page
  • in "pod" page, type: reserved system gateway: 10.0.2.2, reserved system mask: 255.255.255.0, start reserved system ip: 10.0.2.200, end reserved system ip: 10.0.2.220
  • in "guest traffic" page, guest gateway: 10.0.2.2, netmask: 255.255.255.0, guest start ip: 10.0.2.100, guest end ip: 10.0.2.199
  • in "cluster" page, type cluster name: "test cloud"
  • in "host " page, host name: 10.0.2.15, user name: root, password: password
  • in "secondary storage" page, server: 10.0.2.15, path: /opt/storage/secondary
  • In "zone creation comple", select "yes" to enable zone.
  • No labels