Preparing to install BMC Remedy Smart Reporting
If you have not already done so, plan the BMC Remedy Smart Reporting deployment. BMC recommends that you do not install BMC Remedy Smart Reporting and BMC Remedy AR System Server on the same computer.
Note
You must perform the user onboarding process from BMC Remedy AR System to BMC Remedy Smart Reporting only after BMC Remedy ITSM installation.
Before you begin
Before you perform the installation, consider the following:
- Ensure that the machine on which you are installing this component meets the following requirements:
Java version 8 update 45 or later is installed
- Terminal server configuration is completed
- Ensure that your firewall does not block the following ports:
- Default port 8181 used by Smart Reporting
- Default SQL Server port 1433
- Default Oracle Server port 1521
To configure the terminal server (Windows only)
- Go to Start > Run.
- In the Run dialog box, enter gpedit.msc, and press Enter.
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Temporary Folders.
- Enable the following options:
- Do not Delete temp folder on Exit
- Do not use temp folder per session
- Restart the system.
- If the settings are not enabled:
- Choose Start > Run.
- In the Run dialog box, enter regedit and press Enter.
- In the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEMCurrentControlSet\Control\Terminal Server and update the PerSessionTempDir and DeleteTempDir OnExit options to 0.
- Restart the system.
Preparing the AR System server for installing Smart Reporting
Consider the following information perform the relevant actions on the AR System server that is connected to Smart Reporting:
When installing the AR System server, ensure that the AR Server is connected to the Remedy production environment database and not the replicated database.
After installing the AR System server, you must apply the AR license key by connecting to the production environment database which is in read/write mode.
From the Remedy production environment database, delete the following references of AR System server:
Database table Info to be deleted servgrp_applic select * from servgrp_applic;
delete from servgrp_applic where serverName = 'name of the AR Server to be consumed by Smart Reporting'
servgrp_board select * from servgrp_board; delete from servgrp_board where serverName = 'name of the AR Server to be consumed by Smart Reporting'
servgrp_config select * from servgrp_config; delete from servgrp_config where serverName = ‘name of the AR Server to be consumed by Smart Reporting’;
servgrp_ftslic select * from servgrp_ftslic; delete from servgrp_ftslic where serverName = ‘name of the AR Server to be consumed by Smart Reporting’;
servgrp_resources select * from servgrp_resources; delete from servgrp_resources where serverName = ‘name of the AR Server to be consumed by Smart Reporting’
servgrp_userlic select * from servgrp_userlic; delete from servgrp_userlic where serverName = ‘name of the AR Server to be consumed by Smart Reporting’
From the Remedy production environment AR System Server Group Operation Ranking form, do not remove any entries referencing the AR System server consumed by Smart Reporting.
Update the following information in the ar.cfg or ar.conf file:
Modify the following parameters in
ar.cfg or ar.conf fileDisable-Alerts: T
Disable-Archive: T
Disable-Escalations: T
Full-Text-Mode: Disabled
Full-Text-Disable-Indexing: T
Full-Text-Disable-Searching: T
Update the following information in the armonitor.cfg or armonitor.conf file:
Comment out the following parameters in
armonitor.cfg or armonitor.conf fileFTS secondary plugin
Email Engine
Flashboard
Carte server
Approval
DSO
Shutdown the AR server and connect it to the replicated database. Below are the parameters that needs to change to reflect the Replicated SR database in the ar.cfg/ar.conf file
- Db-name: ARSystem
- Db-user: ARAdmin
- Db-Host-Name: <Replicated_DB_server_name>
- Start the AR Server.
In the arerror.log, If you see the following error message, ignore it:Failed to update database "ARSystem" because the database is read-only
Preparing for installation of the Smart Reporting database on Oracle
You must create a database user prior to Smart Reporting installation.
To create a database user (Oracle)
- Login to the Oracle db as an Administrator.
In the SQL prompt, execute the following commands:
SQL> create tablespace reporting datafile 'reporting' size 500M reuse autoextend on SQL> create user repadmin identified by RP#Admin# default tablespace reporting; SQL > grant unlimited tablespace to repadmin; SQL> create role RRole not identified; SQL > grant CREATE SESSION, alter session, create cluster, create sequence,create trigger, query rewrite, create synonym, create table, create view, create procedure to RRole; SQL> grant RRole to repadmin;
The
query rewrite
parameter is required only if you use materialized views. The Remedy AR System does not use materialized views in its schema.
Preparing for installation of the BMC Remedy Smart Reporting database on MS SQL
When running the Smart Reporting installer, you encounter the following panel:
The following table lists the possible combinations that result from the selections you make on the panel.
DB creation preference | User | Pre-requisites | SQL Server Authentication | Windows Authentication |
---|---|---|---|---|
New DB | New user | Installer creates the database and the user. DBA credentials are required. | Supported | Not supported |
Existing DB | Existing user | Valid DB and user must be available. DB must be clean. DBA credentials are not required. | Supported | Supported |
New DB | Existing user | Installer creates the database. DBA credentials are required to create a new DB from the installer. Valid user must be available. | Supported | Supported |
Existing DB | New user | Valid DB must be available. Installer creates a new user. DBA credentials are required. | Supported | Not supported |
To add a pre-created database and user
- Login to the MS SQL server database, as an Administrator.
- Create the new database:
- In the Object List right-click Databases.
- Click New Databases.
- Enter the database name.
- Click OK. The database will get created.
Or,
Run the following command in the master DB query panel:create database < database name>
- Create the user and give the permissions for the new database you created.
- In the Object List click Security > Logins.
- Right-click Logins and click New Login.
- Enter the details of the new user.
- Right-click the newly created user, under Owned Schemas and Database role membership, select db_owner .
- Click OK.
Or,
Right-click the newly created database, click New Query, and run the following command:# Creates the login <username> with password '<password>'. CREATE LOGIN <username> WITH PASSWORD = '<password>'; GO # Creates a database user for the login created above. CREATE USER <username> FOR LOGIN <username>; GO
To install BMC Remedy Smart Reporting with an external Tomcat
- You must update the context.xml file.
- Go to <external tomcat installation directory>\conf\ context.xml.
Set the xmlBlockExternal to false in the Context parameter. For example:
<Context xmlBlockExternal="false">
Adding a new Context xmlBlockExternal tag is not recommended. You must update the existing tag as shown in the table below.Before upgrading Recommended To be avoided
- Save the file.
- Go to <external tomcat installation directory>\conf\ context.xml.
- If you have installed the external Tomcat as a service you must set the java heap size as following:
- Minimum: 1024
- Maximum: 2048
- Proceed with the installation.
Comments
I think you can remove those line "BMC recommends you to use Tomcat version 8.0.35 for external Tomcat." https://communities.bmc.com/thread/164741?start=15&tstart=0
Hello Ravian,
Thank you for your feedback. We have updated the topic.
Thanks,
Manash
In the section #To add a pre-created database and user Should the "3" preceding (less than)password(greater than) not be there?
Hello Ezra,
Thank you for pointing out. We have updated the topic.
Regards,
Manash
Log in or register to comment.