4.5

Table Of Contents
Using a Token in a Desktop Name
You can place the automatically generated number anywhere else in the name by using a token. When you
type the pool name, type n surrounded by curly brackets to designate the token.
For example: amber-{n}-desktop
When View Manager creates a desktop, View Manager replaces {n} with a unique number.
You can generate a fixed-length token by typing {n:fixed=
number of digits
}.
View Manager replaces the token with numbers containing the specified number of digits.
For example, if you type amber-{n:fixed=3}, View Manager replaces {n:fixed=3} with a three-digit number
and creates these desktop names: amber-001, amber-002, amber-003, and so on.
Length of the Naming Pattern When You Use a Fixed-Length Token
Names that contain fixed-length tokens have a 15-character limit, including your naming pattern and the
number of digits in the token.
Table 5-18. Maximum Length of the Naming Pattern When You Use a Fixed-Length Token
Fixed-Length Token
Maximum Length of the Naming Pattern
{n:fixed=1}
14 characters
{n:fixed=2}
13 characters
{n:fixed=3}
12 characters
Desktop-Naming Example
This
example shows how to create two automated desktop pools that use the same desktop names, but different
sets of numbers. The strategies that are used in this example achieve a specific user objective and show the
flexibility of the desktop-naming methods.
The objective is to create two pools with the same naming convention such as VDIABC-XX, where XX
represents a number. Each pool has a different set of sequential numbers. For example, the first pool might
contain desktops VDIABC-01 through VDIABC-10. The second pool contains desktops VDIABC-11 through
VDIABC-20.
You can use either desktop-naming method to satisfy this objective.
n
To create fixed sets of desktops at one time, specify desktop names manually.
n
To create desktops dynamically when users log in for the first time, provide a naming pattern and use a
token to designate the sequential numbers.
Specifying the Names Manually
1 Prepare a text file for the first pool that contains a list of desktop names from VDIABC-01 through
VDIABC-10.
2 In View Administrator, create the pool and specify desktop names manually.
3 Click Enter Names and copy your list into the Enter Desktop Names list box.
4 Repeat these steps for the second pool, using the names VDIABC-11 through VDIABC-20.
For detailed instructions, see “Specify a List of Desktop Names,” on page 100.
You can add desktops to each pool after it is created. For example, you can add desktops VDIABC-21 through
VDIABC-30 to the first pool, and VDIABC-31 through VDIABC-40 to the second pool. See “Add Desktops to
an Automated Pool Provisioned by a List of Names,” on page 177.
VMware View Administrator's Guide
102 VMware, Inc.