4.0

Table Of Contents
Set Up the Refactoring Tutorial Example Application (Optional)
You can use the Refactor Tutorial example to experiment with the refactoring workflows. You can import the
example package into Orchestrator and set up the example.
The Refactor Tutorial example consists of a package containing two basic workflows and a Web view.
n
The Suspend virtual machine workflow requests the suspension of a virtual machine running in a VMware
Infrastructure 3.5 inventory and waits for the VMware Infrastructure to complete the suspension request.
n
The Resume virtual machine workflow requests the resumption of the VMware Infrastructure 3.5 virtual
machine and waits for the VMware Infrastructure to complete the resumption request.
n
The Refactor Tutorial Web view allows you to run the Suspend virtual machine and Resume virtual
machine workflows from a Web interface in a browser.
Initially, the Refactor Tutorial Web view accesses and interacts with virtual machines running in theVMware
Infrastructure 3.5 inventory. After you run the refactoring workflow, this Web view application accesses and
interacts with the virtual machines in the vCenter Server 4.0 inventory instead.
Prerequisites
n
You must have the VMware Infrastructure 3.5 and the vCenter Server 4.0 plug-ins installed on the
Orchestrator server.
n
Orchestrator must be connected to a VMware Infrastructure 3.5 server and to a vCenter Server 4.0 server,
with virtual machines running in both.
n
You must have downloaded the ZIP file of examples from the Orchestrator documentation index page.
See “Example Applications,” on page 9.
Procedure
1 Unzip the ZIP file of examples to an appropriate location.
2 Open
<installation_directory>
/Refactoring.
The Refactoring folder contains com.vmware.refactor.tutorial.package.
3 Import com.vmware.refactor.tutorial.package.
a Click the Packages view in the left pane of the Orchestrator client.
b Right-click anywhere on the whitespace under the list of packages and select Import Package.
c Locate com.vmware.library.refactor.tutorial.package and click Open.
Information about the package certificates appears.
d Click Import.
The package contents appear, with a checklist of elements to import.
e Click Import checked elements.
4 Select Documentation > Refactor tutorial to check that the Refactoring Tutorial workflows are present in
the Workflows view in the left pane.
5 Start the Refactor Tutorial Web view.
a Click the Web Views view in the left pane.
b Right-click the Refactor Tutorial Web view and select Publish to start it.
6 In a Web browser, go to http://
Orchestrator_server
:8280, in which Orchestrator_server is the name or IP
address of the machine on which the Orchestrator server is running.
Chapter 10 Refactoring Orchestrator Applications After Upgrading vCenter Server
VMware, Inc. 331