万本电子书0元读

万本电子书0元读

顶部广告

PowerCLI Cookbook电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Philip Sellers

出  版  社:Packt Publishing

出版时间:2015-03-25

字       数:216.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are a virtualization professional who wants to unleash the power of automation and combat the complexity of sprawling virtual environments, this book is ideal for you. This book will enhance your skills of administering VMware vSphere and vCloud Director with PowerCLI.
目录展开

PowerCLI Cookbook

Table of Contents

PowerCLI Cookbook

Credits

About the Author

Acknowledgments

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Instant updates on new Packt books

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Configuring the Basic Settings of an ESXi Host with PowerCLI

Introduction

Connecting to an ESXi host or a vCenter instance

Getting ready

How to do it...

How it works…

There's more…

See also

Getting the VMware host object

Getting ready

How to do it...

How it works…

There's more…

See also

Joining an ESXi host into Active Directory

Getting ready

How to do it...

How it works…

There's more…

See also

Enabling services and setting security profiles

Getting ready

How to do it…

How it works…

There's more…

Setting network configuration

Getting ready

How to do it...

How it works…

There's more…

See also

Creating datastores on an ESXi host

Getting ready

How to do it…

How it works…

See also

Configuring syslog settings on an ESXi host

Getting ready

How to do it…

How it works…

There's more…

Joining an ESXi host to vCenter

Getting ready

How to do it…

How it works…

See also

Creating a configuration script to set all properties uniformly

Getting ready

How to do it…

How it works…

See also

2. Configuring vCenter and Computing Clusters

Introduction

Creating a virtual datacenter in vCenter

Getting ready

How to do it…

How it works…

Creating a cluster and adding ESXi hosts

Getting ready

How to do it…

How it works…

There's more…

See also

Setting cluster advanced features, including HA, DRS, and EVC

Getting ready

How to do it…

How it works…

There's more…

See also

Setting up resource pools

Getting ready

How to do it…

How it works…

There's more…

See also

Setting up folders to organize objects in vCenter

Getting ready

How to do it…

How it works…

There's more…

See also

Setting permissions on vCenter objects

Getting ready

How to do it…

How it works…

There's more…

3. Managing Virtual Machines

Introduction

Deploying the first virtual machine

Getting Started

How to do it…

How it works…

There's more…

See also

Cloning a virtual machine to a template

Getting Started

How to do it…

How it works…

There's more…

See also

Deploying new virtual machines from a template

Getting Started

How to do it…

How it works…

There's more…

Importing a virtual appliance from OVA

Getting Started

How to do it…

How it works…

There's more…

See also

Performing a hot add of virtual hardware to an existing virtual machine

Getting Started

How to do it…

How it works…

There's more…

See also

Enabling and disabling Fault Tolerance on a virtual machine

Getting Started

How to do it…

How it works…

See also

Increasing the disk space in a virtual machine

Getting Started

How to do it…

How it works…

Upgrading the virtual hardware version of a virtual machine

Getting Started

How to do it…

How it works…

See also

Locating and reloading inaccessible or invalid virtual machines

Getting Started

How to do it…

How it works…

Setting VMware Tool settings from PowerCLI

Getting Started

How to do it…

How it works…

Creating basic reports of VM properties using VMware Tools and PowerCLI

Getting Started

How to do it…

How it works…

There's more…

See also

4. Working with Datastores and Datastore Clusters

Introduction

Performing Storage vMotion

Getting ready

How to do it…

How it works…

There's more…

Finding Raw Disk Mappings in your environment

Getting ready

How to do it…

How it works…

There's more…

See also

Locating thin or thick provisioned disks

Getting ready

How to do it…

How it works…

There's more…

Converting thin to thick disks with Storage vMotion

Getting ready

How to do it…

How it works…

There's more…

Creating and managing datastore clusters

Getting ready

How to do it…

How it works…

Setting Storage DRS automation levels for individual virtual machines

Getting ready

How to do it…

How it works…

There's more…

Setting Storage DRS automation levels for individual VMs using PowerCLI 6

Getting ready

How to do it…

How it works…

5. Creating and Managing Snapshots

Introduction

Creating a snapshot

Getting Started

How to do it…

How it works…

There's more…

See also

Getting a list of snapshots in the environment

Getting Started

How to do it…

How it works…

There's more…

Manipulating the list of snapshots to get better information

Getting Started

How to do it…

How it works…

There's more…

See also


Scoping and filtering a list of snapshots

Getting Started

How to do it…

How it works…

There's more…

Removing targeted snapshots

Getting Started

How to do it…

