Modifying the apache, Modifying the apache http – HP 3PAR System Reporter Software User Manual
Page 129

The SMTP location for sending email for scheduled reports is in:
/var/www/cgi-bin/3par-rpts/config.tcl
Modifying the Apache HTTP Server Configuration Files
You must modify the Apache HTTP Server config.tcl files located in the 3par-policy and
3par-rpts
subdirectories whenever you change MySQL user names and passwords.
1.
Go to the Apache HTTP server cgi-bin directory and locate the 3par-policysubdirectory
(for example: C:\Program Files\ApacheGroup\Apache2\cgi-bin\3par-policy).
2.
In the 3par-policy subdirectory, locate the config.tclfile (for example, C:\Program
Files\Apache Software Foundation\Apache2.2\cgi-bin\3par-policy\
config.tcl
) and open with a text editor.
3.
At the bottom of the file, alter the appropriate fields as necessary.
# Select the type of database (sqlite, mysql, oracle or mssql):
set Sysdb::dbtype <oracle,mysql,mssql,sqlite>set Sysdb::dbhost <TNS Names in
oracle,hostname in mysql,dsn name in mssql>
# Enter database name
set Sysdb::dbname <Schema name in oracle,db name in mysql and usename in MSSQL>
# Enter database user name and password
set Sysdb::dbuser cliuser
set Sysdb::dbpasswd "cliuser"
4.
Save the changes and close the file.
5.
Go to the Apache HTTP server cgi-bin directory and locate the 3par-rpts subdirectory
(for example, (for example, C:\Program Files\ApacheGroup\Apache2\cgi-bin\
3par-rpts)
.
6.
In the 3par-rpts subdirectory, locate the config.tcl file (for example, C:\Program
Files\Apache Software Foundation\Apache2.2\cgi-bin\3par-rpts\
config.tcl)
and open with a text editor.
7.
At the bottom of the file, alter the appropriate fields as necessary.
# Select the type of database (sqlite, mysql, oracle or mssql):
set Sysdb::dbtype oracle
set Sysdb::dbhost istat
# Enter database name
set Sysdb::dbname <Schema name in oracle,db name in mysql and user name in MSSQL>
# Enter database user name and password
set Sysdb::dbuser webuser
set Sysdb::dbpasswd "webuser"
Modifying the Apache HTTP Server Configuration Files
129