How to deploy many reports to many SSRS Servers

前端 未结 2 1053
误落风尘
误落风尘 2021-01-14 11:18

Does anybody know a tool that let me deploy many RDL files to many SSRS servers?

Up to 50 reports to more than 20 Servers. Every ssrs server has the same structure.<

2条回答
  •  太阳男子
    2021-01-14 11:34

    Good news, there are a several ways to do this, here is a list from low-level to high-level:

    Create a custom application consuming SSRS Web Services

    You can use Reporting Services web services to perform this task but I wouldn't recommend it unless you have specific needs which are not covered by other ways.
    The reason is that it would take some time, and there is no need to reinvent the wheel.

    There are 2 Web Services available, to manage Report Server items, you will need ReportingService2010 or ReportingService2005 depending of your Reporting Service instance.

    More details on how to consume these web services here.


    Manually Script

    You could write scripts (.rss) and import them with RS.exe.
    This tool is based on the Web Services mentioned earlier.

    The rs.exe utility processes script that you provide in an input file. Use this utility to automate report server deployment and administration tasks.

    Note that Sharepoint mode is supported with SQL Server 2008 R2+.

    Here is a MSDN article explaining that gives more details:
    Sample Reporting Services rs.exe Script to Migrate Content between Report Servers.


    Use a tool to generate scripts

    This one is my favorite, several tools have been written to script items from a Server A and restore it to Server B, one of them is RSScripter.
    You can find a tutorial on how to use it here.

    Internally it uses RS.exe, the steps with the GUI are:

    1. Launch the RSScripter executable
    2. Configure SSRS instance(s) in the Options
    3. Click on "Get Catalog" to display all the items of the instance
    4. Select the items you want to script (Reports, DataSources, Policies, ...)
    5. Click on "Script", this will generate a folder containing the selected resources (rdl, rss, ...), and a batch file
    6. Edit the batch file with your new instance details
    7. If applicable, move the directory to a place where your server is reachable
    8. Run the batch file and wait for completion. This can take time if you have a lot of reports, you can see the progress in the log file.

    There is also the Reporting Service Migration Tool from Microsoft, which seems to have some additional features, but I never tested it.

提交回复
热议问题