Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Implementing Desktop Virtualization with Citrix

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I. Overview of the case

In order to facilitate the management of the company's office computer desktop system, the company needs to build a desktop virtualization platform. The company's operation and maintenance engineer decided to use Cirtix desktop virtualization solution.

Citrix XenServer server virtualization systems make data centers more flexible and efficient through faster application delivery and higher IT resource availability and utilization. Provide the advanced features required by critical workloads (operating systems, applications, and configurations) without sacrificing the necessary, easy-to-operate features for large-scale deployment.

2. Case pre-knowledge points 1. Introduction to desktop virtualization

Desktop virtualization refers to virtualizing the desktop of the computer in order to achieve the security and flexibility of desktop use, and can access the user's personal desktop system on the network at any place and at any time through any device. As shown below:

2 、 XenServer

XenServer is a server virtualization platform launched by Citrix Company in the United States. It has powerful and rich functions, and has excellent open architecture, performance and storage integration. It is a free virtualization platform based on open source Xen Hypervisor, which introduces multi-server management console XenServer and has strong management capabilities.

The hardware requirements for installing XenServer are as follows: CPU: one or more x86mm 64-bit CPU, minimum 1.5GHz, multicore CPU above 2GHz or faster is recommended. Memory: minimum 2GB, 4GB or more is recommended. Hard disk: local storage (PATA, SATA, SCSI), minimum 46GB, recommended 70GB disk space. Network card: 100Mb/s or faster NIC. 3 、 XenDesktop

The XenDesktop installation wizard is a tool that automates the creation and delivery of large installations of virtual desktops. This wizard integrates Citrix components so that system administrators can quickly create multiple desktops.

4 、 XenCenter

XenCenter is a stand-alone application that runs on a separate computer. XenCenter allows you to create and manage virtual servers, virtual machine templates, snapshots, shared storage support, resource pools, and XenMotion live migrations.

1) the requirements for installing XenCenter operating system are as follows:

Windows 7 SP1, Windows 8.1, Windows 10 (.NET Framework version numbers are based on .NET 4.6).

Windows server 2008 SP2, Windows server 2008 R2 SP1 (.NET Framework version number is based on .NET 4.6).

Windows server 2012, Windows server 2012 R2 (.NET Framework version number is based on .NET 4.6).

2) the requirements for installing XenCenter hardware are as follows:

The lowest dominant frequency of CPU is 750MHz, and 1GHz or above is recommended.

The minimum memory is 1GB, and 2GB or above is recommended.

The lowest disk space is 100MB.

The network card is 100Mb/s or faster NIC.

The minimum screen resolution is 1024 X 768 pixels. 5 、 Desktop Delivery Controller

The Desktop transfer Controller (Desktop Delivery Controller,DDC) is a component of XenDesktop that can be installed separately or together. The controller is installed on a server in the data center and is used to authenticate users, manage assemblies for the user's virtual desktop environment, and connect proxy users and their virtual desktops. It controls the state of the desktop and manages the configuration to start and stop them as needed. The Profile Management can also manage user personalization in a physical Windows environment.

6 、 VDA

Virtual Desktop access (Virtual Desktop Access,VDA) is an authorization policy that refers to the access permissions that are obtained by every device that accesses the virtual desktop. It is a device that licenses access to the virtual desktop, not the virtual desktop itself.

III. Case environment

All the tools used in this case can be accessed by visiting the download link: https://pan.baidu.com/s/1JEsDt-DI88DKz7aEn8PisQ&shfl=sharepset

Extraction code: v287

After copying this content, open the Baidu network disk mobile phone App, which is more convenient to operate.

IV. Problem analysis

XenServer server configuration requirements are not too high, processor requirements are one or more 64-bit x86 x86CPU, the lowest main frequency 1.5GHz; memory requirements as low as 2GB; hard disk locally connected storage (PATA, SATA, SCSI), the minimum disk space is 46GB; gigabit network card. Because the virtual machine is running on the server, it is recommended that the resource configuration should be appropriately adjusted according to the application scale in the actual production environment.

5. Case implementation 1. Create a new XenServer:

Select a typical installation and click next

Select to install the operating system later, and click next

Select Linux operating system, version select Red Hat Enterprise Linux 5 version, and click next

Edit the virtual machine name, browse the installation location, and click next

Set the disk space to 500GB, and click next

New construction completed

Edit virtual machine processor

Edit virtual machine memory, network card VM2, mount CD, turn on virtual machine

Select US on the keyboard and click OK

Select OK to start the installation

Read the license agreement and click Accept EULA

Installed on 500g hard disk, selected by default, click OK

Choose to launch locally and click OK

Without adding packets, click NO

Choose to skip

Configure password

Manually configure IP address and gateway subnet mask

Modify the computer name. Configure DNS

Choose the time zone of Asia and Shanghai

Manually configure time

Start installation

Under installation

Configuration time

Installation is complete, just restart

2. Enable DC01_AD:

Configure IP addr

Add domain services

First-class next step, just install it.

Installation completed, set as domain controller

Select add New Forest, set the domain name, and click next.

Set the domain controller password

Default next step

Start installation

Domain administrator login

Turn off the domain firewall

Modify DNS

Domain controller adds database administrator account sqladmin

User sets password

The user belongs to domain admins

3. Enable DC02_SQL:

Configure IP address, subnet mask, and DNS

DC02_SQL joins the domain

Login domain

Add the sqladmin database administrator user to the local administrators group

Disable the local administrator administrator

Log out to log in to the domain using the database administrator sqladmin account

Turn off the domain firewall

Install .Nat Framework 3.5

First-class installation is the next step.

Installation completed

Toggle sql_server_2008_R2 CD

