PART IInstall, Configure, and Manage the vSphere EnvironmentCHAPTER 1: AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION CHAPTER 2: AUTOMATIN
10 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION.EXAMPLE 1 PS> Import-Folders -FolderType “Blue” -DC “DC01” ` -Filen
SET UP YOUR VCENTER SERVER FOLDER STRUCTURE 11Install, Con gure, and Manage the vSphere EnvironmentPART IExporting a Folder StructureBoth yellow a
12 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONFunction Export-Folders { <#.SYNOPSIS Creates a csv file of folders in v
SET UP YOUR VCENTER SERVER FOLDER STRUCTURE 13Install, Con gure, and Manage the vSphere EnvironmentPART I get-folder | Get-Folderpath $Report
14 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION }}Export-Folders “Blue” “DC01” “C:\BlueFolders.csv”Export-VMLocation “DC01”
DEFINE USERS AND THEIR PRIVILEGES 15Install, Con gure, and Manage the vSphere EnvironmentPART I ) Process { $Report = @() $Report = import-c
16 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONFIGURE 1.2 vCenter Server PrivilegesRoles are listed herePrivileges are list
DEFINE USERS AND THEIR PRIVILEGES 17Install, Con gure, and Manage the vSphere EnvironmentPART ICapacity planning Discover and convert phys
18 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONYou can view which groups (collections of privileges) are available by using
DEFINE USERS AND THEIR PRIVILEGES 19Install, Con gure, and Manage the vSphere EnvironmentPART IManage Baseline Manage baselinesUp
890790c01.indd 2890790c01.indd 2 3/3/11 10:22:15 AM3/3/11 10:22:15 AM
20 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONVirtualMachinePowerUser Provides virtual machine interaction...VirtualMa
DEFINE USERS AND THEIR PRIVILEGES 21Install, Con gure, and Manage the vSphere EnvironmentPART IA new role can also be created at a granular level.
22 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONA er you’ve set up and tested individual permissions, you can export them to
DEFINE USERS AND THEIR PRIVILEGES 23Install, Con gure, and Manage the vSphere EnvironmentPART I $report = @() foreach($perm in $permissions
24 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION $report | export-csv $Filename -NoTypeInformation }}Export-PermissionsTo
DEFINE USERS AND THEIR PRIVILEGES 25Install, Con gure, and Manage the vSphere EnvironmentPART I $permissions = @() $permissions = Import-Csv $File
26 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION } else { $setperm.propagate = $false } $doactual = Get-View -Id `
CONFIGURE DATACENTERS AND CLUSTERS 27Install, Con gure, and Manage the vSphere EnvironmentPART ICreating DatacentersDatacenters are generally crea
28 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONLISTING 1.8 Enabling HA with a failover host level and Restart Priority on a
CONFIGURE DATACENTERS AND CLUSTERS 29Install, Con gure, and Manage the vSphere EnvironmentPART ITo complete this same action on an existing cluste
CHAPTER 1Automating vCenter Server Deployment and ConfigurationIN THIS CHAPTER, YOU WILL LEARN TO:PREPARE THE VCENTER SERVER INSTALLATION 4CREATE
30 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION.DESCRIPTION This function will allow you to configure DPM on an existing v
LICENSING 31Install, Con gure, and Manage the vSphere EnvironmentPART I $clus = Get-Cluster $Cluster | Get-View $spec = New-Object vmware.Vim.C
32 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION.NOTES Source: Automating vSphere Administration Authors: Luc Dekens, Arni
LICENSING 33Install, Con gure, and Manage the vSphere EnvironmentPART IDynamicProperty : LicenseKey : AAAAA-BBBBB-CCCCC-DDDDD-EEEEE EditionKey
34 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATION -VMHost “esxhost01.mydomain.com” ` -Name $null#>param( [Str
CHAPTER 1O ne of the focal points and key use cases of PowerCLI is the automation of tasks that are needed either as part of a disaster recovery (DR)
CREATE AN AUTOMATED INSTALLATION 5Install, Con gure, and Manage the vSphere EnvironmentPART I e system is joined to a domain, and not a workgrou
6 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONitems clearly de ned within the script, using a script like this ensures each
CREATE AN AUTOMATED INSTALLATION 7Install, Con gure, and Manage the vSphere EnvironmentPART I$DrvPath = “C:\WINDOWS\system32\sqlncli10.dll”New-Reg
8 CHAPTER 1 • AUTOMATING VCENTER SERVER DEPLOYMENT AND CONFIGURATIONTo add the Host Update Utility component, try this next code:# Install vCenter
SET UP YOUR VCENTER SERVER FOLDER STRUCTURE 9Install, Con gure, and Manage the vSphere EnvironmentPART IFIGURE 1.1 Sample CSV layoutIn the exampl
Comments to this Manuals