Configure MSSQL events database server
From Notes_Wiki
Revision as of 06:11, 20 June 2022 by Saurabh (talk | contribs) (Created page with "Home > VMWare platform > VMWare Horizon > Configure MSSQL events database server =MS SQL server installation= To setup MS SQL server use: # Run SQLEXPR installer # Choose "New SQL Server stand-alone installation or add features to an existing installation" # In popup window, accept the license, click next # Choose "Use Microsoft update to check for updates(recommended)", click next # In feature selection page, leave default settings, click next...")
Home > VMWare platform > VMWare Horizon > Configure MSSQL events database server
MS SQL server installation
To setup MS SQL server use:
- Run SQLEXPR installer
- Choose "New SQL Server stand-alone installation or add features to an existing installation"
- In popup window, accept the license, click next
- Choose "Use Microsoft update to check for updates(recommended)", click next
- In feature selection page, leave default settings, click next
- In Instance configuration page, change the instance name, click next Ex: eventsdb
- In Server Configuration page, click next
- Choose Mixed Mode(SQL Server authentication and windows authentication)
- Enter password
- Click Next
- Choose Close on Complete page.
SQL server Management Studio installation
- Run SSMS-Setup-ENU
- Choose Install on welcome page
- Choose close on setup completed page
- Start SQL server Management studio
- Server type
- Database Engine
- Server name
- SQL\EVENTSDB
- Authentication
- Choose Windows Authentication or SQL server Authentication.
- Click Connect
- In the Object Explorer, right-click Databases, and select New Database from the submenu.
- Name the database and click OK. Ex: EventsDB
- To create a login so that the Connection Server can access the database to log events, expand the Security folder, right-click Logins, and select New Login.
- Complete the General Settings page, as follows:
- Login name HorizonDBUser
- Select SQL Server authentication, and create a password.
- De-select Enforce password policy.
- Default database: EventsDB
- From Server Roles tab, select the sysadmin check box
- From User Mapping tab, Select the check box for the EventsDB database. click OK.
- The login user is added in the Object Explorer pane,
- Databases > HorizonEvents > Security > Users folder
- Security > Logins folder
Configure TCP/IP Properties for the Database Server
- Start SQL Server Configuration Manager
- Expand SQL Server Network Configuration
- select Protocols for <server name>
- From right pane, right-click TCP/IP, and select Properties.
- In the popup window,
- On the protocol tab, Enabled set to Yes
- On the IP Addresses tab,
- In IPAll section, set the TCP port to 1433
- click OK
- Restart the SQL Server
- Open services.msc
- Right click on SQL Server and select Restart
Configure the Events Database in the Horizon Console
- Open Horizon Console, https://<connection-server-fqdn>/admin
- Go to Settings > Event Configuration.
- Click the Edit button.
- In the pop window
- Database Server – FQDN
- Datebase Type – Microsoft SQL Server.
- Port – 1433
- Database Name – HorizonEvents
- User name - HorizonDBUser
- Password –
- Table Prefix – Enter VE_ (for View Events)
- Click Ok
Home > VMWare platform > VMWare Horizon > Configure MSSQL events database server