Open DVD and select a fresh installation

Check the prerequisites and click OK after passing

Enter the product key

Accept the license terms and click next

Click install to begin the installation

One warning, ignore the next step.

Select SQL Server feature installation and click next

Check the database engine and administrative tools, and click next

Default next step

Select the default instance and click next

Click next

Configure server account password

Select mixed mode, enter password, and add current account

Default next step

Prerequisites by clicking next

Click install

Installation completed

4. Enable DC03_XenCenter:

Configure IP address, subnet mask, and DNS

DC03_XenCenter joins the domain

Restart the login domain using a local administrator

Turn off the domain firewall

Install windows 8.1-KB2919442-x64

Installation completed

Install windows 8.1-KB2919355-x64

Installation is complete, restart the computer

Install Microsoft.NET 2015 after the restart is complete

Installation is complete, restart the computer

Select all users and click next

Click install

Installation completed

Open Citrix XenCenter

Connect to the server

If the connection is successful, you can confirm.

Switch the sql CD and install the sql client

Select a new installation

Check the prerequisites and click OK

Enter the product key

Accept the license terms and click next

Click install

Click next

Select SQL Server feature installation and click next

Check the management tools and click next

Check complete, click next

Default next step

Click install

Installation completed

Connect to the database

Enter the SQL server name, select authentication, enter the login name and password, click Connect

Successfully connect to the database

Toggle XenAPP_and_XenDesktop CD

Open DVD and start XenDesktop

Click to install Delicery Controller

Accept the license terms and click next

Check to install all core components and click next

Check to install windows remote Assistance and click next.

Select manual configuration for firewall rules, and click next

Click install

Installation completed

The basic environment has been built, and then the configuration begins.

First create an organizational unit on the domain controller

Create 3 test accounts in Xen_Client

Account creation completed

Deploy DHCP in DC02_SQL

First-class next step to start installation

Installation completed

New scope

Click next

Edit scope name

Enter address range

Default next step

Select No and click next

Scope creation completed

Add DNS

Open DC03_XenCenter

Copy the Windows 7 CD to the virtual machine, create a shared folder and share the CD

Open XenCenter and connect to the server

Connection sharing

Select Windows file share

Edit first name

Enter share name

Choose to deliver applications and desktops to users

Edit the site name and click next

Connect to the database

Default next step

Connect XenServer

Edit the network name and click next

Default next step

Select No, join later, and click finish

Configuration complete

Turn on win7_01

Run cmd to release the IP address and re-obtain the DHCP automatically.

Ipconfig/all view details to see if DNS is correct

The computer joins the domain and restarts the computer

Add the bob account created by the domain controller to the local administrators group

Disable local administrator and log out using bob login domain

Bob login domain

Switch CD

Select XenDesktop to deliver applications and desktops

Click Virtual Delivery Agent for Windows Desktop OS

Select to enable Remote PC Access, and click next

Select No and click next

Depending on whether to check Citrix Receiver or not, I don't need a tablet or phone here, so I won't check it all.

Add Controller addr

Default next step

Select the firewall manually and click next

Click install

Installation is complete, restart the computer

Enable remote access

XenCenter computer opens the Citrix Studio application to create a computer directory

Select a computer that is not power managed, and click next

Select a static desktop for desktop experience, and click next

Add computer

Edit the computer directory name and click finish

Show registered

Create a delivery group

Select the number of delivery group computers

Select delivery Desktop and click next

Add user

Select automatic

Edit the name of the delivery group

Open the win7_02 client

Run cmd,ipconfig / renew to get the IP address automatically

Open a browser to access the installation

Install Citrix Receiver

Installation completed

Update the list of Win 7: 01, and then turn it on after the update is completed.

Bob login

Connecting

Deliver static desktops:

Open XenCenter

Connect XenServer

New Stora

Select Windows file share, and click next

Edit the shared name and click next

Enter the shared location, check other users, and enter the user name and password

Shared storage added complete

Create a new VM

Select the operating system and click next

The name is set to Windows 7

Select operating system CD

Put VM on this server and click next

Memory 2GB core CPU 1, click next

Set the disk size to 50GB, and click next

The network connection remains the default, click next

Start creating

Automatically turn on the virtual machine

Choose to install now

Accept the license terms and click next

To create a 30GB disk, click next

Installation complete, edit computer name

If the password is ignored, I won't set it here.

The virtual machine automatically obtains the IP address

Turn off the firewall

Switch CD to install tools

Click next

Accept the license terms

Default installation location

Click install

Installation completed

Restart

Turn off virtual machine conversion to template

New VM Wizard

Select VM template

Edit name

The next step by default is memory 1GB

Done, create now

Open the console, join the domain and restart

Toggle administrator login domain

Turn off the domain firewall

Switch CD

Select create master image, and click next.

Choose not to install VDA

This option is checked according to individual needs.

Connect to the Controller address

Select all features, click next

Select the firewall rule manually and click next

Start installation

Installation is complete, restart the computer

Update list

Create delivery after shutdown

Default next step

Select Windows Desktop operating system

Select the computer for power management

Select static Desktop

Default next step

Select 2 virtual machines, and click next

Edit account naming method

Edit name

Domain Controller View

Create a delivery group with a delivery quantity of 2

Deliver desktops

Add user

Select automatic, and click next

Edit name

Change delivery user

Win7_02 change delivery user is alice

Enable win7-01

Check remote access

Open remote access and add tom account

Set tom to administrative permissions

Disable benet user

Access with a client browser

Log in successfully

Log out switch Alice login

Enable remote access and add Alice users

Add Alice to the administrators group

Disable benet user

-this is the end of this article. Thank you for reading-

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report