-
Notifications
You must be signed in to change notification settings - Fork 34
Steps for upgrading SMLite and Provisioned Cluster
dgautam edited this page Sep 16, 2017
·
4 revisions
- Install new server-manager-installer
dpkg -i contrail-server-manager-installer_4.0.1.0-59~newton_all.deb
- Goto Installer Directory
cd /opt/contrail/contrail_server_manager
- Install SMlite with following options
./setup.sh --all --smlite --no-external-repos --hostip=<MGMT-IP-OF-Server-Manager>
-
Create image.json using following format.
{ "image": [ { "category": "package", "id": "image_contrail_cloud_package_4_0_0_0_20_newton_xenial", "parameters": { "contrail-container-package": true }, "path": "/root/contrail-cloud-docker_4.0.0.0-20-newton_xenial.tgz", "type": "contrail-ubuntu-package", "version": "4.0.0.0-20-newton_xenial" } ] }
-
Use following command to add new cloud image to SM database:
server-manager add image -f image.json
- Get cluster name
server-manager display cluster
- Issue Provision for the cluster with the new image-id
server-manager provision --cluster_id <cluster-id-from-above step> <image-id-from-step 4>