VMware Horizon View 7: Create Events Database [Part 3]

简介:

Part 3 of the series will be creating the Events database. Horizon View uses the events database as a repository to store logging information such as user connections. Microsoft SQL Server or Oracle database servers are supported. For my environment I will be using SQL Server 2014. This step can be skipped if you do not want to log these events.


vBoring Blog Series:

  1. VMware Horizon View 7: Deployment and Installation

  2. VMware Horizon View 7: Apply SSL Certificates

  3. VMware Horizon View 7: Create Events Database

  4. VMware Horizon View 7: Add Microsoft RDS Farm

  5. VMware Horizon View 7: Setup Remote Access through Security Server

  6. VMware Horizon View 7: Create Master Desktop Template

  7. VMware Horizon View 7: Automated Desktop Pool

  8. VMware Horizon View 7: Instant Clone Desktop Pool

Creating Events Database in SQL 2014:

First we need to create the database. Login to your SQL server, launch the SQL Server Management Studio, right clickDatabase then click New Database:

Horizon View 7 - 1 Create New SQL Database

Give the database a name, I used ViewEvents so it can easily be identified:

Horizon View 7 - 2 Name the DB

On the Options page change the Recovery model to Simple then click Ok:

Horizon View 7 - 3 Set Recovery Mode to Simple

Let’s create the account View will use to connect. Drill down to Security, right click Logins then click New Login:

Horizon View 7 - 4 - New Login

On the General page enter a Login name, select SQL Server authentication and enter a password. Change the drop down menu of Default Database to the Database that we created above.

Note: View only SQL authentication is supported.

Horizon View 7 - 5 General on New Login

On User Mapping select the database we created above, give it db_owner permissions then click Ok:

Horizon View 7 - 6 User Mapping on New Login

Add Events Database in Horizon View 7:

Switch back over to the View Administrator Console, drill down to View Configuration -> Event Configuration -> then click Edit:

Horizon View 7 - 7 Event Configuration

Enter the FQDN/IP Address of your SQL Server, Database Name, and the Login created from above.

You would enter something in the Table Prefix if you were going to have multiple instances of View talking to the same database.

Click Ok:

Horizon View 7 - 8 Edit Event Database

The Event Database section should now be populated if the details you entered were correct. You can edit the Events Settings to change the time period settings, but I left them default.

Horizon View 7 - 9 Database Added

Browse to Monitoring -> Events. Here you will find a summary of recently added events.

Horizon View 7 - 10 Events Page

On the View Dashboard you will now see the Event Database section populated.

Log Insight - Events Database Setup


Proceed to the next step:

VMware Horizon View 7: Add Microsoft RDS Farm

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1981964如需转载请自行联系原作者

520feng2007
相关文章
|
数据库连接 网络安全 数据库
Could not create connection to database server.Attempted reconnect 3 times. Giving up.
这篇文章提供了解决数据库连接问题的方法,建议在连接字符串后添加`?serverTimezone=UTC`来指定时区,并检查网络设置、连接属性、驱动版本以及是否需要SSH或SSL连接。
Could not create connection to database server.Attempted reconnect 3 times. Giving up.
|
SQL 数据库
SQL CREATE DATABASE 语句
【7月更文挑战第18天】SQL CREATE DATABASE 语句。
418 1
|
SQL 数据库
SQL CREATE DATABASE 语句
SQL CREATE DATABASE 语句
268 4
|
SQL 数据库
SQL CREATE DATABASE 语句
SQL CREATE DATABASE 语句
221 2
数据库bug-[08001] Could not create connection to database server. Attempted reconnect 3,主机名ip必须写对
数据库bug-[08001] Could not create connection to database server. Attempted reconnect 3,主机名ip必须写对
|
SQL 数据库
CREATE DATABASE 语句
CREATE DATABASE 语句
272 1
|
数据库
Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Could not create connection to database server. Attempted reconnect 3 times. Giving up.
580 0
|
Java 关系型数据库 MySQL
报错:java.sql.SQLNonTransientConnectionException: Could not create connection to database server
报错:java.sql.SQLNonTransientConnectionException: Could not create connection to database server
4221 0
报错:java.sql.SQLNonTransientConnectionException: Could not create connection to database server
|
关系型数据库 MySQL 数据库
Idea 连接数据库出错Connection to xxx@localhost failed. [08001] Could not create connection to database
Idea 连接数据库出错Connection to xxx@localhost failed. [08001] Could not create connection to database
840 0
Idea 连接数据库出错Connection to xxx@localhost failed. [08001] Could not create connection to database

热门文章

最新文章