10. Offline Deploy¶
Compass4nfv uses a repo docker container as distro and pip package source to deploy cluster and support complete offline deployment on a jumphost without access internet. Here is the offline deployment instruction:
10.1. Preparation for offline deploy¶
- Download compass.tar.gz from OPNFV artifacts repository (Search compass4nfv in http://artifacts.opnfv.org/ and download an appropriate tarball. Tarball can also be generated by script build.sh in compass4nfv root directory.)
- Download the Jumphost preparation package from our httpserver. (Download the jumphost environment package from here. It should be awared that currently we only support ubuntu trusty as offline jumphost OS.)
- Clone the compass4nfv code repository.
10.2. Steps of offline deploy¶
- Copy the compass.tar.gz, jh_env_package.tar.gz and the compass4nfv code repository to your jumphost.
- Export the local path of the compass.tar.gz and jh_env_package.tar.gz on jumphost. Then you can perform deployment on a offline jumphost.
E.g.
Export the compass4nfv.iso and jh_env_package.tar.gz path
# ISO_URL and JHPKG_URL should be absolute path
export ISO_URL=file:///home/compass/compass4nfv.iso
export JHPKG_URL=file:///home/compass/jh_env_package.tar.gz
- Open the OSA offline deployment switch on jumphost.
export OFFLINE_DEPLOY=Enable
- Run deploy.sh
./deploy.sh