4.2.1
Table Of Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Introduction to Orchestrator Plug-Ins
- Using the vCenter Server 5.0.1 Plug-In
- Configure the vCenter Server 5.0.1 Plug-In
- vCenter Server 5.0.1 Plug-In Scripting API
- Using the vCenter Server Plug-In Inventory
- Access the vCenter Server Plug-In Workflow Library
- vCenter Server Plug-In Workflow Library
- Batch Workflows
- Cluster and Compute Resource Workflows
- Custom Attributes Workflows
- Datacenter Workflows
- Datastore and Files Workflows
- Datacenter Folder Management Workflows
- Host Folder Management Workflows
- Virtual Machine Folder Management Workflows
- Basic Host Management Workflows
- Power Host Management Workflows
- Host Management Registration Workflows
- Networking Workflows
- Distributed Virtual Port Group Workflows
- Distributed Virtual Switch Workflows
- Standard Virtual Switch Workflows
- Resource Pool Workflows
- Storage Workflows
- Storage DRS Workflows
- Basic Virtual Machine Management Workflows
- Clone Workflows
- Linked Clone Workflows
- Linux Customization Clone Workflows
- Tools Clone Workflows
- Windows Customization Clone Workflows
- Device Management Workflows
- Move and Migrate Workflows
- Other Workflows
- Power Management Workflows
- Snapshot Workflows
- VMware Tools Workflows
- Using the vCO Library Plug-In
- Using the Database Plug-In
- Using the SSH Plug-In
- Using the XML Plug-In
- Using the Mail Plug-In
- Using the Net Plug-In
- Using the Enumeration Plug-In
- Index
Method Returns Description
executeAndLog(string):Object Object
Runs a single command and waits until
it is completed.
executeCommand(string,boolean):
string
String
Runs a single command, waits until it is
completed, and returns the stdout
result, if synchronous. Leaves an open
session. You can disconnect the session
manually.
findAll(Path,string):string[]
Array of String Searches recursively and returns files
and directories that match a pattern.
Leaves an open session. You can
disconnect the session manually.
findDir(Path,string):string[]
Array of String Searches recursively and returns
directories that match a pattern. Leaves
an open session. You can disconnect the
session manually.
findFile(Path,string):string[]
Array of String Searches recursively and returns files
that match a pattern. Leaves an open
session. You can disconnect the session
manually.
getFile(Path,Path):number Number
Copies a file from a remote host to the
Orchestrator server. Leaves an open
session. You can disconnect the session
manually. Returns 0 if successful, -1 if
an error has occured, and -2 if a fatal
error has occured.
listAll(Path):string[]
Array of String Lists files and directories in a path.
Leaves an open session. You can
disconnect the session manually.
listDir(Path):string[]
Array of String Lists directories in a path. Leaves an
open session. You can disconnect the
session manually.
listFile(Path):string[]
Array of String Lists files in a path. Leaves an open
session. You can disconnect the session
manually.
putFile(Path,Path):number Number
Copies a file from the Orchestrator
server to a remote host. The destination
directory must exist. Returns 0 if
successful, or -1 if an error has occured.
Running the SSH Plug-In Sample Workflows
You can run the SSH plug-in sample workflows from the Orchestrator client to test the connection between
the Orchestrator server and the SSH host.
Generate a Key Pair
You can run a workflow from the Orchestrator client to generate a key pair. You can use the key pair to connect
to an SSH host without a password.
A key pair consists of a public key and a private key. Orchestrator can use the private key to connect to the
public key on an SSH host. You can use a passphrase to improve security.
CAUTION All Orchestrator users with the right set of privileges can read, use, and overwrite your private key.
Using VMware vCenter Orchestrator Plug-Ins
46 VMware, Inc.