Running the virtual machine in InfoSphere Optim Repository

To use IBM® InfoSphere® Optim™ Repository as the repository for your InfoSphere Optim solution, run the repository virtual machine on a virtual machine player. The repository manager and repository server are set to start automatically when you run the repository virtual machine.

Before you begin, install InfoSphereOptim Repository on your computer. Also, download and install VMware Player or other software that you can use to run VMware virtual machines. To download VMware Player, go to the VMware website at http://www.vmware.com/products/player/.

To run the repository virtual machine by using the VMware player, run VMware Player and complete the following steps from VMware Player.

  1. Open the virtual machine for the repository. The virtual machine is OptimRepository.vmdk, and the default location is at C:\IBM\InfoSphere\Optim\repo\vm\image on Microsoft Windows or /opt/IBM/InfoSphere/Optim/repo/vm/image on Linux.
  2. Click Edit virtual machine settings, then click Network Adapter on the Hardware tab. Verify that the network adapter is bridged and set to connect at power on. When you are finished, click OK.
  3. Click Play virtual machine. If you are prompted to specify whether you moved or copied the virtual machine, click I copied it. If the virtual machine software prompts you to change any values, choose to leave the values unchanged. If the virtual machine prompts you to download additional software, choose not to download the software. If you see the following message, open the file OptimRepository.vmx in a text editor and add the line vmx.allowNested = "TRUE" to the file. The file OptimRepository.vmx is in the same directory as the virtual machine OptimRepository.vmdk.
    You are running VMware Player through an incompatible hypervisor. 
    You cannot power on a virtual machine until this hypervisor is disabled.
  4. When the login prompt is displayed, note the IP address and host name that are displayed in the line before the login prompt. If you must see the IP address of the repository virtual machine after login, enter the command echoip.
  5. Log in with the informix user account. The default password is opt1234X. If the UI does not start automatically, start the UI by entering startx at the user prompt.
  6. When the desktop is displayed in the repository virtual machine, right-click the virtual machine desktop and click xterm.
  7. Enter the command repomanagerstate to determine whether the repository manager is running. The repository manager and repository server are set to start automatically when you run the repository virtual machine. If the repository manager is not running, then enter the command repomanager to start the repository manager. If the repository manager starts successfully, the repository manager automatically starts the repository server.
After you start the repository virtual machine for the first time, use a text editor to change the following files on the repository computer.
  • Add the IP address and host name of the repository virtual machine to the hosts file of the repository computer.
  • Add optimrepo 9088/tcp to the services file of the repository computer.
The location of the hosts and services files depends on the operating system of the computer on which you installed InfoSphere Optim Repository.
  • Linux: /etc/
  • Microsoft Windows: %SystemRoot%\system32\drivers\etc, where %SystemRoot% is the location of the system folder. For example, the hosts and services files are commonly in the directory C:\WINDOWS\system32\drivers\etc.
If your DNS name server does not reference the repository virtual machine, you must also add these lines to the hosts and services files of each computer that uses the repository.

After you change the hosts and services files, enter the following URL into a browser, where repository is the host name or IP address of the repository virtual machine: http://repository:9088/status/init. If you are prompted to authenticate, the repository is functioning properly and can be accessed by other applications on the repository computer.

Before you shut down the repository computer, shut down the repository virtual machine.