Netbackup Cloudpoint Installation and uninstallation steps
Installation Steps:
1) Install Docker on linux setup.
https://help.veritas.com/vxhelp6/#/content?id=136496668-138126296-0%2Fv133632807-138126296&date=Tue%20Aug%2004%202020%2012:16:11%20GMT%200530%20(India%20Standard%20Time)
If u face issue in installation then make below change
Edit the /etc/selinux/config configuration file and modify the SELINUX parameter value to SELINUX=disable
2)Download CP build from here
Please use the CP builds from this location: http://artifactory-master.engba.veritas.com/artifactory/cloud-data-protect/flexsnap/9.0.1.0.<build#>/buildarea/ship/VRTScloudpoint-docker-9.0.1.0.<build#>.img.gz
3) Command to install cloudpoint docker
ex
wget --no-check-certificate https://artifactory-master.engba.veritas.com/artifactory/cloud-data-protect/flexsnap/9.0.1.0.9029/buildarea/ship/VRTScloudpoint-docker-9.0.1.0.9029.img.gz
3.a) docker load -i VRTScloudpoint-docker-9.0.1.0.<build#>.img.gz
3.b) docker run --rm -it -v /cloudpoint:/cloudpoint -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-cloudpoint:9.0.1.0.<build#> install
Command to uninstall cloudpoint docker:
docker run --rm -it -v /cloudpoint:/cloudpoint -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-cloudpoint:9.0.1.0.<build#> uninstall
For more details you can refer Veritas NetBackup™ CloudPoint Install and Upgrade Guide -
https://www.veritas.com/content/support/en_US/doc/140789355-141220024-0/v140791746-141220024
Trobleshooting:-
1) When you face issue regarding permission denied for cloudpoint directory then do settings as
Edit the /etc/selinux/config configuration file and modify the SELINUX parameter value to SELINUX=permissive
and then reboot system and again run the installation command.
How to deregister CP from existing NB master?
We just need to follow the below steps to deregister it.
First get the clientid using following command:
sudo
docker exec -it flexsnap-mongodb mongo --ssl --sslCAFile
/cloudpoint/keys/cacert.pem --sslPEMKeyFile
/cloudpoint/keys/mongodb.pem flexsnap-mongodb:
27017
/flexsnap --eval
"db.client.find()"
export clientid="df5d3675-2523-4e52-89b1-f24441e33304"
curl
-k -X POST -H 'Content-type: application/json' -H 'client: nbu' -H
'clientId:'$clientid'' -d '{"email": "admin" , "password":
"cloudpoint"}' -k https://localhost/cloudpoint/api/v4/idm/login/ -s > login
export token=`grep accessToken login | cut -d ":" -f 2 | cut -d "," -f 1 | xargs`
curl -X DELETE -H 'Content-type: application/json' -H "Authorization: Bearer $token" -k https://localhost:443/cloudpoint/api/v4/client/$clientid
Comments
Post a Comment