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

Creating the Oracle Net Service, Modifying the Apache HTTP, Server Configuration Files

Page 41 highlights

user names and passwords for the cliuser and the webuser. See "Modifying the Apache HTTP Server Configuration Files" (page 125) for instructions on editing these config.tcl files if you change the Oracle usernames and passwords at a later time. To create the users, open the Oracle Enterprise Manager for the database in a web browser. When you create the database in section "Creating an Oracle database" (page 40), a link to the Oracle Enterprise Manager URL for the database would typically have been added to the Windows programs submenu for Oracle. 1. At the login screen for the Oracle Enterprise Manager login as SYSTEM with the password for the SYSTEM user. 2. Click the link (or tab) for Server. 3. Under Security, click the link for Users. 4. Click the Create button. 5. In the create user screen, enter the user name cliuser along with the password. Select a default and temporary tablespace, select Unlocked for the status. 6. Click the link (or tab) for Roles. 7. The cliuser needs to have the CONNECTION and RESOURCE roles. The CONNECTION role should be there by default, otherwise add it along with the RESOURCE role by clicking the Edit List button and adding RESOURCE and/or CONNECTION and clicking OK. The cliuser should also have the CREATE TABLE role. 8. Click OK to create the cliuser user. Repeat the steps above to create the webuser user as well. The webuser needs SELECT privileges for all the tables in the cliuser schema. System Reporter will automatically grant SELECT privileges to the webuser when it creates the tables. NOTE: To improve performance, System Reporter runs the dbms_stats utility in Oracle. Please grant execute permission for this utility in Oracle. NOTE: System Reporter 3.1 logs more information for debugging purposes. It uses two Oracle views v$instance and v$version. Please grant permissions to these views for the user that sets the policy settings. Creating the Oracle Net Service You need to create an Oracle Net Service on the host on which the System Reporter will be installed. This is used by the System Reporter sampler and the web CGI programs to connect to the Oracle database. 1. Install the Oracle Client (the Runtime version is sufficient) on the host. This should include the Net Configuration Assistant under the Oracle client program menu. 2. Start the Net Configuration Assistant. 3. Select the Local Net Service Name Configuration radio button and click Next. 4. Select the Add radio button and click Next. 5. Enter the service name for the database according to the directions and click Next. 6. Select TCP protocol and click Next. 7. Enter the host name for the database server along with the appropriate port number and click Next. 8. Select Yes, perform a test and click Next. The test may fail if the default user and password are not set. Click the Change Login button and enter cliuser and password and click OK. The test should succeed. Click Next. 9. Enter a net service name. This is the name you will need to enter when installing the System Reporter tools. Click Next. 10. Follow instructions to complete the net service configuration and exit the program. Installing the Database Server 41

  • 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

user names and passwords for the
cliuser
and the
webuser
. See
“Modifying the Apache HTTP
Server Configuration Files” (page 125)
for instructions on editing these
config.tcl
files if you
change the Oracle usernames and passwords at a later time.
To create the users, open the
Oracle Enterprise Manager
for the database in a web browser. When
you create the database in section
“Creating an Oracle database” (page 40)
, a link to the
Oracle
Enterprise Manager
URL for the database would typically have been added to the Windows
programs submenu for Oracle.
1.
At the login screen for the
Oracle Enterprise Manager
login as SYSTEM with the password for
the SYSTEM user.
2.
Click the link (or tab) for
Server
.
3.
Under
Security
, click the link for
Users
.
4.
Click the
Create
button.
5.
In the create user screen, enter the user name
cliuser
along with the password. Select a default
and temporary tablespace, select
Unlocked
for the status.
6.
Click the link (or tab) for
Roles
.
7.
The cliuser needs to have the
CONNECTION
and
RESOURCE
roles. The
CONNECTION
role
should be there by default, otherwise add it along with the
RESOURCE
role by clicking the
Edit List
button and adding
RESOURCE
and/or
CONNECTION
and clicking
OK
. The
cliuser
should also have the
CREATE TABLE
role.
8.
Click
OK
to create the
cliuser
user.
Repeat the steps above to create the
webuser
user as well. The
webuser
needs SELECT
privileges for all the tables in the
cliuser
schema. System Reporter will automatically grant
SELECT privileges to the
webuser
when it creates the tables.
NOTE:
To improve performance, System Reporter runs the
dbms_stats
utility in Oracle.
Please grant execute permission for this utility in Oracle.
NOTE:
System Reporter 3.1 logs more information for debugging purposes. It uses two
Oracle views
v$instance
and
v$version
. Please grant permissions to these views for the
user that sets the policy settings.
Creating the Oracle Net Service
You need to create an Oracle Net Service on the host on which the System Reporter will be installed.
This is used by the System Reporter sampler and the web CGI programs to connect to the Oracle
database.
1.
Install the Oracle Client (the Runtime version is sufficient) on the host. This should include the
Net Configuration Assistant
under the Oracle client program menu.
2.
Start the
Net Configuration Assistant
.
3.
Select the
Local Net Service Name Configuration
radio button and click
Next
.
4.
Select the
Add
radio button and click
Next
.
5.
Enter the service name for the database according to the directions and click
Next
.
6.
Select
TCP
protocol and click
Next
.
7.
Enter the host name for the database server along with the appropriate port number and click
Next
.
8.
Select
Yes, perform a test
and click
Next
. The test may fail if the default user and password
are not set. Click the
Change Login
button and enter
cliuser
and password and click
OK
.
The test should succeed. Click
Next
.
9.
Enter a net service name. This is the name you will need to enter when installing the System
Reporter tools. Click
Next
.
10. Follow instructions to complete the net service configuration and exit the program.
Installing the Database Server
41