VMware VS4-ENT-PL-A Setup Guide - Page 184

Set Up Stateless Hosts to Use Auto Deploy with Caching, Prepare for Auto Deploy with Stateless Caching

Page 184 highlights

vSphere Installation and Setup 3 Auto Deploy provisions each host with the new image profile. The exact effect of applying the host profile depends on the host profile you selected and on whether the host was previously provisioned with Auto Deploy. Table 7‑9. First Boot and Subsequent Boots Comparison First Boot Subsequent Boots For stateful installs, Auto Deploy installs the image. For stateful installs, the host boots from disk. For stateless caching, Auto Deploy provisions the host and caches the image. For stateless caching, Auto Deploy provisions the host. n If Auto Deploy provisioned the host before but stateless caching was not set up before, Auto Deploy caches the image. n If Auto Deploy provided the host before and cached the image, Auto Deploy provisions the host using the information in the rules. n If Auto Deploy is unavailable, the host boots from the cached image. Set Up Stateless Hosts to Use Auto Deploy with Caching You can set up your system to provision hosts with Auto Deploy, and configure the hosts to use stateless caching. If the Auto Deploy server is not available when a host reboots, the host uses the cached image. A host that is set up for stateless caching uses the cached image only if the Auto Deploy server is not available when the host reboots. In all other situations, the host is provisioned with Auto Deploy. If you change the rule that applies an image profile to the host, and you perform a test and repair compliance operation, Auto Deploy provisions the host with the new image and the new image is cached. Set up a highly available Auto Deploy infrastructure to guarantee that virtual machines are migrated to the host if the host reboots. Because vCenter Server assigns virtual machines to the host, vCenter Server must be available. See "Set up a Highly Available Auto Deploy Infrastructure," on page 204. You can set up your environment for stateless caching by applying host profiles directly or by using PowerCLI rules. Table 7‑10. Setting up hosts for stateless caching or stateful installs Workflow Stateless caching Stateful install Apply host profile directly Write and apply PowerCLI rules Apply the host profile either to individual hosts or to all hosts in a folder or cluster. See "Configure a Host Profile to Use Stateless Caching," on page 185. Apply the host profile either to individual hosts or to all hosts in a folder or cluster. See "Configure a Host Profile to Enable Stateful Installs," on page 186. Set up a reference host with a host profile that has the caching setup you want. Write an Auto Deploy PowerCLI rule that provisions the host and that applies a host profile that is set up for stateless caching. See "Assign a Host Profile to Hosts," on page 174. Set up a reference host with a host profile that has the caching setup you want. Write an Auto Deploy PowerCLI rule that provisions the host and that applies a host profile that is set up for stateful installs. See "Assign a Host Profile to Hosts," on page 174. Prepare for Auto Deploy with Stateless Caching Before you can start provisioning a host that uses stateless caching with Auto Deploy, you must verify that your environment is set up for Auto Deploy, prepare Auto Deploy PowerCLI rules, and set the host boot order. Prerequisites n Decide which disk to use for caching and determine whether the caching process will overwrite an existing VMFS partition. 184 VMware, Inc.

  • 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
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276

3
Auto Deploy provisions each host with the new image profile. The exact effect of applying the host
profile depends on the host profile you selected and on whether the host was previously provisioned
with Auto Deploy.
Table 7
9.
First Boot and Subsequent Boots Comparison
First Boot
Subsequent Boots
For stateful installs, Auto Deploy installs the image.
For stateful installs, the host boots from disk.
For stateless caching, Auto Deploy provisions the host
and caches the image.
For stateless caching, Auto Deploy provisions the host.
n
If Auto Deploy provisioned the host before but
stateless caching was not set up before, Auto Deploy
caches the image.
n
If Auto Deploy provided the host before and cached
the image, Auto Deploy provisions the host using
the information in the rules.
n
If Auto Deploy is unavailable, the host boots from
the cached image.
Set Up Stateless Hosts to Use Auto Deploy with Caching
You can set up your system to provision hosts with Auto Deploy, and configure the hosts to use stateless
caching. If the Auto Deploy server is not available when a host reboots, the host uses the cached image.
A host that is set up for stateless caching uses the cached image only if the Auto Deploy server is not
available when the host reboots. In all other situations, the host is provisioned with Auto Deploy. If you
change the rule that applies an image profile to the host, and you perform a test and repair compliance
operation, Auto Deploy provisions the host with the new image and the new image is cached.
Set up a highly available Auto Deploy infrastructure to guarantee that virtual machines are migrated to the
host if the host reboots. Because vCenter Server assigns virtual machines to the host, vCenter Server must be
available. See
“Set up a Highly Available Auto Deploy Infrastructure,”
on page 204.
You can set up your environment for stateless caching by applying host profiles directly or by using
PowerCLI rules.
Table 7
10.
Setting up hosts for stateless caching or stateful installs
Workflow
Stateless caching
Stateful install
Apply host profile directly
Apply the host profile either to
individual hosts or to all hosts in a folder
or cluster. See
“Configure a Host Profile
to Use Stateless Caching,”
on page 185.
Apply the host profile either to individual
hosts or to all hosts in a folder or cluster. See
“Configure a Host Profile to Enable Stateful
Installs,”
on page 186.
Write and apply PowerCLI
rules
Set up a reference host with a host
profile that has the caching setup you
want. Write an Auto Deploy PowerCLI
rule that provisions the host and that
applies a host profile that is set up for
stateless caching. See
“Assign a Host
Profile to Hosts,”
on page 174.
Set up a reference host with a host profile that
has the caching setup you want. Write an
Auto Deploy PowerCLI rule that provisions
the host and that applies a host profile that is
set up for stateful installs. See
“Assign a Host
Profile to Hosts,”
on page 174.
Prepare for Auto Deploy with Stateless Caching
Before you can start provisioning a host that uses stateless caching with Auto Deploy, you must verify that
your environment is set up for Auto Deploy, prepare Auto Deploy PowerCLI rules, and set the host boot
order.
Prerequisites
n
Decide which disk to use for caching and determine whether the caching process will overwrite an
existing VMFS partition.
vSphere Installation and Setup
184
VMware, Inc.