Book Image

PowerCLI Cookbook

By : Philip Brandon Sellers
Book Image

PowerCLI Cookbook

By: Philip Brandon Sellers

Overview of this book

Table of Contents (19 chapters)
PowerCLI Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring coredump settings for an ESXi host from PowerCLI


While not as frequent as a Windows Blue Screen of Death, VMware's similar purple diagnostic screen is something you will run into from time to time due to a hardware problem, a driver issue, or a firmware issue on an ESXi host. In these cases, collecting diagnostic information from a crash is very important to diagnose and solve the problem. At the same time, it has become very common to boot your ESXi host from a USB or SD media rather than from traditional hard disks.

If you use a USB or SD media to boot, you need to send coredumps to a persistent location. You have several options. VMware ships a network-based coredump collector that installs with vCenter. You can specify a network location to send coredumps to. You can also save them to a file or partition on the server. Coredumps to file was added in vSphere 5.5. Setting these settings is extremely easy to do with ESXCLI, but there aren't native PowerCLI cmdlets to handle this...