(Optional) Setting up BMC Network Automation on Linux
The install planner automatically performs the following tasks for the BMC Network Automation installation:
- Create an OS user
- Create Oracle tablespace and user
As an option, you can perform these tasks manually if do not want the installer to create the user and the database for the the BMC Network Automation product or if any issues occurred with the user and database that the installer previously created. If you do not want to use the installer to create the user and database, you must perform the following manual steps on the BMC Network Automation host in a Linux environment:
(Optional) To manually pre-create an OS user for the BMC Network Automation installation
You can pre-create an operating system user account (for example, bcan) when installing the BMC Network Automation product if you do not want the installer to create the OS user:
- Open a command window.
At the prompt, enter the following commands:
adduser <userName> passwd <userName>
(Optional) To manually pre-create an Oracle tablespace and user
As a database administrator user (for example, system), you can perform the following steps if you do not want the installer to create the Oracle tablespace and user:
- Create a BCAN data tablespace with a default data file size of 500 MB, and set the Auto extend option to on.
- Create an Oracle database user (for example, bbna_8100) and grant the following privileges:
- create/alter/drop tables/indices/constraints/views
- insert/update/delete rows
The following sample database script further explains the steps.
Note
To execute the following commands, you must log on to SQL*Plus as a user with Oracle DBA privileges.
CREATE SMALLFILE TABLESPACE "BCAN" LOGGING DATAFILE '/data1/oracle/oradata/ora11db/bcan.dbf'
SIZE 500 M REUSE AUTOEXTEND ON NEXT 512M MAXSIZE 30720 M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 56K
SEGMENT SPACE MANAGEMENT AUTO;
CREATE USER "BCAN" PROFILE "DEFAULT" IDENTIFIED BY bcan123 DEFAULT TABLESPACE "BCAN" QUOTA
UNLIMITED ON "BCAN";
GRANT CONNECT, RESOURCE TO "BCAN";
Comments
Log in or register to comment.