Академический Документы
Профессиональный Документы
Культура Документы
Setup the OS
Besides the databases, we need to make changes at the OS level, as sysadmin, to connect the Birst
Appliance.
The BirstMetaData name needs to resolve the IP address of Metadata file location (server or NAS). The
way to accomplish this is to add the entry in the “/etc/hosts” file or make the dns entry for the same.
If the BirstMetaData share is a CIFS share then we require the cifs-utils package installed on linux with
yum or rpm command (yum install cifs-utils). See the Birst Appliance Quick Start Guide or the Birst
Appliance Operations Guide on the share for more details. In this document we will assume you have
the cifs share in place.
2. Now get user and group ID for the Oracle User with the following command.
#id oracle
uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),504(asmadmin)
3. If we don’t have the dns entry for BirstMetaData then add the entry in the “/etc/hosts” file.
Entry will be looks like:
4. Check if we can mount the BirstMetadata, run the following command to Mount (This is all on
one line):
#mount -t cifs -o username=birstuser,password=birst@123,uid=501,gid=501
//BirstMetaData/Repositories /mnt/BirstMetaData
5. Now check and verify the mounted BirstMetaData with df command, the output should look like
this:
7. You should mount this share permanently by adding it in /etc/fstab, add the following entry in
the /etc/fstab file (This is all on one line):
//BirstMetaData/Repositories /mnt/BirstMetaData cifs
username=birstuser,password=birst@123,uid=501,gid=501 0 0
8. After the entry in the /etc/fstab, run the following command to mount the BirstMetaData:
#mount -a
Setting up the Database
NOTE: Birst creates a user for each space for namespace isolation. This requires removal any password
policy restriction on Oracle DB that prevents a user to have the same password as the username.
4. Create user command will create the user into the oracle default tablespace for users, you can
create the user with specifying the “default tablespace” option in the command for example:
(create user birstuser identified by birst123 default tablespace "tablespacename" )
5. Alter the user to provide the unlimited quota on the tablespace, which was used before to
create the user.
2. Check the tns entry with this command ‘tnsping BirstData’ if you cannot do the tnsping then
make the entry in the tnsnames.ora file.
Edit the tnsnames.ora file “$ORACLE_HOME/network/admin/tnsnames.ora” and add this entry
this entry with editor
BirstData =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BirstData)
)
)
3. Connect to BirstData as sysdba with this command
[oracle@birst-orac-01 ~]$ sqlplus sys/birst123@BirstData as sysdba
4. Create user command will create the user into the oracle default tablespace for users, you can
create the user with specifying the “default tablespace” option in the command for example:
(create user birstuser identified by birst123 default tablespace "tablespacename" )
create user birstuser identified by birst123;
create user dbo identified by dbo;
5. Alter the user to provide the unlimited quota on the tablespace, which was used before to
create the user.
alter user birstuser quota unlimited on users;
alter user dbo quota unlimited on users;