4.0

Table Of Contents
Verify the Refactoring
When you have run the refactoring workflow, verify that the workflow refactored the application correctly.
Procedure
1 Click the Packages view in the Orchestrator client interface to check that the new package is present.
In the Refactoring Tutorial example, a package called com.vmware.refactor.tutorial_vcenter40 is listed.
2 Click the Workflows view to check that the refactored workflows are present.
In the Refactoring Tutorial example, select Documentation > Refactor tutorial copy to view the Submit
VM and Resume VM workflows that are in the workflows hierarchical list.
3 Check that the new workflows implement the vCenter Server 4.0 plug-in.
a Click on one of the new workflows.
b In the right pane, click the Schema tab.
c In the schema diagram, double-click one of the elements to show the element in the element
hierarchical list on the left.
The vCenter Server 4.0 plug-in appears in the list.
For example, in the Refactor Tutorial example, select Refactor Tutorial Copy > Suspend VM and double-
click the Suspend virtual machine and wait workflow element. The Suspend virtual machine and wait
workflow element is located in the Library > vCenter Server > Virtual machine management > Power
Management node of the workflows hierarchical list. In the original version of the example, this element
is in the VIM3 node rather than the vCenter Server node.
4 Click the Web views view.
5 Right-click the old Refactor Tutorial Web view and select Unpublish.
6 Right-click the new, refactored Refactor Tutorial Web view and select Publish.
7 In a browser, go to http://
<orchestrator_server>
:8280/vmo/refactortutorial/default.html to access
the Refactor Tutorial Web view.
8 Log in to the Refactor Tutorial Web view with your Orchestrator user name and password.
9 Click Suspend VM.
10 Search for a virtual machine to suspend.
If the virtual machines that you can suspend are in the vCenter Server 4.0 environment, the refactoring
was successful.
You verified that you successfully refactored an application. Your application now implements the vCenter
Server 4.0 plug-in.
Refactoring Packages with the Advanced Refactoring Workflows
If the basic refactoring workflow does not successfully refactor the VMware Infrastructure 3.5 application, you
can try to refactor the application by using the advanced refactoring workflows.
The advanced refactoring workflows use the same workflows that the basic refactoring workflow calls upon.
If the basic workflow does not work, or to define the output parameters of the refactoring workflows yourself,
you can use the advanced refactoring workflows directly.
Chapter 10 Refactoring Orchestrator Applications After Upgrading vCenter Server
VMware, Inc. 333