Page History
This appendix includes the following topics:• About
...
Anchor | ||||
---|---|---|---|---|
|
The following section describes how to export a customized report from one Precise system and import it to another Precise system.NOTE Before
Info |
---|
Before you begin, find the source Tier ID and the destination Tier ID in the PS_INAP_APP_TIER or PS_FSEC_ENV_CONTENTS tables. |
To export/import a customized report1. In
In the source Precise system, create the ForesightExportRequest.xml file in the Precise root folder. For example:
<root name="Export">
<report-name>In Sybase Breakdown</report-name>
<apptier>1201</apptier>
</root>Info
...
The report-name value is case-sensitive.
...
- Run the following command:
infra\bin\psin_http_requestor -dp -x fs-export-import FS < ForesightExportRequest.xml > out.xml
...
- Check the out.xml file in
...
- the
<precise_root>
directory to view the status.
...
- Copy the exported report .zip file from the source Precise root directory to the destination Precise installation in:
<i3_root>\distribution
...
Info The .zip file name consists of
<technology code>_<report name> (SY_In Sybase Breakdown.zip)
. For cross-Tiers the Tech code isALL (ALL_CA_Rep.zip)
...
.
...
- In the destination Precise system, create the ForesightImportRequest.xml file in the Precise root directory. For example:
<root name="Import">
<report-name>SY_In Sybase Breakdown.zip</report-name>
<apptier<1174</apptier>
</root>
Importing, exporting and copying your customized reports 74
About copying customized reports
...
- Run the following command:
infra\bin\psin_http_requestor -dp
...
x fs
...
- export-import FS < ForesightImportRequest.xml > out.xml
...
- Check the out.xml file in the Precise root folder to view the status.
Anchor | ||||
---|---|---|---|---|
|
The following section describes how to copy customized reports from one Tier to another with the CLI utility.
To copy a customized report1. Run
- Run the following commands from the Precise root folder:
...
- Windows
<i3_root>\infra\bin\psin_cli.
- Windows
...
bat -i3-user <user> {-i3-clear-password <i3 clear password> |
...
-i3-encrypted-password <i3 encrypted password>}
-action fs-copy-foresight-custom-report
...
-parametersfile <parameters-file.xml>
Windows
...
- UNIX
./infra/bin/psin_cli.
- UNIX
...
sh -i3-user <user> {-i3-clear-password <i3 clear password> |
-i3-encrypted-password <i3 encrypted password>}
-action fs-copy-foresight-custom-report
-parametersfile <parameters-file.xml>- Example:
...
<i3_
...
root>\infra\bin\psin_cli.bat -i3-user admin -i3-clear-password admin
-action fs-copy-foresight-custom-report -parametersfile my_parameters_file.xml
...
Create the parameters-file.xml file in the Precise root folder and make sure it contains the following:
<parameters>
<parameter name="source-environment" value="Default"/>
<parameter name="source-apptier" value="SQL Server"/>
<parameter name="source-report" value="My_report"/>
<parameter name="destination-environment" value="Default"/>
<parameter name="destination-apptier" value="SQL Server"/>
</parameters>
and make sure to apply the information in the following notes.Info
...
The parameter values are case-sensitive.
...
Info
...
The "source-report" name must not contain blanks.
...
Info
...
The new report name will have a suffix with a serial number (for example: "My_report_1")
...
.
...
Info
...
To copy a Cross-Tier report, use the "Cross-AppTier" string for both the "source-apptier" and "destination-apptier" parameters.
...
...
Precise. Performance intelligence from click to storage. Learn more > >
...