4.0

Table Of Contents
7 Select Web View List > Refactor Tutorial.
8 Log in using the same user name and password that you use to access the Orchestrator client.
You installed the Refactor Tutorial example. The Refactor Tutorial Web view allows you to suspend and resume
virtual machines running in the VMware Infrastructure 3.5 server. You can experiment with refactoring an
application from VMware Infrastucture 3.5 to vCenter Server 4.0.
What to do next
You can refactor this example application.
Run the Basic Refactoring Workflow
The basic refactoring workflow successfully refactors most VMware Infrastructure 3.5 applications so that they
use the vCenter Server 4.0 API.
Prerequisites
You must have a VMware Infrastructure 3.5 Orchestrator application to refactor.
Procedure
1 Click the Workflows view in the left pane of the Orchestrator client interface.
2 Select Library > Refactoring in the workflows hierarchical list to view the refactoring workflows.
3 Right-click the Migrate package to vCenter Server 4 workflow and select Execute workflow.
4 Under Package, click the Source package value and select the package to refactor from VMware
Infrastructure 3.5 to vCenter Server 4.0.
5 Enter a destination package in the Destination package text box.
You use the destination package to create the refactored application.
6 Under Rules, point the refactoring workflow to the different sets of objects that the application contains,
and provide destinations in which to make copies of these objects.
If you do not provide destinations, the refactoring tool does not perform the refactoring. If the application
does not feature a certain type of object, leave that text box set to Not set.
NOTE When you set the source location of action rules, you cannot select the location from a list. You
must type the source location manually.
7 Under Save XML, click the Not set button to select a resource folder in which to store the result of the
refactoring workflow.
8 Click Submit.
The Migrate package to vCenter Server 4 workflow runs.
The Migrate package to vCenter Server 4 workflow copied and refactored the application so that the new
version implements the vCenter Server 4.0 plug-in instead of the VMware Infrastructure 3.5 plug-in. The
VMware Infrastructure 3.5 version of the application remains in place, unmodified.
What to do next
Verify that the refactoring workflow refactored the application correctly.
vCenter Orchestrator Developer's Guide
332 VMware, Inc.