This guide is is intended for knowledgeable IT staff only.
Provision an Azure VM
SQL Server Web, Standard, or Enterprise
Enable HTTPS and RDP Endpoints
Add Advanced Windows Firewall rules to allow inbound traffic for MSSQL (1433), HTTPS (443), and RDP (3389).
Add Web Server as a role
Install an SSL server certificate using IIS manager (will be used later for the report server)
Configure IIS for port 443 and point a virtual directory at F:\Export
Edit the HOSTS file to name the server and point the server name and all DNS aliases to 127.0.0.1
Configure SQL Server
Start the SQL Server Agent
Setup Database Mail for support@hurkin.com
Remote Query Timeout = 0
Compress Backup (if available)
Database Default Locations:
DATA = F:\Data
LOG = F:\Log
BACKUP = F:\Data\Backup
Enable Contained Databases = True
Boost SQL Server Priority = True
Max Degree of Parellelism = 2 (number of virtual processors)
Set Reporting Services authentication in rsreportserver.config
<AuthenticationTypes>
<RSWindowsNegotiate/>
<RSWindowsNTLM/>
</AuthenticationTypes>
<RecycleTime>1440</RecycleTime>
Use the Reporting Services Configuration Manager to create a local database
Initialize SSRS endpoints for "/ReportServer" and "/Reports" (including SSL setup)
Install ShipperXL Desktop locally.
Create a Task Scheduler task to run F:\Config\offsite_to_b.cmd every day at 00:00
Install Job Agent (will need an instance name and license key)
Add jobs for (TODO):
full backups (04:30)
transaction log backups (every 3 hours)
differential backups (every 8 hours)
(db03-only) database creation
Reboot
Check https://server.name.com/Reports from both local and remote locations
Add ShipperXL/ShipperXL folders
Add custom/xxxxx folders
Run report deployment from Azure DevOps
F:\Config (installation bits, certificates, cmd files, etc.)
F:\Data --> for SQL data files
F:\Data\Backup\Full --> for full backups daily @ 04:30
F:\Data\Backup\Log --> for transaction log backups every 3 hours
F:\Data\Backup\Diff --> for differential backups every 8 hours
F:\Data\Backup\Offsite --> for full offsite weekly backups Saturdays @ 23:00
F:\Export --> IIS
F:\Log --> for SQL log files
[copy F:\Config\offsite_to_b.cmd from another server]
B:\ --> net use b: \\hurkinbackup.file.core.windows.net\backup /u:hurkinbackup {key}
S:\ --> net use b: \\hurkinbackup.file.core.windows.net\logs/u:hurkinbackup {key}
Obtain updated SSL certificate.
Install via IIS Manager
Remove old certificate
Make sure root site shows updated cert (check remotely)
Use Report Server Config to update the certificate
Use the SQL Server Config Manager to update the cert (SQL Server Network Configuration \ Protocols for MSSQLSERVER \ Properties \ Certificate)
Use the Computer Certificates tool to set the security on the Private Keys to include "NT Service\MSSQLSERVER"
Restart SQL Server
Confirm everything is working AND shows the new cert.