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

Prime: execute "ncs stop" from shell

Stefan Engel
Level 1
Level 1

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

Mark Elsen
Hall of Fame
Hall of Fame

 

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



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

View solution in original post

1 Reply 1

Mark Elsen
Hall of Fame
Hall of Fame

 

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



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)