Service Virtualization

  • 1.  SV HA Configuration

    Posted Jul 12, 2018 11:52 AM

    Hi expert,

     

    I have a question to all. We're thinking of HA configuration for SV, DevTest.

     

    Is it available to configure HA and if so how can I configure it? Can you comment this?

     

     

    Thanks

    Best Regards

    Ji Yeon



  • 2.  Re: SV HA Configuration

    Broadcom Employee
    Posted Jul 12, 2018 03:02 PM

    What version of DevTest are you on?

    What components are you wanting to configure HA on?  



  • 3.  Re: SV HA Configuration

    Posted Jul 12, 2018 07:25 PM

    DevTest 10.3



  • 4.  Re: SV HA Configuration

    Posted Jul 12, 2018 07:27 PM

    I want HA, all components in DevTest.

    It means replication.



  • 5.  Re: SV HA Configuration
    Best Answer

    Posted Jul 13, 2018 09:45 AM

    My two cents...  Others can correct, add, adjust as appropriate.

     

    There is no in-built notion of HA in the context of automated or hot fail-over if a component goes 'out of band'.

    Since each service is running in its own JVM and memory space, fail-over of an in-flight process is not achievable (e.g., if a Service such as the Coordinator goes down, the memory and execution state of all in-flight activity is lost).

     

    There are concepts with regard to providing a simulated HA within VSE. This concept includes placing multiple VSEs behind a load balancer. The consumer applications' endpoint is the LB. The LB routes to one or more VSEs according to the balancer's routing strategy. The approach would work in situations where the transactions are stateless. When transactions are stateful, the LB has to maintain stickiness to a specific VSE and service for the duration of the business process flow because there is no notion of sharing state across VSEs -- unless the service implements state management via the Persistent Model Map (PMM) or external DBMS. Use of the PMM, implies that all VSEs are connected to a single Registry since the PMM database is accessible per Registry not across Registries.

     

    It may be possible to add a cold stand-by environment. If one environment goes down, the user performs what amounts to a cold fail-over.  This means shutting down all Services on the running instance and starting the back-up Services. It might require the back-up servers to register themselves with the same IP or DNS as the primary. Perhaps, NATing could be applied.

     

    Caveats:

    • When running behind a load balancer, service developers and testers connect to the actual IP of the Registry not the IP exposed by the LB.
    • Deployment of services into a VSE does NOT deploy the service into all VSEs running under a Registry. A separate deployment to each is required. This could be automated if using the REST Invoke API.
    • There are probably other issues as well.


  • 6.  Re: SV HA Configuration

    Broadcom Employee
    Posted Jul 13, 2018 09:49 AM

    Thank you Joel.