Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

Moving from Windows to Appliance

Save for later
  • 7 min read
  • 12 Oct 2016

article-image

In this article by Daniel Langenhan, author of VMware vRealize Orchestrator Cookbook, Second Edition, will show you how to move an existing Windows Orchestrator installation to the appliance. With vRO 7 the Windows install of Orchestrator doesn't exist anymore.

(For more resources related to this topic, see here.)

Getting ready

We need an Orchestrator installed on windows.

Download the same version of the Orchestrator appliance as you have installed in the Windows version. If needed upgrade the Windows version to the latest possible one.

How to do it...

There are three ways, using the migration tool, repointing to an external database or export/import the packages.

Migration tool

There is a migration tool that comes with vRO7 that allows you to pack up your vRO5.5 or 6.x install and deploy it into a vRO7. The migration tool works on Windows and Linux. It collects the configuration, the plug-ins as well as their configuration certificates, and licensing into a file. Follow these steps to use the migration tool:

  1. Deploy a new vRO7 Appliance.
  2. Log in to your Windows Orchestrator OS.
  3. Stop the VMware vCenter Orchestrator Service (Windows services).
  4. Open a Web browser and log in to your new vRO7 - control center and then go to Export/Import Configuration.
  5. Select Migrate Configuration and click on the here link. The link points to: https://[vRO7]:8283/vco-controlcenter/api/server/migration-tool .
  6. Stop the vRO7 Orchestrator service.
  7. Unzip the migration-tool.zip and copy the subfolder called migration‑cli into the Orchestrator director, for example, C:Program FilesVMwareInfrastructureOrchestratormigration-clibin.
  8. Open a command prompt.
  9. If you have a Java install, make sure your path points to it. Try java ‑version. If that works continue, if not, do the following:
  10. Set the PATH environment variable to the Java install that comes with Orchestrator, set PATH=%PATH%;C:Program FilesVMwareInfrastructureOrchestratorUninstall_vCenter Orchestratoruninstall-jrebin
  11. CD to the directory ..Orchestratormigration-clibin.
  12. Execute the command vro-migrate.bat export. There may be errors showing about SLF4J, you can ignore those.
  13. In the main directory (..Orchestrator) you should now find an orchestrator‑config‑export‑VC55‑[date].zip file.
  14. Go back to the Web browser and upload the ZIP file into Migration Configuration by clicking on Browse and select the file.
  15. Click on Import. You now see what can be imported. You can unselect item you wish not to migrate. Click Finish Migration.
  16. Restart the Orchestrator service.
  17. Check the settings.

moving-windows-appliance-img-0

External database

If you have an external database things are pretty easy. For using the initial internal database please see the additional steps in the There's more section of this recipe.

  1. Backup the external database.
  2. Connect to the Windows Orchestrator Configurator.
  3. Write down all the plugins you have installed as well as their version.
  4. Shutdown the Windows version and deploy the Appliance, this way you can use the same IP and hostname if you want.
  5. Login to the Appliance version's Configurator.
  6. Stop the Orchestrator service
  7. Install all plugins you had in the Windows version.
  8. Attach the external database.
  9. Make sure that all trusted SSL certificates are still there, such as vCenter and SSO.
  10. Check the authentication if it is still working. Use the test login.
  11. Check your licensing.
  12. Force a plugin reinstall (Troubleshooting | Reinstall the plug-ins when the server starts).
  13. Start the Orchestrator service and try to log in.
  14. Make a complete sanity check.

Package transfer

This is the method that will only pull your packages across. This the only easy method to use when you are transitioning between different databases, such as between MS SQL and PostgreSQL.

  1. Connect to your Windows version
  2. Create a package of all the workflows, action, and other items you need.
  3. Shutdown Windows and deploy the Appliance.
  4. Configure the Appliance with DB, Authentication and all the plugins you previously had.
  5. Import the package.

How it works...

Moving from the Windows version of Orchestrator to the Appliance version isn't such a big thing. Worst case scenario is using the packaging transfer. The only really important thing is to use the same version of the Windows Orchestrator as the Appliance version. You can download a lot of old versions including 5.5 from http://www.vmware.com/in.html. If you can't find the same version, upgrade your existing vCenter Orchestrator to one you can download.

After you transferred the data to the appliance you need to make sure that everything works correctly and then you can upgrade to vRO7.

There's more...

When you just run Orchestrator from your Windows vCenter installation and didn't configure an external database then Orchestrator uses the vCenter database and mixes the Orchestrator tables with the vCenter tables. In order to only export the Orchestrator ones, we will use the MS SQL Server Management Studio (free download from www.microsoft.com called Microsoft SQL Server 2008 R2 RTM).

To transfer the only the Orchestrator database tables from the vCenter MS-SQL to an external SQL do the following:

  1. Stop the VMware vCenter Orchestrator Service (Windows Services) on your Windows Orchestrator.
  2. Start the SQL Server Management Studio on your external SQL server.
  3. Connect to the vCenter DB. For SQL Express use: [vcenter]VIM_SQLEXP with Windows Authentication.
  4. Right-click on your vCenter Database (SQL Express: VIM_VCDB) and select Tasks | Export Data.
  5. In the wizard, select your source, which should be the correct one already and click Next.
  6. Choose SQL Server Native Client 10.0 and enter the name of your new SQL server. Click on New to create a new database on that SQL server (or use an empty one you created already. Click Next.
  7. Select Copy data from one or more tables or views and click Next.
  8. Now select every database which starts with VMO_ and then click Next.

moving-windows-appliance-img-1

Unlock access to the largest independent learning library in Tech for FREE!
Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
Renews at ₹800/month. Cancel anytime
  1. Select Run immediately and click Finish.

Now you have the Orchestrator database extracted as an external database. You still need to configure a user and rights. Then proceed with the section External database in this recipe.

Orchestrator client and 4K display scaling

This recipe shows a hack how to make the Orchestrator client scale on 4K displays.

Getting ready

We need to download the program Resource Tuner (http://www.restuner.com/) the trial version will work, however, consider buying it if it works for you.

You need to know the path to your Java install, this should be something like:

C:Program Files (x86)Javajre1.x.xxbin

How to do it...

Before you start….

Please be careful as this impacts your whole Java environment. This worked for me very well with Java 1.8.0_91-b14.

  1. Download and install Resource Tuner.
  2. Run Resource Tuner as administrator.
  3. Open the file javaws.exe in your Java directory.
  4. Expand manifest and the click on the first entry (the name can change due to localization).
  5. Look for the line <dpiAware>true</dpiAware>.
  6. Exchange the true for a false
  7. Save end exit.
  8. Repeat the same for all the other java*.exe in the same directory as well as j2launcher.exe.

moving-windows-appliance-img-2

  1. Start the Client.jnlp (the file that downloads when you start the web application).

How it works...

In Windows 10 you can set the scaling of applications when you are using high definition monitors (4K displays).

What you are doing is telling Java that it is not DPI aware, meaning it the will use the Windows 10 default scaler, instead of an internal scaler.

There's more...

For any other application such as Snagit or Photoshop I found that this solution works quite well:

http://www.danantonielli.com/adobe-app-scaling-on-high-dpi-displays-fix/.

Summary

In this article we discussed about moving an existing Windows Orchestrator installation to the appliance and a hack on how to make the Orchestrator client scale on 4K displays.

Resources for Article:


Further resources on this subject: