Solo disponible en BuenasTareas
  • Páginas : 24 (5785 palabras )
  • Descarga(s) : 4
  • Publicado : 7 de julio de 2010
Leer documento completo
Vista previa del texto
vSphere Command-Line Interface Installation and Reference Guide
ESX/ESXi 4.0 vCenter Server 4.0


vSphere Command-Line Interface Installation and Reference Guide

You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about thisdocumentation, submit your feedback to: docfeedback@vmware.com 

© 2008, 2009 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware, the VMware “boxes” logo and design, Virtual SMP, and VMotion are registered trademarks ortrademarks of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com


VMware, Inc.


About This Book


1 vSphere CLI Installation, Execution, and Command Overviews 9Installing and Using vSphere CLI Commands 9 Installing vSphere CLI and Running Commands on Linux 10 Unpacking and Installing the vSphere CLI Package 11 Running vSphere CLI Commands 11 Uninstalling the vSphere CLI Package 12 Installing vSphere CLI and Running Commands on Windows 12 Uninstalling the vSphere CLI Package 13 Installing vMA and Running Commands from vMA 13 Specifying Authentication Information 13 Order of Precedence 14Using a Session File 14 Using Environment Variables 15 Using a Configuration File 15 Using Command‐Line Options 15 Using Microsoft Windows Security Support Provider Interface (SSPI) Available Options for vSphere CLI Execution 16 Using vSphere CLI Commands in Scripts 18 List of Available Commands 19 Supported Platforms for Commands 20 Commands with an esxcfg Prefix 22


2 vSphere CLI Reference 25Storage Management Commands 25 Diagnostic Partition Management with vicfg‐dumppart 25 Basic Storage Array Management with vicfg‐mpath 27 NAS File System Management with vicfg‐nas 28 Available LUN Discovery with vicfg‐scsidevs 29 Rescan Operations with vicfg‐rescan 30 Networking Commands 31 DNS Configuration Specification with vicfg‐dns 31 Physical NIC Management with vicfg‐nics 32NTP Server Specification with vicfg‐ntp 33 Route Entry Manipulation with vicfg‐route 34 VMkernel NICs Management with vicfg‐vmknic 35 Virtual Switch Management with vicfg‐vswitch 36 System Management Commands 39 Using resxtop for Performance Monitoring 39 Configuration Information Backup with vicfg‐cfgbackup 39 SNMP Management with vicfg‐snmp 40 Syslog Server Specification with vicfg‐syslog 41Update Management with vihostupdate 42 Virtual Machine Management Commands 44 Virtual Machine Migration with svmotion 44

VMware, Inc.


vSphere Command-Line Interface Installation and Reference Guide

Miscellaneous Management Commands 46 Advanced Management with vicfg‐advcfg 46 VMkernel Module Manipulation with vicfg‐module User and Group Management with vicfg‐user 48 Volume Management with vicfg‐volume 49File System Manipulation with vifs 50


3 File System Management with vmkfstools 53
vmkfstools Command Syntax 53 Supported Command‐Specific Options 54 Supported Targets 55 File System Target 55 Disk Partition Target 55 Device Target 55 vmkfstools File System Options 55 VMFS File System Creation 55 Attribute Listing for a VMFS Volume 56 File System Partition Extension by Spanning 57vmkfstools Virtual Disk Options 57 Supported Disk Formats 57 Creating Virtual Disks 58 Initializing Virtual Disks 58 Inflating Thin Virtual Disks 59 Deleting Virtual Disks 59 Renaming Virtual Disk 59 Cloning Virtual or Raw Disks 59 Migrating VMware Workstation and VMware GSX Server Virtual Machines 60 Extending Virtual Disks 60 Creating Virtual Compatibility Mode Raw Device Mappings 61...
tracking img