Upgrading the Inception Server
To upgrade the Inception Server, use the following configuration:
-
Login to the host, which has the Base OS installed.
-
Navigate to the /data/offline-cm folder.
NoteThe offline-cm folder was created while deploying the Inception Server. For more details, see Deploying the Inception Server section.
-
Remove the data folder.
rm -rf data
-
Fetch the desired tarball to the offline-cm folder. You can fetch the tarball either from the artifactory or copy it securely through the scp command.
/data/offline-cm$ wget --user [user] --ask-password [password] <repository_url>
In the following example, the tarball is fetched from the artifactory using basic authentication:
Example:
user1-cloud@testaio-cmts-control-plane:/data/offline-cm$ wget --user [test_user1] --password [user@123] <http://<repo_url>/cluster-deployer-2020-04-12.tar>
-
Untar the offline Cluster Manager tarball.
/data/offline-cm$ tar xvf <filename>
Example:
user1@testaio-cmts-control-plane:/data/offline-cm$ tar xvf cluster-deployer-2020-04-12.tar
-
Navigate to the deployer-inception folder which has the required charts and docker files.
/data/offline-cm/data$ cd deployer-inception/
Example:user1@testaio-cmts-control-plane:/data/offline-cm/data$ cd deployer-inception/
-
Run the following command to deploy the Inception Server.
./deploy --external-ip <external_ipaddress> --first-boot-password "<first_boot_password>"
Example:user1@testaio-cmts-control-plane:/data/offline-cm/data/deployer-inception$ ./deploy --external-ip <ipv4address> --first-boot-password "<first_boot_password>"
The following connection details is displayed on the console when the Inception Server setup completes:Connection Information ---------------------- SSH (cli): ssh admin@localhost -p <port_number> Files: https://files-offline.<ipv4address>.<domain_name> UI: https://deployer-ui.<ipv4address>.<domain_name> API: https://restconf.<ipv4address>.<domain_name>
-
Verify the list of the containers after the Inception Server is installed.
sudo docker ps
Example:
user@u20-inception-252:~/data/deployer-inception$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES de5dac28c575 //cluster_synchronizer:1.2.0-f000c25 "/usr/bin/npm run st…" 4 days ago Up 4 days smi-cluster-deployer_cluster_sync_1 f043cd13abaa //nginx:1.2.0-ff992e0 "/usr/local/bin/run-…" 4 days ago Up 4 days smi-cluster-deployer_ingress_1 0dee8eed93ef //metrics:1.2.0-9ae401f "python3 /usr/local/…" 4 days ago Up 4 days smi-cluster-deployer_metrics_1 eb1e13cf34e7 //confd_notifications:1.2.0-fe37e9e "/usr/local/bin/run-…" 4 days ago Up 4 days smi-cluster-deployer_confd_notifications_1 6a2a73827f38 //config_mgmt:1.2.0-61bfe40 "/usr/local/bin/run-…" 4 days ago Up 4 days smi-cluster-deployer_config_mgmt_1 079905616eba //cluster_offline_files:1.2.0-f42a431 "/usr/bin/supervisord" 4 days ago Up 4 days smi-cluster-deployer_cluster-offline-files_1 6453ec01a39f //confd:1.2.0-cc7013e "/usr/local/bin/uid_…" 4 days ago Up 4 days 0.0.0.0:443->443/tcp, :::443->443/tcp smi-cluster-deployer_confd_1 c3b45608d664 registry:2 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp
-
Stop and start the Inception Server to apply the configuration changes.
To stop the server:
cd /data/inception/ sudo ./stop
To start the server:
cd /data/inception/ sudo ./start
The following connection details is displayed on the console when Inception Server starts again:Connection Information ---------------------- SSH (cli): ssh admin@localhost -p <port_number> Files: https://files-offline.<ipv4address>.<domain_name> UI: https://deployer-ui.<ipv4address>.<domain_name> API: https://restconf.<ipv4address>.<domain_name>
NOTES:
-
external_ipaddress - Specifies the interface IP address that points to your Converged Interconnect Network (CIN) set up. It hosts the ISO and offline tars to be downloaded to the remote hosts.
-
first_boot_password - Specifies the first boot password. The first boot password is an user defined value.