Versions Compared

Key

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

...

You will need a CloudStack management server that is already deployed, configured and ready to accept API calls. You can pick any management server in your lab that has a few VMs running on it or you can use DevCloud or the simulator environment deployed for a checkin test #checkin. Create a sample json config file demo.cfg telling marvin where your management server and database server are.

The demo.cfg json config looks as shown below:

Code Block
titlean example environment definition
{
    "dbSvr": {
        "dbSvr": "marvin.testlab.com",
        "passwd": "cloud",
        "db": "cloud",
        "port": 3306,
        "user": "cloud"
    },
    "logger": {
         "LogFolderPath": "/tmp/"
    },
    "mgtSvr": [
        {
            "mgtSvrIp": "marvin.testlab.com",
            "port": 8096,
            "user": "root",
            "passwd": "password",
            "hypervisor": "XenServer",
        }
    ]
}

...

- open up the integration.port on your management server as root user.

Code Block
languagebash
titleopen access to your management server
$ sudo iptables -I INPUT -p tcp

...

 --dport 8096 -j ACCEPT

- Change the global setting integration.api.port on the CloudStack GUI to 8096 and restart the management server

...