Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Below are general steps to deploy/un-deploy through Cloudify cli.

 

  1. Login to DCAE bootstrap container (alternatively you can install virtualenv on you local vm and proceed with steps below)

  2. Create a virtual python      environment for yourself for running cfy
    1. virtualenv <name>
    2. source ./<name>/bin/activate
    3. cd <name>
    4. pip install cloudify==3.4.0
    5. cfy init
    6. cfy use -t <CloudifyServer FQDN/IP>

 

      3. Copy the blueprint and inputs to your working directory

      4. Validate the blueprint 

        cfy blueprints validate -p <blueprintfilename>

       5. Install through cloudify

        cfy install -p <blueprintfilename> -b <blueprint_id> -d <deployment_id> -i <input_file>
        Example : 
               cfy install -p ves.yaml -b vescollector -d vescollector   -i  ves-ip.yaml

6. For undeploy, specify the deployment name to undeploy

 cfy uninstall -d <deployment_id>
Example :
        cfy uninstall -d vescollector -v

7. You can check the docker host to see more on the Application container/logs

8. After you are done, exit from the virtual environment

deactivate

 

  • No labels