Deploying SQL Server Reporting Services (SSRS) on RDS for SQL Server
You can use SSRS to make various simple or complex reports. In addition, RDS provides the subscription function for you to subscribe to reports. This section describes how to deploy SSRS on RDS for SQL Server.
Scenarios
Microsoft SQL Server contains server components such as the SQL Server database engine, SSRS, and SQL Server Analysis Services (SSAS). The SQL Server database engine is a standard relational database component. RDS for SQL Server is a Platform-as-a-Service (PaaS) service that provides this database engine. However, other components, such as SSRS, are not provided as PaaS services on Huawei Cloud. To use SSRS on Huawei Cloud, you need to create a Windows-based ECS before installing and configuring SSRS.
SSRS has been separated from the Microsoft SQL Server component package and become an independent component service since SQL Server 2017. To migrate SSRS to the cloud, download the component from the Microsoft official website, install it on a Windows-based ECS, and use RDS for SQL Server as the backend database.
Prerequisites
- You have created an RDS for SQL Server instance.
- You have created a Windows-based ECS. (The ECS and RDS DB instance must be in the same VPC, security group, and subnet.)
Procedure
- Download SSRS and install it on the ECS.
- After the installation is complete, click Configure Report Server.
- In Report Server Configuration Manager, configure Server Name and click Connect.
- In the navigation pane on the left, click Service Account and Web Service URL and configure parameters based on your service requirements.
For details, see the official documentation.
- Configure the report server.
- In the navigation pane on the left, click Database. On the right of the page, click Change Database to create a report server database on the ECS.
- In the displayed dialog box, select Create a new report server database and click Next.
If a local report database is available, you can use Data Replication Service (DRS) to migrate the full backup files of the local report database to the RDS for SQL Server instance.
- Configure the connection information of the RDS for SQL Server instance. Set Server Name to the RDS for SQL Server instance address in the format of IP address,port. Use a comma (,) to separate the IP address and port. Set Username to rdsuser. Click Test Connection. After the connection test is successful, click Next.
- Enter the database name, select a language for the script, and then click Next.
- Configure the credentials for the account rdsuser to connect to the report server and click Next.
- Confirm the report server information and click Next.
- After the configuration is successful, click Finish.
For details, see the official documentation.
- In the navigation pane on the left, click Web Portal URL and click Apply. After the operation is complete, click the URL to access the web page of the report server.
- In the upper right corner, choose New > Data Source.
- Configure the parameters as follows:
Table 1 Parameter description Category
Parameter
Description
Properties
Name
Name of the data source. The name cannot contain the following characters: / @ $ & * + = < > : ' , ? | \
Description
Description of the data source, which is used to identify different data sources.
Hide
If this parameter is selected, the data source is hidden.
Enable
If this parameter is selected, the data source is enabled.
Connections
Type
Type of the data source. Select Microsoft SQL Server.
Connection String
Domain name and database name of the RDS for SQL Server instance in the following format:
Data Source=<Floating IP address of the RDS for SQL Server instance, port of the RDS for SQL Server instance>;
Initial Catalog=<Database name>
Login
Data Source Login
Select Use the following credentials.
Credential Type
Select Database username and password.
Username
Account of the RDS for SQL Server instance
Password
Password of the database account
- Click Test Connection. After the connection test is successful, click Create.
- After the data source is created, design reports using Report Builder or Visual Studio.
For details, see Report Builder in SQL Server.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot