Configuring environment settings
Follow the links below to configure BMC product servers.
Configuration is not required for:
- BMC Client Management (BCM)
- BMC Network Automation (BNA)
- BMC Release Package and Deployment (RPD)
- MyIT (MyIT)
- TrueSight Capacity Optimization (TSCO)
BMC Discovery
Click here to expand...
Ensure that the BMC Discovery environment is configured with HTTPS.
Configuring BMC Bladelogic Database Automation (BDA) systems
Click here to expand...
UNIX
- Ensure that the SSHD process is running on standard ports.
BDA license gathering is supported only for the root user.
Configuring BMC BladeLogic Server Automation (BSA 8.2 to 8.6) systems
Click here to expand...
- Identify the servers where the BMC BladeLogic Server Automation (BSA 8.2 to 8.6) database is installed.
- Make sure all ORACLE environment variables are set and accessible for the logged-in user on that server (Server user field value).
The database user should be the normal user with Read/Write permissions to the Database schema.
Windows
Ensure that the "ORACLE_HOME" environment variable is set for the logged-in user (Server user field value) on that server.
UNIX
- Ensure that the "ORACLE_HOME" environment variable is set in the “. profile” file for the logged-in user (Server user field value) on that server.
- If the ORACLE_HOME variable is not set:
- Log in to the Unix machine with the user name and credentials used in the "Server User" and "Server password" fields on the License Utility UI while adding the deployment.
- Copy the script from location:"<LU_Install_Directory>/licenseusagecollector/EnvVariableScripts" to the Unix machine.
- Give execute permission to the script using chmod +x <scriptname>.
Execute the script.
Sample run
The following is a sample run:
1. Give the permissions as mentioned below:
chmod 777 setOracleHome.sh
Sample execution statements pasted below:
================================================================================================
2. To see the usage of this script, please execute the following command:
[root@vl-xyz-qa09 ~]# ./setOracleHome.sh –help
setOracleHome [OracleInstallationPath]
Specify all the parameters.
Type --help to view how to use the script.
OracleInstallationPath: Oracle installation absolute path upto sqlplus directory.
For Ex: /data1/oracle/product/11.2.0/bin/ sqlplus will be my ORACLE_HOME.
================================================================================================
3. If the .profile file exist, it gets updated with the ORACLE_HOME variable appended at the end of the it.
[root@vl-xyz-qa09 ~]# ./setOracleHome.sh /usr/oracle/11.2.0 .profile file exist, appending the ORACLE_HOME environment variable to it.
[root@vl-xyz-qa09 ~]# cat .profile
ORACLE_HOME/usr/oracle/11.2.0
export ORACLE_HOME
================================================================================================
4. If the .profile file does not exist, it gets created with the entry of ORACLE_HOME variable.
[root@vl-xyz-qa09 ~]# ./setOracleHome.sh /usr/oracle/11.2.0 .profile file does not exist. Creating it with ORACLE_HOME environment variable entry.
[root@vl-xyz-qa09 ~]# cat .profile
ORACLE_HOME=/usr/oracle/11.2.0
export ORACLE_HOME
Configuring BMC BladeLogic Server Automation (BSA 8.7 to 8.9) systems
Click here to expand...
For BSA 8.7 Windows and UNIX: The “Profile User” must be assigned to the “BLAdmins” role.
Windows and UNIX
Identify the servers where BMC BladeLogic Server Automation (BSA) Appserver is installed.
Windows
Ensure that the NSH folder is in the system path.
UNIX
Ensure that the SSHD process is running on standard ports.
Configuring BMC Performance Manager Portal (BPM Portal v2.11) systems
Click here to expand...
Windows and UNIX
- Identify the servers where the BMC Performance Manager Portal database is installed.
- Ensure that, on the Oracle database server, either the ORACLE_BASE or the DATASTORE_HOME environment variable is set.
The License Utility will check for these two environment variables. - Store the value in the PORTAL_PATH variable to refer it to the PORTAL_PATH\utility\BPM_Datastore_Utility.
Note
In Windows the user should belong to the group ora_dba. In Unix it is group dba.
Windows
Ensure that the "ORACLE_BASE or DATASTORE_HOME " environment variable is set for the logged-in user (Server user field value) on that server.
UNIX
- Ensure that the "ORACLE_BASE or DATASTORE_HOME " environment variable is set in the “. profile” file for the logged-in user (Server user field value) on that server.
- Make sure one of the following files has the execute permission:
- $ORACLE_BASE/utility/BPM_Datastore_Utility/DatastoreCliBMCPDS.sh
- $ DATASTORE_HOME/utility/BPM_Datastore_Utility/DatastoreCliBMCPDS.sh
- If not, assign the permission (as per the screenshot) using the following command: chmod +x DatastoreCliBMCPDS.sh.
Configuring BMC Release Process Management (RPM)
Click here to expand...
The user must be in the "Root" group to have access to the v1 API.
Configuring Remedy AR System Server (ARS) based products
Click here to expand...
Windows
- Identify the server where Remedy AR System Server (ARS) is installed.
- Ensure that the "BMC_AR_SYSTEM_HOME" environment variable is set on that server.
UNIX
- Ensure that the SSHD process is running on standard ports.
- Ensure that the user whose credentials are being used by the License Utility to connect to this server has BMC_AR_SYSTEM_HOME mapped to the correct directory and exported in the .profile file. For example: Export BMC_AR_SYSTEM_HOME=/<dir1>/<dir2>/ARSystem
- Ensure that the non-root user as read access permission for the $BMC_AR_SYSTEM_HOME/db/LicenseReport.txt file.
- If the BMC_AR_SYSTEM_HOME variable is not set:
- Log in to the Unix machine with the user name and credentials used in the "Server User" and "Server password" fields on the License Utility UI while adding the deployment.
- Copy the script from location:"<LU_Install_Directory>/licenseusagecollector/EnvVariableScripts" to the Unix machine.
- Give execute permission to the script using chmod +x <scriptname>.
Execute the script.
Sample run
The following is a sample run:
*****************************************************************************************************************************************************************
1. Give the permissions as mentioned below:
chmod 777 setARHome.shSample execution statements pasted below:
================================================================================================
2. To see the usage of this script, please execute the following command:[root@vl-xyz-qa09 ~]# ./setARHome.sh --help
setARHome [ARSInstallationPath]
Specify all the parameters.
Type --help to view how to use the script.
ARSInstallationPath: ARS installation absolute path up to the parent directory of db folder.
================================================================================================
3. If the .profile file exist, it gets updated with the BMC_AR_SYSTEM_HOME variable appended at the end of the it.[root@vl-xyz-qa09 ~]# ./setARHome.sh /data1/bmc/ARSystem .profile file exist, appending the BMC_AR_SYSTEM_HOME environment variable to it.
[root@vl-xyz-qa09 ~]# cat .profile
BMC_AR_SYSTEM_HOME=/data1/bmc/ARSystem
export BMC_AR_SYSTEM_HOME================================================================================================
4. If the .profile file does not exist, it gets created with the entry of BMC_AR_SYSTEM_HOME variable.[root@vl-xyz-qa09 ~]# ./setARHome.sh /data1/bmc/ARSystem .profile file does not exist. Creating it with BMC_AR_SYSTEM_HOME environment variable entry.
[root@vl-xyz-qa09 ~]# cat .profile
BMC_AR_SYSTEM_HOME=/data1/bmc/ARSystem
export BMC_AR_SYSTEM_HOME