How it works…

There's more…

Find lost or unknown snapshots

Getting Started

How to do it…

How it works…

Creating a function to automatically remediate snapshots

Getting Started

How to do it…

How it works…

There's more…

See also

Scheduling automatic snapshot remediation

Getting Started

How to do it…

How it works…

See also

Creating a snapshot management module

Getting Started

How to do it…

How it works…

There's more…

6. Managing Resource Pools, Reservations, and Limits for Virtual Machines

Introduction

Setting reservations and limits for resource pools

Getting ready

How to do it…

How it works…

There's more…

See also

Balancing share allocations on resource pools

Getting ready

How to do it…

How it works…

There's more…

See also

Creating a custom attribute with a number of shares per VM on each resource pool

Getting ready

How to do it…

How it works…

Automating share allocation balancing

Getting ready

How to do it…

How it works…

There's more…

See also

Reporting shares, reservations, and limits of resource pools and virtual machines

Getting ready

How to do it…

How it works…

There's more…

See also

7. Creating Custom Reports and Notifications for vSphere

Introduction

Getting alerts from a vSphere environment

Getting ready

How to do it…

How it works…

There's more…

See also

Basics of formatting output from PowerShell objects

Getting ready

How to do it…

How it works…

There's more…

See also

Sending output to CSV and HTML

Getting ready

How to do it…

How it works…

There's more…

Reporting VM objects created during a predefined time period from VI Events object

Getting ready

How to do it…

How it works…

There's more…

See also

Setting custom properties to add useful context to your virtual machines

Getting ready

How to do it…

How it works…

There's more…

See also

Using PowerShell native capabilities to schedule scripts

Getting ready

How to do it…

How it works…

There's more…

See also

8. Performing ESXCLI and in-guest Commands from PowerCLI

Introduction

Retrieving the ESXCLI object in PowerCLI

Getting ready

How to do it…

How it works…

There's more...

Using the ESXCLI vm namespace to kill a misbehaving VM

Getting ready

How to do it…

How it works…

There's more…

Performing ESXi ping with an ESXCLI object

Getting ready

How to do it…

How it works…

There's more…

See also

Configuring custom storage and path selection policies

Getting ready

How to do it…

How it works…

There's more…

See also

Configuring coredump settings for an ESXi host from PowerCLI

Getting ready

How to do it…

How it works…

There's more…

See also

Executing native commands inside the guest operating system from PowerCLI

Getting ready

How to do it…

How it works…

There's more…

See also

9. Managing DRS and Affinity Groups using PowerCLI

Introduction

Applying recommendations for partially automated DRS clusters

Getting ready

How to do it…

How it works…

There's more…

See also

Setting a cluster into maintenance mode with PowerCLI

Getting ready

How to do it...

There's more...

Using native DRS rule cmdlets to manage KeepTogether and Separate rules

Getting ready

How to do it…

How it works…

Learning the MoRef way of identifying objects

Getting ready

How to do it…

How it works…

There's more…

Creating a DRS group for virtual machines

Getting ready

How to do it…

How it works…

There's more…

See also

Listing the members of a DRS group

Getting ready

How to do it…

How it works…

There's more…

See also

Updating the members of a VM DRS group

Getting ready

How to do it…

How it works…

Creating a custom function to update members of a DRS group

Getting ready

How to do it…

How it works…

There's more…

See also

Creating rules to maintain memberships of DRS groups using a custom function

Getting ready

How to do it…

How it works…

There's more…

See also

Using Compare-Object to audit group memberships for differences

Getting ready

How to do it…

How it works…

See also

10. Working with vCloud Director from PowerCLI

Introduction

Connecting to a vCloud environment

Getting ready

How to do it…

How it works…

There's more…

Creating and managing organizations in vCloud

Getting ready

How to do it…

How it works…

There's more…

Creating a new user in an organization using Views

Getting ready

How to do it…

How it works…

See also

Creating an organization's virtual datacenter in vCloud Director

Getting ready

How to do it…

How it works…

Importing a vApp template into vCloud

Getting ready

How to do it…

How it works…

There's more…

Configuring networking in a vCloud vApp

Getting ready

How to do it…

How it works…

Reassigning vApp VM network settings with PowerCLI

Getting ready

How to do it…

How it works…

There's more…

Starting and stopping vApps and individual VMs in a vCloud

Getting ready

How to do it…

How it works…

A. Setting up and Configuring vCloud Director

The hosted vCloud environment

Deploying the vCloud Director environment from AutoLab

Build your own vCloud Director implementation on your vSphere lab environment

Additional resources

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部