HP 3PAR StoreServ 7200 2-node HP 3PAR System Reporter 3.1.0 Software User& - Page 30

Installing the Database Server, Choosing the Appropriate Database, SQLite

Page 30 highlights

NOTE: System Reporter 2.9 and beyond supports secure connections on Apache servers using the SSL protocol. For details on implementing the SSL protocol on Apache servers, please consult the following links: http://httpd.apache.org/docs/2.2/ssl/ssl_intro.html http://httpd.apache.org/docs/2.2/ssl/ssl_howto.html http://httpd.apache.org/docs/2.1/ssl/ssl_faq.html Use the Apache HTTP Server Installation Wizard to complete a typical installation, accepting all defaults (with possibly the exception of the Administrator's Email address). To verify successful installation of Apache HTTP Server, open a Web browser and point it at the Web server (or localhost if the browser is on the same machine). If the installation was successful, you will see a message in the Web browser that confirms that your installation was successful. NOTE: On Linux, Apache should be configured to run as the default apache user and the sampleloop daemon will also be configured to run as the apache user. The default locations for html files (/var/www/html) and CGI files (/var/www/cgi-bin) should be used because the sysrptwebsrv package installs files in these directories. Please note that System Reporter has not been tested with virtual domains in Apache. NOTE: If Security Enhanced Linux (SELinux) is implemented at your site, you may need to either disable SELinux entirely or temporarily grant permissive access to the system to install the System Reporter tools. Please consult your Linux documentation for details on how to grant permissive access. NOTE: It is recommended that you increase the default Timeout parameter to at least 360 seconds (or more for installations with very large databases) in the appropriate apache configuration file (typically httpd.conf) and then restart apache to let this change take effect. This is to ensure that CGI calls that take a long time to generate a report do not timeout. On Windows, by default the Timeout parameter is specified in the following file: C:\Program Files\Apache Software Foundation\Apache2.2\conf\ httpd-default.conf On Linux, by default the Timeout parameter is specified in the following file: /etc/httpd/conf/httpd.conf Installing the Database Server System Reporter supports several database servers: Microsoft SQL, SQLite, MySQL and Oracle. Before beginning the installation, select the database based on the considerations described below and summarized in Table 5 (page 31). Choosing the Appropriate Database Before beginning, you want to choose the right database for your particular installation. SQLite SQLite is an embedded database that is included with System Reporter. It does not run as a separate application but rather as a module within the sampling tool and web server. Since it requires no installation or configuration, it is very simple to use but it has several limitations that make it only suitable for small database sizes and limited concurrency. SQLite supports only limited database concurrency because it relies on a single file lock for the entire database. The sampling process needs exclusive access to the database when inserting new samples. If the database is very large or if there are a large number of concurrent web requests, 30 Installation, Configuration, Update, and Removal

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231

NOTE:
System Reporter 2.9 and beyond supports secure connections on Apache servers using
the SSL protocol. For details on implementing the SSL protocol on Apache servers, please consult
the following links:
h
t
tp://h
t
tpd
.a
pac
he
.o
r
g/doc
s/2
.2/s
sl/s
sl_in
tr
o
.h
tml
h
t
tp://h
t
tpd
.a
pac
he
.o
r
g/doc
s/2
.2/s
sl/s
sl_h
o
wt
o
.h
tml
h
t
tp://h
t
tpd
.a
pac
he
.o
r
g/doc
s/2
.
1/s
sl/s
sl_f
aq.h
tml
Use the
Apache HTTP Server Installation Wizard
to complete a typical installation, accepting all
defaults (with possibly the exception of the Administrator’s Email address).
To verify successful installation of Apache HTTP Server, open a Web browser and point it at the
Web server (or
localhost
if the browser is on the same machine).
If the installation was successful, you will see a message in the Web browser that confirms that
your installation was successful.
NOTE:
On Linux, Apache should be configured to run as the default
apache
user and the
sampleloop daemon will also be configured to run as the
apache
user. The default locations for
html files (
/var/www/html
) and CGI files (
/var/www/cgi-bin
) should be used because the
sysrptwebsrv package installs files in these directories.
Please note that System Reporter has not been tested with virtual domains in Apache.
NOTE:
If Security Enhanced Linux (SELinux) is implemented at your site, you may need to either
disable SELinux entirely or temporarily grant permissive access to the system to install the System
Reporter tools. Please consult your Linux documentation for details on how to grant permissive
access.
NOTE:
It is recommended that you increase the default
Timeout
parameter to at least 360
seconds (or more for installations with very large databases) in the appropriate apache configuration
file (typically
httpd.conf
) and then restart apache to let this change take effect. This is to ensure
that CGI calls that take a long time to generate a report do not timeout.
On Windows, by default the Timeout parameter is specified in the following file:
C:\Program Files\Apache Software Foundation\Apache2.2\conf\
httpd-default.conf
On Linux, by default the Timeout parameter is specified in the following file:
/etc/httpd/conf/httpd.conf
Installing the Database Server
System Reporter supports several database servers: Microsoft SQL, SQLite, MySQL and Oracle.
Before beginning the installation, select the database based on the considerations described below
and summarized in
Table 5 (page 31)
.
Choosing the Appropriate Database
Before beginning, you want to choose the right database for your particular installation.
SQLite
SQLite is an embedded database that is included with System Reporter. It does not run as a separate
application but rather as a module within the sampling tool and web server. Since it requires no
installation or configuration, it is very simple to use but it has several limitations that make it only
suitable for small database sizes and limited concurrency.
SQLite supports only limited database concurrency because it relies on a single file lock for the
entire database. The sampling process needs exclusive access to the database when inserting new
samples. If the database is very large or if there are a large number of concurrent web requests,
30
Installation, Configuration, Update, and Removal