4.2
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 4.1 Plug-In
- 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
44 VMware, Inc.