-
Notifications
You must be signed in to change notification settings - Fork 0
Cloudify Manager
The section describes how to deploy the Cloudify Manager. There are 2 ways - use preinstalled image (for KVM and Amazon EC2), or deploy all necessary components with the installer on your own existing CentOS 7.x host (virtual or physical machine, based on your preferences). Detailed documentation of the installation is on the project web.
We'll briefly present a local deployment via installer, as it gives us more control over the final state.
It's a 4 steps process:
- Download and install the installer
- Customize the installation
- Install the Cloudify Manager
- Validation
Download and install RPM package with the installer
wget http://repository.cloudifysource.org/cloudify/18.2.28/community-release/cloudify-manager-install-community-18.2.28.rpm
rpm -ivh cloudify-manager-install-community-18.2.28.rpm
If the URL isn't valid anymore, please check the current downloads for Cloudify Community Manager Images.
The configuration /etc/cloudify/config.yaml
might be modified to meet your requirements on the deployment.
Minimal set of required parameters:
- manager.public_ip: (put public IP of the host)
- manager.private_ip: (put public IP of the host)
Note: IPs and initial password for administrator's password can be also specified on the installer command line. If these are your only configuration changes, proceed with the installation in next section.
Customizing the security parameters is necessary for the production deployment. If no custom password is specified for the Administrator account, it's automatically generated and provided after the installation.
- manager.ssl_enabled: true
- manager.security.admin_username: 'admin'
- manager.security.admin_password: (put secure password)
- rabbitmq.username: 'cloudify'
- rabbitmq.password: (put secure password)
If you have own SSL certificate you want to use, provide the paths in relevant parameters below:
- ssl_inputs.external_cert_path
- ssl_inputs.external_key_path
- ssl_inputs.internal_cert_path
- ssl_inputs.internal_key_path
- ssl_inputs.ca_cert_path
- ssl_inputs.ca_key_path
- ssl_inputs.ca_key_password
Install Cloudify Manager:
cfy_manager install
or
cfy_manager install --public-ip 1.2.3.4 --private-ip 1.2.3.4
and install common plugins:
cfy plugins bundle-upload
Successful installation should finish with a similar message:
...
2018-07-23 22:04:18,245 - [MAIN] - NOTICE - Cloudify Manager successfully installed!
2018-07-23 22:04:18,340 - [MAIN] - NOTICE - Manager is up at http://1.2.3.4
2018-07-23 22:04:18,341 - [MAIN] - NOTICE - ##################################################
2018-07-23 22:04:18,341 - [MAIN] - NOTICE - Manager password is **********
2018-07-23 22:04:18,341 - [MAIN] - NOTICE - ##################################################
2018-07-23 22:04:18,341 - [MAIN] - NOTICE - To install the default plugins bundle run:
2018-07-23 22:04:18,341 - [MAIN] - NOTICE - 'cfy plugins bundle-upload'
2018-07-23 22:04:18,341 - [MAIN] - NOTICE - ##################################################
2018-07-23 22:04:18,342 - [MAIN] - NOTICE - Finished in 4 minutes and 34 seconds
You can also check a state of the Cloudify Manager services by running cfy status
, e.g.:
cfy status
Retrieving manager services status... [ip=myhost.mydomain.com]
Services:
+--------------------------------+---------+
| service | status |
+--------------------------------+---------+
| Cloudify Composer | unknown |
| Logstash | running |
| Webserver | running |
| Cloudify Stage | running |
| InfluxDB | running |
| AMQP InfluxDB | running |
| RabbitMQ | running |
| Celery Management | running |
| PostgreSQL | running |
| Manager Rest-Service | running |
| Riemann | running |
+--------------------------------+---------+
Note: Cloudify Composer is commercial component, it's expected not to be installed / running.