Chef wrapper cookbook to install Apache Cloudstack using cloudstack cookbook. Installation examples and provide installation order of various CloudStack components.
In this wrapper example, if you want to install a CloudStack management server
with all dependencies such as installing MySQL server, system VM template for
XenServer, use cloudstack_wrapper::all_in_one
recipe.
cloudstack
- cloudstack cookbook provide libraries to install and configure CloudStack.mysql
- mysql cookbook is used to install MySQL server required by CloudStack.nfs
- nfs cookbook used for secondary storage and to import systemvm-templates.
Configure a CloudStack Management server which will contain:
- local MySQL server
- initialize CloudStack database
- setup nfs share:
/data/secondary
for the secondary storage - Download XenServer SystemVM template.
- Download vhd-util script.
- start cloudstack-management
- install and start cloudstack-usage
- Generate API keys for "admin"
Just include cloudstack_wrapper::all_in_one
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[cloudstack_wrapper::all_in_one]"
]
}
Same as all_in_one
but set the Global Setting system.vm.use.local.storage
to use Local Storage for System VMs.
- Install cloudstack-management
- Initialise cloudstack database on remote MySQL server.
- Download system vm template using remote NFS share.
- Start cloudstack-management
- Generage API keys for "admin".
Use Remote NFS share for Secondary Storage. Management server and cloudstack_usage locally.
Install management server, cloudstack_usage, and MySQL server and use remote NFS shares.
Install MySQL server with tuning required by CloudStack.
Configure NFS server to export Primary and Secondary Storages shares.
Fork it and customize it for your needs. Fill Github issues if you get into problems.
- Author:: Pierre-Luc Dion (pdion@cloudops.com)
Copyright:: Copyright (c) 2015 CloudOps.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.