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

Enable Stateful Installs for Hosts Provisioned with Auto Deploy

Page 186 highlights

vSphere Installation and Setup 7 If you selected Enable stateless caching on the host, specify information about the disk to use. Option Arguments for first disk Check to overwrite any VMFS volumes on the selected disk Description By default, the system attempts to replace an existing ESXi installation, and then attempts to write to the local disk. You can use the Arguments for first disk field to specify a commaseparated list of disks to use, in order of preference. You can specify more than one disk. Use esx for the first disk with ESX installed on it, use model and vendor information, or specify the name of the vmkernel device driver. For example, to have the system first look for a disk with the model name ST3120814A, second for any disk that uses the mptsas driver, and third for the local disk, specify ST3120814A,mptsas,local as the value of this field. If you click this check box, the system overwrites existing VMFS volumes if not enough space is available to store the image, image profile, and host profile. 8 Click Finish to complete the host profile configuration. 9 Apply the host profile with the vSphere Web Client or the vSphere PowerCLI. Option vSphere Web Client vSphere PowerCLI Description Use the host profiles interface of the vSphere Web Client. See the Host Profiles documentation. See "Assign a Host Profile to Hosts," on page 174. Enable Stateful Installs for Hosts Provisioned with Auto Deploy You can set up hosts provisioned with Auto Deploy to cache the image to disk and to use the cached image on subsequent boots. After the image is cached, the hosts act like hosts on which an image is installed. Prepare Hosts Provisioned with Auto Deploy for Stateful Installs In some situations, it is useful to provision hosts with Auto Deploy and to perform all subsequent boots from disk. This approach is called Stateful Installs. Prerequisites Decide which disk to use for storing the image, and determine whether the new image will overwrite an existing VMFS partition. Procedure 1 Set up your environment for Auto Deploy and install PowerCLI. See "Preparing for vSphere Auto Deploy," on page 167. 2 Verify that a disk with at least 1GB of free space is available. If the disk is not partitioned, partitioning happens when you apply the host profile. 3 Set up the host to boot from disk. See your hardware vendor's documentation. Configure a Host Profile to Enable Stateful Installs To set up a host provisioned with Auto Deploy to boot from disk, you must configure a host profile. You can apply that host profile to other hosts that you want to set up for stateful installs. You can configure the host profile on a single host. You can also create a host profile on a reference host and apply that host profile to other hosts. 186 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

7
If you selected
Enable stateless caching on the host
, specify information about the disk to use.
Option
Description
Arguments for first disk
By default, the system attempts to replace an existing ESXi installation, and
then attempts to write to the local disk.
You can use the
Arguments for first disk
field to specify a comma-
separated list of disks to use, in order of preference. You can specify more
than one disk. Use
esx
for the first disk with ESX installed on it, use model
and vendor information, or specify the name of the vmkernel device
driver. For example, to have the system first look for a disk with the model
name ST3120814A, second for any disk that uses the mptsas driver, and
third for the local disk, specify
ST3120814A,mptsas,local
as the value of
this field.
Check to overwrite any VMFS
volumes on the selected disk
If you click this check box, the system overwrites existing VMFS volumes if
not enough space is available to store the image, image profile, and host
profile.
8
Click
Finish
to complete the host profile configuration.
9
Apply the host profile with the vSphere Web Client or the vSphere PowerCLI.
Option
Description
vSphere Web Client
Use the host profiles interface of the vSphere Web Client. See the
Host
Profiles
documentation.
vSphere PowerCLI
See
“Assign a Host Profile to Hosts,”
on page 174.
Enable Stateful Installs for Hosts Provisioned with Auto Deploy
You can set up hosts provisioned with Auto Deploy to cache the image to disk and to use the cached image
on subsequent boots. After the image is cached, the hosts act like hosts on which an image is installed.
Prepare Hosts Provisioned with Auto Deploy for Stateful Installs
In some situations, it is useful to provision hosts with Auto Deploy and to perform all subsequent boots
from disk. This approach is called Stateful Installs.
Prerequisites
Decide which disk to use for storing the image, and determine whether the new image will overwrite an
existing VMFS partition.
Procedure
1
Set up your environment for Auto Deploy and install PowerCLI.
See
“Preparing for vSphere Auto Deploy,”
on page 167.
2
Verify that a disk with at least 1GB of free space is available.
If the disk is not partitioned, partitioning happens when you apply the host profile.
3
Set up the host to boot from disk.
See your hardware vendor's documentation.
Configure a Host Profile to Enable Stateful Installs
To set up a host provisioned with Auto Deploy to boot from disk, you must configure a host profile. You
can apply that host profile to other hosts that you want to set up for stateful installs.
You can configure the host profile on a single host. You can also create a host profile on a reference host and
apply that host profile to other hosts.
vSphere Installation and Setup
186
VMware, Inc.