Doing a silent install and configuration
You can do what's call a silent install and configuration of Report Services, where you don't have to interact with a user interface and you plug in some configuration values ahead of time.
Silently installing Report Services
Follow this procedure if you're installing Report Services components newly or upgrading to the latest version.
To silently install Report Services
Open a command window and run it as administrator.
Navigate to the Report Services folder in the installer package:
where version refers to the Server Suite release version.
Run the following command to install the Report Services files:
where version refers to component version.
The program installs the Report Services files into the default installation folder. You'll know that the install worked if you see newer files in that folder.
You're now ready to configure Report Services. For new installations, see the next procedure. For upgrades, see Upgrading the reporting database silently.
Configuring a new Report Services deployment silently
There are a few main factors that drive which parameters to use in configuring Report Services silently (automatically without interaction):
Are you creating a new database instance or publishing to an existing instance?
Are you using PostreSQL or Microsoft SQL Server?
Are you using Report Services in zone mode or domain mode?
When doing a silent configuration of report services, you create a file named config.json with the configuration parameters that you need for your deployment. For a list of the available parameters, see Report Services silent configuration parameters
Before you run the configuration program, be sure that you have the parameters set in the configuration file (config.json) and that you have the following ready to enter at the command line:
ServiceAccount and ServiceAccountPassword
PgSQLUser and PgSQLUserPassword (if using PostgreSQL)
The installer also supplies some sample configuration files (in the Report Services installation folder) that you can use as a guideline, depending on your deployment:
|Database type||Domain mode||Zone mode|
|Microsoft SQL Server||config_sql_server_domain_mode_sample.json||config_sql_server_zone_mode_sample.json|
To silently configure Report Services:
Prepare the configuration file according to the settings you need.
Open a command line window as an administrator and run the report services configuration command according to the following usage:
Centrify.Report.Configuration.CLI.exe --ConfigFile "C:\config.json" --ServiceAccount "Local System" --ServiceAccountPassword --PgSQLUser --PgSQLUserPassword
Parameter Description --ConfigFile
The configuration json file, including the path. You can name this file as desired, as long as it's a .json file.
--ServiceAccount The service account to use to configure report services.
The service account password. If you're using a built-in account such as "Local System", you don't have to specify the password.
If you use PostrgreSQL as your database, specify the PostreSQL user name
The PostgreSQL password
The command does the configuration. If there is an issue or error, the command displays a message in red text. When the configuration succeeds, there's a message in green text indicating that the configuration is done.