09-20-2022 07:25 PM
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
Solved! Go to Solution.
09-20-2022 11:14 PM
>... Is is possible to execute commands like ncs stop while in bash?
No because that command is part of the ADE-OS shell that prime runs when logged on , Prime VM is considered an appliance, installing VMware tools is not supported (but there is no basic harm when doing that).
M.
09-20-2022 11:14 PM
>... Is is possible to execute commands like ncs stop while in bash?
No because that command is part of the ADE-OS shell that prime runs when logged on , Prime VM is considered an appliance, installing VMware tools is not supported (but there is no basic harm when doing that).
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide