RP/TUX7.1 - Service becomes unadvertised when DM_IMPORT section deleted

(Doc ID 776274.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 7,1
Information in this document applies to any platform

Goal

Environment:
===========
Tuxedo 7.1
Solaris 8, Windows 2000, HP-UX11i, AIX4.3.3 ( all 32bit platform)

Problem description:
================
The customer is using /Domain for load balancing as following.
TOUPPER LDOM=DOM1 RDOM=DOM2
TOUPPER LDOM=DOM1 RDOM=DOM3

When  they delete "TOUPPER LDOM=1 RDOM=DOM2" using DM_MIB
TOUPPER service becomes unadvertised and client's tpcall returns TPENOENT.
They expect this call to get transfered to DOM3.  
The workaround is dmadmin/adv -d DOM1 -all , however there is TPNOENT timing between delete and advertise operation. 

To reproduce:  /nfs/homes/mkishim/cases/558933/  it has three domain as dom1/dom2/dom3
1) please setup setvars/ubbsimple/dmconfig for your environment
2) please compile simpcl.c simpserv.c as simpapp and dmibcall.c(dom1 only) as client.
3) tmboot -y on each domain
4)./simpcl aaaa  return by DOMAIN2 or DOMAIN3  it works well.
5)../dmibcall INValid TOUPPER DOM1 DOM2
   please check dmunloadcf, TOUPPER entry in  *DM_IMPORT section will be one from two.
6)./simpcl aaa again, return by TPENOENT
7) dmadmin/adv -d DOM1 -all and ./simpcl aaaa again, it will return DOMAIN3

We expect client to return DOMAIN3 in step6.
May be this is a normal behavior for DM_MIB,  but customer wants to be able to delete only one entry without service
unavailable status.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms