VMware VC-VLM4-C User Guide - Page 33

Import a Virtual Machine Template from vCenter

Page 33 highlights

Chapter 6 Setting Up Virtual Machine Templates Import a Virtual Machine Template from vCenter By default, only a system administrator can import virtual machine templates from vCenter. If you have a virtual machine in a resource pool managed by vCenter, you can import this machine as a virtual machine template to Lab Manager. If a virtual machine has vCenter snapshot files, Lab Manager imports the original virtual machine as a template and discards the snapshot files. The virtual machine must be powered off and in the same datacenter as the one being managed by Lab Manager. NOTE Before you import virtual machines from vCenter, they cannot be in a folder named VM. To import a virtual machine template from vCenter 1 In the left pane, select VM Templates. 2 Click Import VM Template. 3 Type a name. 4 (Optional) Type a description. 5 Select vCenter and select a virtual machine that is not managed by Lab Manager. 6 Click Next. 7 (Optional) Deselect the Perform customization check box if you do not want Lab Manager to customize the network settings for the virtual machine template or virtual machines based on the virtual machine template. 8 Specify the networking information for each NIC in the imported virtual machine template: a Select the Connected check box. b Choose a default virtual or physical network. c Choose a default IP addressing mode. 9 Select a storage lease. 10 Select a deployment lease. 11 Select the datastore to which you want to import the virtual machine template. 12 Select whether to copy or move the source virtual machine template. If you copy the virtual machine template, it continues to exist in the original location, but if you move the virtual machine template, it will not exist in this location. 13 Click Import. Lab Manager imports the virtual machine template into the current organization and displays it on the VM Templates page. Import a Virtual Machine Template from SMB Storage An SMB port needs to be open on the ESX host. Although Lab Manager opens the port during installation, you need to make sure that the port remains open after installation. To check the port status, run esxcfg-firewall -q smbClient on each host. By default, only a system administrator, an administrator with rights at the organization, and a template creator can import virtual machines as templates from an SMB share. IMPORTANT Do not import virtual machine templates manually with ESX commands. VMware, Inc. 33

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180

VMware, Inc.
33
Chapter 6
Setting Up Virtual Machine Templates
Import a Virtual Machine Template from vCenter
By default, only a system administrator can import virtual machine templates from vCenter.
If you have a virtual machine in a resource pool managed by vCenter, you can import this machine as a virtual
machine template to Lab Manager. If a virtual machine has vCenter snapshot files, Lab Manager imports the
original virtual machine as a template and discards the snapshot files.
The virtual machine must be powered off and in the same datacenter as the one being managed by
Lab Manager.
To import a virtual machine template from vCenter
1
In the left pane, select
VM Templates
.
2
Click
Import VM Template
.
3
Type a name.
4
(Optional) Type a description.
5
Select
vCenter
and select a virtual machine that is not managed by Lab Manager.
6
Click
Next
.
7
(Optional) Deselect the
Perform customization
check box if you do not want Lab Manager to customize
the network settings for the virtual machine template or virtual machines based on the virtual machine
template.
8
Specify the networking information for each NIC in the imported virtual machine template:
a
Select the
Connected
check box.
b
Choose a default virtual or physical network.
c
Choose a default IP addressing mode.
9
Select a storage lease.
10
Select a deployment lease.
11
Select the datastore to which you want to import the virtual machine template.
12
Select whether to copy or move the source virtual machine template.
If you copy the virtual machine template, it continues to exist in the original location, but if you move the
virtual machine template, it will not exist in this location.
13
Click
Import
.
Lab Manager imports the virtual machine template into the current organization and displays it on the VM
Templates page.
Import a Virtual Machine Template from SMB Storage
An SMB port needs to be open on the ESX host. Although Lab Manager opens the port during installation, you
need to make sure that the port remains open after installation. To check the port status, run
esxcfg-firewall -q smbClient
on each host.
By default, only a system administrator, an administrator with rights at the organization, and a template
creator can import virtual machines as templates from an SMB share.
N
OTE
Before you import virtual machines from vCenter, they cannot be in a folder named
VM
.
I
MPORTANT
Do not import virtual machine templates manually with ESX commands.