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

本文涉及的产品
云数据库 RDS SQL Server,独享型 2核4GB
RDS SQL Server Serverless,2-4RCU 50GB 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
相关实践学习
使用SQL语句管理索引
本次实验主要介绍如何在RDS-SQLServer数据库中,使用SQL语句管理索引。
SQL Server on Linux入门教程
SQL Server数据库一直只提供Windows下的版本。2016年微软宣布推出可运行在Linux系统下的SQL Server数据库,该版本目前还是早期预览版本。本课程主要介绍SQLServer On Linux的基本知识。 相关的阿里云产品:云数据库RDS SQL Server版 RDS SQL Server不仅拥有高可用架构和任意时间点的数据恢复功能,强力支撑各种企业应用,同时也包含了微软的License费用,减少额外支出。 了解产品详情: https://www.aliyun.com/product/rds/sqlserver
相关文章
|
17天前
|
SQL 数据库
SQL CREATE DATABASE 语句
SQL CREATE DATABASE 语句
32 4
|
28天前
|
SQL 数据库
SQL CREATE DATABASE 语句
SQL CREATE DATABASE 语句
18 2
|
数据库
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.
127 0
|
SQL 数据库
CREATE DATABASE 语句
CREATE DATABASE 语句
108 1
|
存储 SQL 关系型数据库
开发指南—DDL语句—分库分表语法—CREATE DATABASE
CREATE DATABASE语句用于创建数据库,并可以指定数据库的默认属性(如数据库默认字符集,校验规则等)。
130 0
|
存储 SQL 关系型数据库
开发指南—DDL语句—分区表语法—CREATE DATABASE
CREATE DATABASE语句用于创建数据库,并可以指定数据库的默认属性(如数据库默认字符集,校验规则等)。
119 0
|
存储 安全 Java
NukeSped“后门”重现!朝鲜黑客组织 Lazarus 利用 Log4j 漏洞攻击 VMware Horizon 服务器
NukeSped“后门”重现!朝鲜黑客组织 Lazarus 利用 Log4j 漏洞攻击 VMware Horizon 服务器
363 0
|
Java 关系型数据库 MySQL
报错:java.sql.SQLNonTransientConnectionException: Could not create connection to database server
报错:java.sql.SQLNonTransientConnectionException: Could not create connection to database server
1720 0
报错:java.sql.SQLNonTransientConnectionException: Could not create connection to database server
|
存储 SQL 关系型数据库
开发指南—DDL语句—分区表语法—CREATE DATABASE
CREATE DATABASE语句用于创建数据库,并可以指定数据库的默认属性(如数据库默认字符集,校验规则等)。