This article offers the detailed process on how to effectively shut down and start up VCF Operations for Networks deployments, in connection with maintenance activities. Such maintenance activities may include following:
Before doing any of these maintenance activities, the virtual machine snapshot process must be used to provide a revert point, in case something goes wrong during the maintenance activity.
Obtaining revert point(s) is done via the virtual machine snapshot technique, by taking snapshots while the VM is in a powered off state.
For a simple deployment (one platform node), the process is simple -- the platform node and any collector node(s) are shut down and revert point(s) taken using the virtual machine snapshot technique.
For a clustered deployment (more than one platform node), the script attached to this KB article must be used to shut the VMs down before creating the revert points using the virtual machine snapshot technique.
The script attached in this KB is applicable for ALL VCF Operations for Networks deployments, unless you are using Aria Suite Lifecycle (vRSLCM) version 8.18 patch 5 specifically.
NOTE: VCF Operations for Networks was formerly named Aria Operations for Networks (AON), and prior to that was named vRealize Network Insight (vRNI).
Follow the steps below, in the exact sequence. Do not skip any steps and do not introduce any steps that are not stated.
Filename, size and checksum values details:
Filename: vrni-cluster-shutdown-script.sh
File size: 14.5 KB
Checksum Values:
MD5: EAD841F0AF75CEE0D2C4DFEBE19BDB24
SHA-1: E5E1FA7DECCA25FDA9188FAE5ED0B182DDA1966E
SHA-265: 257DF2738CC48DD3F880F2E725A681952F9D305AF36CE00868E944373A313C2F
To obtain the checksum values for what you have downloaded, use any one of the below commands :
Type md5sum followed by the file name
Press Enter
The md5sum of the file will be displayed
or
Type sha1sum followed by the file name
Press Enter
The sha1sum sum of the file will be displayed
or
Type sha256sum followed by the file name
Press Enter
The sha256sum sum of the file will be displayed
scp (Secure Copy Protocol) command or any other secure file transfer method to copy the script to the platform 1 node in the directory /home/support..scp:scp vrni-cluster-shutdown-script.sh support@<platform1-IP>:/home/support/
The above example will request the password which will be the support user password.
Alternatively, WinSCP tool can be used to copy the file to Platform1 under location /home/support.
ub command to change from the support user to the ubuntu user.Enter the command sudo mv /home/support/vrni-cluster-shutdown-script.sh /home/ubuntu/vrni-cluster-shutdown-script.sh.sudo chown ubuntu:ubuntu vrni-cluster-shutdown-script.sh.sudo chmod +x vrni-cluster-shutdown-script.sh../vrni-cluster-shutdown-script.sh shutdown 127.0.0.1 "/home/ubuntu/vrni-cluster-shutdown-script$(date +%s).log"
NTP is NOT-IN-SYNC. Retrying in [1/36[ with [signal], this is expected behavior as NTP service is masked when script was executed in step 7 above. No Action is needed to correct NTP, proceed to start the services on all the platforms using the command below: ./vrni-cluster-shutdown-script.sh start-services 127.0.0.1 "/home/ubuntu/vrni-cluster-shutdown-script$(date +%s).log"
./vrni-cluster-shutdown-script.sh start-services 127.0.0.1 "/home/ubuntu/vrni-cluster-shutdown-script$(date +%s).log"
Important Notes: