Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Citrix XenServer 6.0 Administration Essential Guide

You're reading from   Citrix XenServer 6.0 Administration Essential Guide Deploy and manage XenServer in your enterprise to create, integrate, manage and automate a virtual datacenter quickly and easily with this book and ebook.

Arrow left icon
Product type Paperback
Published in Jun 2012
Publisher Packt
ISBN-13 9781849686167
Length 364 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Daniele Tosatto Daniele Tosatto
Author Profile Icon Daniele Tosatto
Daniele Tosatto
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Citrix XenServer 6.0 Administration Essential Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introducing XenServer Resource Pools FREE CHAPTER 2. Managing User Authentication 3. Managing Storage Repositories 4. Creating Virtual Machines 5. Managing Virtual Machines 6. Managing XenServer and Virtual Machine Memory 7. Managing XenServer Networking 8. Managing High Availability and Snapshots 9. Protecting and Monitoring XenServer Supported Guest Operating Systems and Virtual Machine Templates Applying Updates and Hotfixes Index

Licensing XenServer


XenServer is available in four editions but you can move towards virtualization (if you have not yet done this in your enterprise) with just the free edition. It can be used without time limits and restrictions. Citrix requires you only to activate the product within 30 days after you have installed it and then renew the free license on an annual basis.

Activating a free edition

To activate the free edition, follow this procedure:

  1. Request an activation key from Citrix using XenCenter.

  2. Click on the Tools menu and select License Manager.

  3. Select one or more hosts that you wish to activate. Click on Activate Free XenServer and then select Request Activation Key, as shown in the following screenshot:

  4. XenCenter opens a web browser and takes you to the Citrix XenServer Activation page as shown in the following screenshot:

    If XenCenter is unable to connect to the activation page (because the Internet connection is down, for example), then XenCenter gives you the option to save a .txt file locally with the activation request information.

    Note

    You can upload the .txt file to https://activate.vmd.citrix.com at a later date.

  1. Enter your details in the activation form, and then click on Submit. An e-mail with the activation key (.xslic file extension) will be sent to you shortly afterwards.

  2. Save the attached activation key to a known location on the computer running XenCenter or xe CLI.

  3. Apply the activation key to your XenServer host using XenCenter or xe CLI.

To apply an activation key using XenCenter:

  1. Click on the Tools menu and select License Manager.

    Note

    You can also launch the XenCenter License Manager by double-clicking the activation key file in Windows Explorer.

  2. Select the host you wish activate (you can only activate one host at a time). Click on Activate Free XenServer, and then select Apply Activation Key as shown in the following screenshot:

  3. Browse to and select the activation key file, and select Open as shown in the following screenshot:

  4. The information shown in the XenCenter License Manager will be updated as shown in the following screenshot:

  5. To install an activation key using xe CLI, open a console on the host and run the following command:

xe host-license-add [license-file=<<path/license_filename>>]

Activating a non-free edition

XenServer Advanced, Enterprise, and Platinum editions use the same licensing model as other Citrix products.

XenServer Advanced editions and higher require a license for each XenServer host you use. All XenServer editions licenses must be added to and managed from a Citrix Licensing Server. If you are familiar with other Citrix products, you know this is the standard approach for licensing them. Citrix License Server stores licenses for all Citrix products and allocates them per users or devices.

Each XenServer host requires a license, but this does not limit the number of users that may connect to VMs on that host. While licensing must be configured for each XenServer host, the XenCenter License Manager allows you to apply the same settings to multiple hosts at once.

To license XenServer Advanced editions and higher:

  1. Install the Citrix License Server and console on a Microsoft Windows Server machine.

    Note

    XenServer 6.0 requires Citrix Licensing 11.6.1 or higher. Refer to Citrix license server documentation for setup available at http://support.citrix.com/proddocs/topic/technologies/lic-library-node-wrapper.html.

  2. Obtain your XenServer license files and load them onto the Citrix License Server.

  3. Configure licensing for each XenServer host using XenCenter or xe CLI.

To configure licensing for XenServer hosts using XenCenter:

  1. Click on Tools menu | License Manager.

  2. Select one or more host(s) that you wish to assign a license to. Click on Assign License.

  3. The Apply License dialog box opens.

  4. In the Apply License dialog box, choose the XenServer license edition and then enter the Citrix Licensing Server details. 27000 is the port that the licensing server uses by default for communication with Citrix products. If you changed the default port on the licensing server, enter the new number in the Port number box as shown in the following screenshot:

XenCenter contacts the specified license server and checks out a license for the specified host(s). The information shown in the XenCenter License Manager will be updated.

To release a license (to set a licensed host to the free XenServer edition) from the License Manager, select a host, and then click on Release License.

You can use the CLI to configure licensing for XenServer hosts as well.

To assign a license, execute the following command:

xe host-apply-edition edition=advanced|enterprise|platinum|enterprise-xd license-server-address=<license_server_address> host-uuid=<uuid_of_host> license-server-port=<license_server_port>

where:

  • The edition parameter is the edition of XenServer you have bought

  • The license-server-address parameter is the IP address of the license server

  • The host-uuid parameter is the unique identifier/object reference of the XenServer host

  • The license-server-port parameter is the port number you have set on the license server configuration

We will run following command to assign a Platinum license to xenserver1:

xe host-apply-edition edition=platinum license-server-address=192.168.1.3 host-uuid=bdced52b-2228-4fb4-b02e-211f9aef1db6 license-server-port=27000

You only need to supply the license server IP address and port number parameters the first time you assign a license. The values are stored and used automatically if you do not specify the license server parameters in the future.

If no host UUID is specified, the license will be applied to the host that you are running the command on.

You have been reading a chapter from
Citrix XenServer 6.0 Administration Essential Guide
Published in: Jun 2012
Publisher: Packt
ISBN-13: 9781849686167
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image