Video Screencast Help

httpdDir attribute of Apache resource

Created: 31 Oct 2012 • Updated: 31 Oct 2012 | 2 comments
This issue has been solved. See solution.

Hi Experts,

I am using VCS 6.0 and Redhat 6.1.  I configured an Apache Servicegroup and I could able bring it up.  I am not facing any issue but want to check with you whether I have done  anything wrong or not.

The apache is installed bydefault  in /etc/httpd  dir on all my nodes.  That means Apache is using local storage. That's why I have not added mount and diskgourp resource in the Apache Servicegroup. I only added Apache resource, IP resource and NIC resource. Please let me know if it is not recommended?

 The Apache configuration file is /etc/httpd/conf/httpd.conf file. I specified this value for ConfigFile attribute of Apache resource. The bundled agent docs says following for the httpdDir attribute.

Full path of the Apache HTTP server binary file or full path of the directory in which the httpd binary file is located. Type and dimension: string-scalar Example: "/apache/server1/bin"

 I searched for the httpd binary and found that it is present in /usr/sbin. so I specified /usr/sbin as a value for httpdDir attribute of Apache resource . Is it correct? Actualy intially i was thinking that I should specify /etc/httpd value because it is home dir for Apache application.

Thanks a lot in advance.

Discussion Filed Under:

Comments 2 CommentsJump to latest comment

mikebounds's picture

See extract from VCS 6.0 bundled Agents guide:

Tasks to perform before you use the Apache HTTP server agent
Before you use this agent, perform the following tasks:
■ Install the Apache server on shared or local disks.
So it is fine to have Apache installed locally and if you have no shared storage then you don't require diskgroup and mount resources - see extract from VCS Admin guide
About shared nothing clusters
Systems in shared nothing clusters do not share access to disks; they maintain
separate copies of data. VCS shared nothing clusters typically have read-only data
stored locally on both systems. For example, a pair of systems in a cluster that
includes a critical Web server, which provides access to a backend database. The
Web server runs on local disks and does not require data sharing at the Web server
Your attribute values sound fine - in the examples in the bundled Agents guide, the binaries are in the Apache home directory, but if yours is not, then this is fine.

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below