Tuning the appliance

In this recipe, we will learn how to tune an Orchestrator appliance. This includes changing IP settings as well as switching off unused services to get more performance out of the appliance.

Getting ready

We need a configured and running Orchestrator appliance as well as a web browser and an SSH tool (such as PuTTY).

How to do it...

There is a lot that could be done to tune the Orchestrator appliance.

Virtual Hardware

When you deployed the Orchestrator appliance, it came in Virtual Hardware Version 7. The best thing to do is to upgrade the Virtual Hardware of the appliance to the most current version. To do this, follow these steps:

  1. Open the vCenter vSphere Web Client and find the Orchestrator VM.
  2. Right-click the VM and select Compatibility.
  3. If your VM is running, use Schedule VM Compatibility Upgrade, if the VM is powered off, choose Upgrade VM Compatibility.
  4. Acknowledge the upgrade and select the compatibility you wish to use. Use the highest Virtual Hardware setting.
  5. If your VM was running, restart it.

Changing the IP and hostname

The IP and hostname should normally be assigned when the appliance is deployed; however, some aftercare has to be performed when using a DHCP or VMware workstation. Follow these steps to change the IP and hostname:

  1. Open the virtual appliance management interface (VAMI) area on port 5480.
  2. Click on Network and select Address.
  3. Change all settings as required.
  4. Click on Save Settings.
  5. Reconnect the browser to the new IP.

You also should consider giving your appliance a new SSL certificate. See the Configuring the Orchestrator service SSL certificate recipe in this chapter.

Setting the time (NTP)

This is especially important when using encrypted services such as Kerberos and Orchestrator clusters. Follow these steps to set the time:

  1. Open the VAMI area on port 5480.
  2. Click on System and then on Time Zone.
  3. Set the correct time zone and click on Save settings.
  4. Click on Admin and then select Time Settings.
  5. Set Time Sync. Mode to Use Time Server.
  6. Enter NTP servers in Time Server fields and click on Save Settings.

It is very important to have the same time settings in the Orchestrator server and vCenter PSC/SSO, as well as the Orchestrator Client. If the drift is too high, some updates, such as the workflow system logs, might not be updated properly. The worst case scenario could be that you lose connectivity between the components.

Turning SSH access to Orchestrator on and off

SSH access to the Orchestrator appliance is by default switched on. If your environment requires stricter security policies, here is how you can switch SSH off:

  1. Open the VAMI area on port 5480.
  2. Click on Admin and then select Admin.
  3. You can switch on general SSH connectivity as well as root access separately:

    Turning SSH access to Orchestrator on and off

Switching off unneeded services

If you are using external authentication and a database, you might as well switch off the database and LDAP services to gain more resources for Orchestrator. If you switch a service off, the service will not start on the next reboot:

  1. Using SSH, log in to your Orchestrator appliance.
  2. To see the status of a service, type chkconfig [Linux service name].
  3. To switch off a service, type chkconfig [Linux service name] off.
  4. To switch the service back on, type chkconfig [Linux service name] on.
  5. To stop, start, or restart the service immediately, use the service [Linux service name] {start|stop|restart} command.

Here is the list of all Linux service names that are relevant for Orchestrator appliances:

Service

Linux service name

Orchestrator server

vco-server

Orchestrator Configurator Tool

vco-configurator

Embedded Database

vpostgres

Embedded LDAP

ldap

Root account expires

By default, the root account expires after 365 days. To change this setting, follow these steps:

  1. Using SSH, log in to your Orchestrator appliance as root.
  2. Use the passwd -x 99999 root command.

Your root password will now never expire, as 99999 (in some 273 years) is the highest value that can be entered.

How it works...

The Orchestrator appliance comes with a fully working Linux operating system, and therefore, it is highly adaptable to your needs.

If you are into Linux, you also can edit the configuration files. Please note that the SLES licensing used for the appliance might not cover additional packages. Also, installing additional software on the Orchestrator appliance might not be supported by VMware.

The appliance's iptables firewall is not configured. So, if you want to configure the firewalls, you have to use the iptables commands.

See also

The example workflow 02.01 Tuning the Appliance.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset