Page tree
Skip to end of metadata
Go to start of metadata

This section should be used if any of the following conditions are true:

Recommendation

BMC recommends you to use the root user for the installation of Capacity Optimization components.

Performing the installation as a non-root user

You will need to setup the host machine if you do not have administrative rights to install BMC TrueSight Capacity Optimization.

Tip

If you have access to the root user, you can start with Installing the Application Server and components directly. The required user, group, and system properties will be automatically set by the installer.

The following procedure will help you to prepare a host computer or virtual machine for BMC TrueSight Capacity Optimization installation. Consult your system administrator for help in accomplishing this task.

If you are using a Supported Oracle Database Server, you must have a supported Oracle Client installed on the host or virtual machine.

 

  1. Create the system user, and its home folder. It is recommended to name the user group cpit, user name cpit, and the home directory /opt/cpit.

    mkdir /opt/cpit
    groupadd -g 87654321 cpit
    useradd -g cpit -d /opt/cpit -s /bin/bash -c "BMC TrueSight Capacity Optimization" -K UMASK=002 cpit
    chown cpit:cpit /opt/cpit
    chmod 775 /opt/cpit

    Note

    • UMASK for cpit has been explicitly set to allow users in the same group to modify files, and allow every user in the system to read files and folders created by the cpit user.
    • Ensure that the primary group names do not include space or parenthesis.
  2. Change the default password, 'cpit', for the cpit user.
  3. Define the open file limit for the cpit user.

    echo "cpit soft nofile 10240" >> /etc/security/limits.conf
    echo "cpit hard nofile 65536" >> /etc/security/limits.conf
    sysctl -p

    Note

    Defining this limit allows simultaneous execution of other operations on the same host. For example, importing data using ETL tasks.

  4. Create a temporary folder for the installation files. BMC recommends you to use /opt/cpitinstall.

    mkdir /opt/cpitinstall
    
  5. Define the cpit user as the owner of the temporary folder.

    chown -R cpit:cpit /opt/cpitinstall
    
  6. Xvfb should be installed on Linux to install the product using the GUI.

  7. (Optional) If, on the application server, you plan to run an ETL process that accesses Windows shares, you need to enable permission for the application server to mount Windows shares. For more information, see Enabling Windows shares mounting.
  8. (Optional) ensure that the BMC TrueSight Capacity Optimization system user, which runs the application server and ETL Engine, has permission to use the system crontab file:
    • If the host has a cron.deny policy, ensure that the BMC TrueSight Capacity Optimization user is not included.
    • If the host has a cron.allow policy, add the BMC TrueSight Capacity Optimization user to it.

Performing the installation without a sysdba password

You will need to manually set up the database users and tablespaces if you do not have a sysdba password.

Note

Use a Database Administrator account to execute the following steps only if it is NOT possible for the Database Administrator to provide you the sysdba password to automatically create users and tablespaces while installing BMC TrueSight Capacity Optimization. If you follow the procedure given below, you must select the Database users and tablespaces have been created externally option while performing the BMC TrueSight Capacity Optimization installation.

If you are an Oracle database administrator and you need or choose to manually set up or migrate database users and tablespaces in BMC TrueSight Capacity Optimization, do the following:

  1. Create or migrate tablespaces.
  2. Create or migrate users.
  3. Grant or verify privileges.

For information about BMC TrueSight Capacity Optimization tablespaces and users, see Database requirements.

To manually set up BMC TrueSight Capacity Optimization database users and tablespaces when installing BMC TrueSight Capacity Optimization for the first time

If you have Oracle-Managed Files enabled, and you are creating database users and tablespaces, you can use the create_users_and_tablespaces.sql example database creation script. For all other situations, you can download and modify the create_users_and_tablespaces_template_filesystem.sql template file to suit your Oracle DB datafile position.

Note

To view the contents of the attached script files, see Contents of create_users_and_tablespaces.sql and Contents of create_users_and_tablespaces_template_filesystem.sql. If needed, modify the database creation script according to your policies. In particular, to modify default database users, roles and tablespace names, edit the first section of the SQL script.