Skip to content

Getting Started

Rohit Yadav edited this page Mar 14, 2019 · 12 revisions

First steps

The default server profile has the name localcloud with defaults (such as url and credentials) set to a locally running CloudStack server. Start cmk, create a new server profile, configure your CloudStack server's API endpoint and run sync, for example:

$ cmk
Apache CloudStack 🐵 CloudMonkey 6.0.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues

(localcloud) 🐱 > set profile mycloud
Loaded server profile: mycloud
Url:         http://localhost:8080/client/api
Username:    admin
Domain:      /
API Key:     
Total APIs:  595    

(mycloud) 🐱 > set url http://myprovider.cloud/client/api
(mycloud) 🐱 > set username myusername
(mycloud) 🐱 > set password mypassword
(mycloud) 🐱 > sync
Discovered 610 APIs

You can also use the set command to set the various server profile specific options. The cloudmonkey configuration is stored at ~/.cmk/config file. The ~/.cmk directory also contains the API cache at ~/.cmk/profiles.

Clone this wiki locally