cancel
Showing results for 
Search instead for 
Did you mean: 

How to create and configure scripts registered with host agent ?

Former Member
0 Kudos

In custom provisioning, how to create and configure scripts registered with host agent , so it appears as a selectable scripts ?(Pls see the attached picture)

I have followed SAP Notes 1396981, but could not get the script to show on the list. Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193371
Participant
0 Kudos

Hi,

did you change the attributes of the script to "read only" and owned by root ?

chmod 755, chown root

How does it look like when you enter your hostname  when retrieving the scripts in LVM ?

Please send a picture of your operations.d folder using ls -al

The scripts have to be in /usr/sap/hostctrl/exe/operations.d

and it should look like this, including the naming.

-rwxr-xr-x 1 root   root    154 11. Jul 2013  acc_init_list.conf

-rwxr-xr-x 1 root   root    179 11. Jul 2013  acc_init_monitor.conf

-rwxr-xr-x 1 root   root    140 11. Jul 2013  acc_init_start.conf

-rwxr-xr-x 1 root   root    138 11. Jul 2013  acc_init_stop.conf

-rwxr-xr-x 1 root   root    663 25. Jan 2013  ASUIOperation.conf

-rwxr-xr-x 1 root   root     41 11. Jul 2013  initList.sh

-rwxr-xr-x 1 root   root    213 11. Jul 2013  initMonitor.sh


Michael

Former Member
0 Kudos

Thanks for your reply, Michael. Sorry,I am using windows instead of Linux.

Using the sample scripts, the script appeared as discovered customized instances

Where could I get the acc_init* script for windows ? Thank you.

former_member193371
Participant
0 Kudos

Ah, ok . With Windows your naming is correct. Only with Linux they are acc_init

Are the files read only and owned by the Administrator ?

If they are , please open a ticket, i don't have experience with the windows setup.

Kind Regards

Michael

Former Member
0 Kudos

Thank you Michael. Yes they are read only and own by Administrator.

Kind regards

Welly