Prerequisites for the Oracle database setup
This topic describes the prerequisites for the Oracle database setup.
- Required schemas
- Other database requirements
- Supported scenarios for secondary BMC Server Automation sites
Required schemas
You need the following schemas for Oracle:
- Portal content store
- Reports data warehouse
- ETL (ODI) master repository
- ETL (ODI) work repository
Other database requirements
Ensure that the Oracle databases meet the following requirements:
- The recommended setting for the NLS_LENGTH_SEMANTICS parameter for the reports data warehouse schema is CHAR.
- Customers using non-English databases (such as Asian customers) should use the nchar character set. Customers using English databases (such as LATIN-1) can use the char character set.
- The reports data warehouse schema type must align with the
- If you have one or more databases using the char schema, the reports data warehouse must use the char schema.
- If you have one or more database using nchar schema, the reports data warehouse must use the nchar schema.
- If you have multiple
See the instructions in To determine the schema being used by the BMC Server Automation database for the schema being used by the database.
See the instructions in To determine the schema being used by the BMC BladeLogic Decision Support for Server Automation databasefor the schema being used by the reports data warehouse. databases and some use char and others use nchar schema, the reports data warehouse must use nchar schema.
database in one of the following ways: - The character set of the schema type must match. For example, if the database uses LATIN-1, the data warehouse must use the same character set or its subset character set. If the database uses AL32UTF8, the data warehouse must use the same character set or its subset character set.
- If you are using nchar schema, you must use a Unicode value of AL16UTF16 (NLS_NCHAR_CHARACTERSET=AL16UTF16).
- On non-English locales, ensure that the value of the NLS_LANG parameter is set correctly. If this parameter does not exist, create it. For more information about creating and setting the value of this parameter, see the Oracle database documentation.
The global_names parameter for the Oracle instance where BMC BladeLogic Decision Support for Server Automation is located must be set to false to ensure that the database link name generated by the site addition utility is resolved correctly. (If the global_names parameter is not set to false, the primary site installation fails.)
- The parameter for the content store database instance compatibility level (the parameter name is compatible) is set to 9.2.0 or higher.
- The portal content store must be created on a Unicode database instance. For instructions on how to verify that the database is Unicode, see To verify that the database is Unicode.
- The To ensure that the BMC Server Automation database user has the Execute permission on these packages. database user must have Execute permission on the DBMS_JOB and DBMS_LOCK Oracle packages. For verification instructions, see
To determine the schema being used by the BMC Server Automation database
- Log on to SQL Plus as any user (for example, system).
Type the following commands:
select data_type from user_tab_columns where table_name = 'SYSTEM_PROPERTY' and column_name like 'NAME'If the schema is char type, VARCHAR2 is returned as the output. If the schema is nchar type, NVARCHAR2 is returned as the output.
To determine the schema being used by the BMC BladeLogic Decision Support for Server Automation database
- Log on to SQL Plus as any user (for example, system).
Type the following commands:
select * from user_tab_columns where table_name = 'BL_SITE' and column_name like 'NAME'If the schema is char type, VARCHAR2 is returned as the output. If the schema is nchar type, NVARCHAR2 is returned as the output.
To ensure that the BMC Server Automation database user has the Execute permission on these packages
- Log on to SQL Plus as SYS on the Oracle database instance where the user is located
Run the following commands:
Grant execute on dbms_job to <BMCBladeLogicDatabaseUser>Grant execute on dbms_lock to <BMCBladeLogicDatabaseUser>Where <BMCBladeLogicDatabaseUser> is the
database user name.
To verify that the database is Unicode
- Log on to SQL Plus as any user (for example, system).
Type the following command:
select parameter, value from nls_database_parameters where parameter='NLS_CHARACTERSET'Verify that a Unicode value is returned (AL32UTF8 or AL16UTF16). If a non-Unicode value is returned, create a new Unicode database and specify a Unicode value of AL32UTF8 or AL16UTF16. For instructions, see the database software documentation.
Supported scenarios for secondary BMC Server Automation sites
If you plan to use a system arrangement in which a secondary site uses a different character set, refer to the following scenarios for guidelines on supported setups.
The following setup is supported:
- Application Server 1 uses char.
- Application Server 2 uses nchar.
- server 1 uses nchar.
The following setup is not supported:
- Application Server 1 uses char.
- Application Server 2 uses nchar.
- server 1 uses char.
The second setup scenario is not supported because you cannot run ETL from an nchar database to a char database.