Before running the installation program, you must create a policy database and administrative user. If you choose not to accomplish this using the DBConfig tool, you may do so manually. This appendix describes the manual steps in the following sections:
sqlplus
dba
/password
@ASERVER
dba
— username to access the databasepassword
— database administrator passwordASERVER
— name of the Oracle service (as defined in tnsnames.ora
).
SQL>connect sys as sysdba
SQL>create tablespace DATA datafile ‘C:/Oracle/oradata/ASI/data.dbf’
size 10M autoextend on next 1M MAXSIZE 250M;
SQL>create role
asi_role
;
SQL>grant create session to
asi_role
;
SQL> grant create table toasi_role
;
to asi_role;
SQL> grant create sequenceSQL>
grant create trigger to asi_role;
where asi_role
is the new role.
This automatically uses the default tablespaces generated when Oracle was installed, but you can specify and use any tablespaces.
SQL> create user
username
identified by
password
SQL>default tablespace
DATA quotaunlimited
on DATA;
username
— username of the new ALES administrative userpassword
— password to assign to the new user accountunlimited
— size of the tablespace (shown here as set to unlimited).
conn sys as sysdba
;grant
asi_role
tousername
;commit
;
In this case, you grant SELECT
permission to the new administrative user. The Oracle database server does not allow you to grant the permission to the asi_role
. This dynamic view is used to check whether one of the tables is currently being accessed. Therefore, the SELECT
permission is required.
After performing these steps, the Administration Server may be installed as described in Installation.
To install the Administration Server with Sybase, you must first create the policy database and a ALES administrative user account.
Note: | It is strongly recommended that you not use the dbo of the policy database as the policy owner. This requires additional database configuration beyond the scope of this guide. |
Please refer to Creating Sybase Database Devices if you have not already created the required database devices asi_data_dev
and asi_log_dev
as shown in this section.
To set up a policy database and the ALES administrative user, perform these steps:
isql -Usa -S
server_name
where server_name
is the database server name.
1>use master
2>go
1>create databasedatabase_name
onasi_data_dev
= 250
log onasi_log_dev
= 250
2>go
database_name
— name of the new databaseasi_data_dev
— data device nameasi_log_dev
— log device name
Note: You may use a larger minimum database size if needed.
isql
command prompt:1>use master
2>go
1>sp_dboptionss
policy, "select into/bulkcopy"
,true
2>go
1>sp_dboptionss
policy, "abort tran on log full", true
2>go
1>sp_dboptionss
policy, "trunc log on chkpt", true
2>go
1>sp_dboptionss
policy, "trunc. log on chkpt.", true
2>go
Note: | For development databases, set the trunc log on chkpt option to false if periodic dump transactions are not required. For production databases, set this option to true to back up and truncate the database and transaction logs. |
isql
command prompt:1>use master
1>
2>gosp_addlogin asi,
password
,
database_name
, null, "asi login"
2>go
password
— ALES administrative user password, at least six alphanumeric characters or other characters allowed by Sybase
database_name
— name of the Oracle Entitlements Server database. If an asi
login already exists, use the sp_modifylogin
command to set its default database to database_name
.
isql
command prompt:1>use
ss
policy
2>go
1>sp_adduser asi
2>go
isql
command prompt:1>use
ss
policy
2>go
1>grant all to asi
2>go
After performing these steps, the Administration Server may be installed as described in Installation.
To install the Administration Server with Microsoft SQL Server, first create the policy database and a ALES administrative user account. This section describes how to do this.
Note: | Microsoft SQL Server JDBC drivers are not shipped with OES. OES uses the MSSQL 2005 JDBC driver for connectivity to both MSSQL 2000 and MSSQL 2005. You can find this driver on the Microsoft download site. |
Figure 5-1 shows that a database named asiadmin
has been created.
After performing these steps, the Administration Server may be installed as described in Installation.
To install Administration Server with PointBase 5.1, first create the policy database and a OES user account. This section describes how to do this.
To create the database and Administration Server user, perform the following steps:
startPointbase.cmd/sh
script located in Weblogic_Home/common/eval/pointbase/tools
.startPoinyBaseConsole.cmd/sh
script located in Weblogic_Home/common/eval/pointbase/tools
.
Make sure the database is up when installing the Administration Server, because the installer connects to the database and installs ALES-related tables.
After performing these steps, the Administration Server may be installed as described in Installation.
To install Administration Server with DB 2, first create the policy database and a ALES administrative user account. This section describes how to do this.
To create the database and ALES administrative user, perform the following steps:
CREATE DATABASE ALES AUTOMATIC STORAGE YES ON 'D:\' DBPATH ON 'D:\' USING CODESET GBK TERRITORY CN COLLATE USING SYSTEM PAGESIZE 16384;
applheapsz
) to allow a larger application heap (from 256 to 512). The step also can be done by DB2 Control Centre.Note: | The password of the system account must satisfy DB2 requirements (such as a combination of numbers and letters) or creation of the DB user will fail. |
After performing these steps, the Administration Server may be installed as described in Installation.