Quantcast
Channel: Symantec Connect - Storage and Clustering - Discussions
Viewing all articles
Browse latest Browse all 543

Creating an application under VCs

$
0
0
I need a solution

Hi,

If I need to create a script and need to run under VCS.  Do I need to follow any format? Or can I create the resource under application and just run  it  like below? Or do I need to follow VCS framework?

 

 

Here is the sample main.cf

 

Application   App_Testing (
         StartProgram = "/etc/VRTSvcs/app_online"
         StopProgram = "/etc/VRTSvcs/app_offline"

 

Here are the script.       

cat /etc/VRTSvcs/app_online

#!/bin/bash

#Start daemon
/opt/app/script/appscript start

cat /etc/VRTSvcs/app_offline
#!/bin/bash

#Start daemon
/opt/app/script/appscript stop


Viewing all articles
Browse latest Browse all 543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>