cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Apache Resource on VCS 5.1 SP1 running on RHEL 5.7 x86_64

vikas027
Not applicable

Hi All,

I am unable to use the Apache resource type in my 60 day trial version Veritas Cluster Server 5.1 running on RHEL 5.7 x86_64.

I have used below commands to add Apache resource.

hares -add myhttp Apache httpsg
hares -modify myhttp ResLogLevel  INFO
hares -modify myhttp Port  80
hares -modify myhttp httpdDir  /etc/init.d
hares -modify myhttp ConfigFile  /etc/httpd/conf/httpd.conf
hares -modify myhttp Critical 0
hares -modify myhttp Enabled 1

 

Clearly, my binary is /etc/init.d/httpd and config file is /etc/httpd/conf/httpd.conf.


-- RESOURCES ONLINING
-- Group           Type            Resource             System               IState

F  httpsg          Apache          myhttp               box1                 W_ONLINE

The resource keeps itself in W_ONLINE state and then faults after some time

-- Group           Type                 Resource             System             

D  httpsg          Apache               myhttp               box1    


I am new to VCS, please help me out. Thanks in advance.

Regards,
Vikas

1 ACCEPTED SOLUTION

Accepted Solutions

g_lee
Level 6

/etc/init.d/httpd is probably a wrapper script to start apache

The httpdDir attribute specifies the directory for the httpd binary - if your config file is /etc/httpd/conf/httpd.conf, would expect the binary would probably be under /etc/httpd/bin

VCS is expecting the httpd binary, not a wrapper script, hence the agent cannot online the resource.

VCS 5.1 (Linux) Bundled Agents Reference Guide -> Service and Application Agents -> Apache Web server agent -> Attributes
https://sort.symantec.com/public/documents/sf/5.1/linux/html/vcs_bundled_agents/ch_lnx_services_app_agents7.html

If you are new to VCS, would recommend looking at https://sort.symantec.com/documents for documentation for your platform/version

(in particular, refer to the Product Guides - the VCS Bundled Agents Reference Guide and the VCS Administrator's Guide would probably be a good place to start)

View solution in original post

1 REPLY 1

g_lee
Level 6

/etc/init.d/httpd is probably a wrapper script to start apache

The httpdDir attribute specifies the directory for the httpd binary - if your config file is /etc/httpd/conf/httpd.conf, would expect the binary would probably be under /etc/httpd/bin

VCS is expecting the httpd binary, not a wrapper script, hence the agent cannot online the resource.

VCS 5.1 (Linux) Bundled Agents Reference Guide -> Service and Application Agents -> Apache Web server agent -> Attributes
https://sort.symantec.com/public/documents/sf/5.1/linux/html/vcs_bundled_agents/ch_lnx_services_app_agents7.html

If you are new to VCS, would recommend looking at https://sort.symantec.com/documents for documentation for your platform/version

(in particular, refer to the Product Guides - the VCS Bundled Agents Reference Guide and the VCS Administrator's Guide would probably be a good place to start)