Skip to main content

Scenario:

A company has a CFR based ORBIX 6 configuration running on a Windows Server 2008 machine. This is now required to run on a Windows Sever 2012 machine.

Solution:

For a large distributed environment recreating the domain on a new host is difficult due to references in the underlying database pointing to the old machine and also all clients would require to be updated to point to the new domain.

The solution is to replicate the services running on Windows Server 2008 machine on  to the Windows Sever 2012 machine.

The Windows Server 2008 machine would then run the master services and Windows Sever 2012 machine would run the slave services. Any client connecting to the Windows Sever 2012 machine would seamlessly run the Server application on the Windows Server 2008 machine.

Setting up Environments

This will use the grid client / server example to demonstrate the technique

Windows Server 2008 machine

This environment would already be setup in this scenario, however the steps below show how to set this up as a test

  1. Create a CFR domain


    Add the domainAdd the services 
  2. Add the server application to this domain starting up on demand

    Process

    itadmin process create -node_daemon iona_services.node_daemon.ORBIX6 -pathname "cmd /C C:/Apps/startserver" -args "gridserver -ORBname gridserver.server_orb" -startupmode on_demand gridserver

    Orb Name
    itadmin orbname create -process gridserver gridserver.server_orb

    POA

    itadmin poa create -orbname gridserver.server_orb gridserver

Windows Sever 2012 machine

  1. Connect to a CFR domain

  2. Create the Domain name and point it to the Windows 2008 Server Machine
  3. This will automatically replicate the Domain Created on the Windows Server 2008 machine

Windows Server 2008 machine

Update the references from the Replication created on the Windows Sever 2012 machine run the following command
itadmin config update_references

Checking environment

Navigate to the your domain configuration file and open this is in an editor. Find the intial_references:ConfigRepository:reference IOR String.

Using IOR dump analyse the IOR string. This should show 2 Components

Components 1: Hostname of the Windows Server 2008 Machine

Components 1: Hostname of the Windows Server 2012 Machine

 


#Orbix
#KnowledgeDocs
#ReplicateOrbixservicesnewhostOrbix6