Skip to content

Deployment

Vlastimil Holer edited this page Jul 24, 2018 · 12 revisions

Provided Makefile offers various targets to automate the standalone and advanced, Cloudify Manager serviced, deployment. You nearly don't need to directly deal with the Cloudify CLI (cfy). If all requirements are met, the deploy is just one simple command.

Access to the gromacs portal repository

The deployment includes checkout of the gromacs portal repository. Make sure you are granted access and that a registered ssh key is used.

Eventually, a clone of the portal repository can be injected as resources/gromacs-portal.

Standalone

Note: If x509 VOMS authentication is used, you need to have a valid certificate in the path specified by occi_user_cred in the inputs file.

  • make cfy-deploy - deploy portal environment
  • make cfy-undeploy - destroy portal environment

On successful deployment, you get a JSON structure with the Gromacs portal endpoint by running:

  • make cfy-outputs

Advanced (Cloudify Manager)

First, you need to specify the Cloudify Manager server:

non-SSL connection

cfy profile use 1.2.3.4 -u admin -p ${password} -t default_tenant

SSL secured connection

The SSL certificate of the remote server need to be provided as a file path:

cfy profile use 1.2.3.4 -u admin -p ${password} -t default_tenant \
    --ssl -c ${ssl_cert_path}

Note: If x509 VOMS authentication is used, you need to have a valid certificate in the path specified by occi_user_cred in the inputs file on Cloudify Manager host not only for initial deploy but all time while the deployment is alive!

  • make cfm-deploy - deploy portal environment
  • make cfm-undeploy - destroy portal environment
  • make cfm-scale-out - manually scale out worker nodes (+1)
  • make cfm-scale-in - manually scale in worker nodes (-1)

On successful deployment, you get a JSON structure with the Gromacs portal endpoint by running:

  • make cfm-outputs