Hi,
We are running Prime on VM/ESXi. I'm trying to use the VMware tools shutdown scripts to ensure Prime services are stopped (ncs stop) before power-off the VM.
This is done by the following script
#!/bin/bash
ncs stop
sleep 5m
date >> /tmp/poweroff-vm.txt
The script get executed in bash/shell mode every time the VM is shut down from VCenter. Problem is that "ncs stop" isnt an option in bash.
Question: Is is possible to execute commands like ncs stop while in bash?
Thanks,
Stefan