cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
289
Views
5
Helpful
1
Replies

Prime: execute "ncs stop" from shell

Stefan Engel
Beginner
Beginner

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

1 Accepted Solution

Accepted Solutions

marce1000
VIP Mentor VIP Mentor
VIP Mentor

 

                  >... 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.

View solution in original post

1 Reply 1

marce1000
VIP Mentor VIP Mentor
VIP Mentor

 

                  >... 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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers