ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportGlobal Cache Set Up in IIB V10.

Post new topicReply to topic
Global Cache Set Up in IIB V10. View previous topic :: View next topic
Author Message
varunraot
PostPosted: Fri Feb 10, 2017 8:54 am Post subject: Global Cache Set Up in IIB V10. Reply with quote

Acolyte

Joined: 01 Jun 2011
Posts: 62

I am trying to set up Global Cache across 3 integration nodes.Each node consists of 2 integration servers.

My policy file looks like below

Code:
<cachePolicy xmlns="http://www.ibm.com/xmlns/prod/websphere/messagebroker/globalcache/policy-1.0">

   <broker name="IIB1" listenerHost="Server1">

      <catalogs>1</catalogs>
      
      <portRange>
         <startPort>2800</startPort>
         <endPort>2819</endPort>
      </portRange>
      
   </broker>

   <broker name="IIB2" listenerHost="Server2">

      <catalogs>1</catalogs>   
      <portRange>
         <startPort>2820</startPort>
         <endPort>2839</endPort>
      </portRange>
      
   </broker>

   <broker name="IIB3" listenerHost="Server3">   

      <catalogs>1</catalogs>      
      
      <portRange>
         <startPort>2840</startPort>
         <endPort>2859</endPort>
      </portRange>
      
   </broker>
   
</cachePolicy>


Executed the command "mqsichangebroker IIB1 -b E:\IBM\IIB\GlobalCachePolicy\GlobalCachePolicy_HA_MFG.xml" in all 3 integration nodes.

However it errors out with the command mqsicacheadmin IIB1 -c listHosts. I tried changing the ports & I have also referred http://mqseries.net/phpBB/viewtopic.php?t=63097&sid=c2e4e13b91fc4053935e8ab899527221 and followed as well.
No luck.


Code:
CWXSI0068I: Executing command: listHosts

CWXSI0062E: Catalog service is unavailable at the Server1:2800,Server2:2820,Server3:2840 endpoint.


        >> SERVER (id=5885cac2, host=Server3) TRACE START:
        >>    org.omg.CORBA.INTERNAL: CWOBJ1687E: Unable to resolve the IIB1_Server1_2800 server name. com.ibm.websphere.objectgrid.TransactionException: com.ibm.websphere.objectgrid.AvailabilityException: The current state of the ObjectGrid instance BalanceGrid:ENTITY_MAPSET:0 does not allow a new transaction. state=INITIALIZED, session attributes={}  vmcid: 0x0  minor code: 0  completed: No
        >>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        >>       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:86)
        >>       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:58)
        >>       at java.lang.reflect.Constructor.newInstance(Constructor.java:542)
        >>       at com.ibm.ws.xsspi.xio.exception.ORBExceptionFactory.createException(ORBExceptionFactory.java:60)
        >>       at com.ibm.ws.objectgrid.server.naming.CommonLocationService.resolve(CommonLocationService.java:847)
        >>       at com.ibm.ws.objectgrid.server.naming.LocationServiceImpl.resolve(LocationServiceImpl.java:198)
        >>       at com.ibm.ws.objectgrid.server.naming.LocationServiceImpl.resolve(LocationServiceImpl.java:194)
        >>       at com.ibm.ws.objectgrid.naming.IDLLocationServicePOA._invoke(IDLLocationServicePOA.java:121)
        >>       at com.ibm.CORBA.poa.POAServerDelegate.dispatchToServant(POAServerDelegate.java:449)
        >>       at com.ibm.CORBA.poa.POAServerDelegate.internalDispatch(POAServerDelegate.java:373)
        >>       at com.ibm.CORBA.poa.POAServerDelegate.dispatch(POAServerDelegate.java:264)
        >>       at com.ibm.rmi.iiop.ORB.process(ORB.java:607)
        >>       at com.ibm.CORBA.iiop.ORB.process(ORB.java:1583)
        >>       at com.ibm.rmi.iiop.Connection.doRequestWork(Connection.java:3166)
        >>       at com.ibm.rmi.iiop.Connection.doWork(Connection.java:3030)
        >>       at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:64)
        >>       at com.ibm.ws.objectgrid.thread.ORBThreadPool$1.run(ORBThreadPool.java:102)
        >>       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
        >>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
        >>       at com.ibm.ws.objectgrid.thread.XSThreadPool$Worker.run(XSThreadPool.java:309)
        >> SERVER (id=5885cac2, host=Server3) TRACE END.


Ending at: 2017-02-10 11:43:08.305
'
BIP8071I: Successful command completion.


Result of

mqsireportproperties IIB1 -e EG1 -o ComIbmCacheManager -r

ComIbmCacheManager
uuid='ComIbmCacheManager'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
traceFilter='none'
overrideTraceSpec=''
enableCatalogService='true'
enableContainerService='true'
enableJMX='true'
listenerPort='2800'
listenerHost='Server1'
haManagerPort='2801'
jmxServicePort='2802'
connectionEndPoints='Server1:2800,Server2:2820,SBYVMNTEBS03P.DUPONTNET.NET:2840'
catalogClusterEndPoints='IIB1_Server1_2800:Server1:2803:2801,IIB2_Server2_2820:Server2:2823:2821,IIB3_Server3_2840:Server3:2843:2841'
domainName='WMB_IIB1_Server1_2800_IIB2_Server2_2820_IIB3_Server3_2840'
clientsDefaultToSSL=''
sslProtocol=''
sslAlias=''
objectGridCustomFile=''
deploymentPolicyCustomFile=''
status='none'

mqsireportproperties IIB1 -e EG2 -o ComIbmCacheManager -r

ComIbmCacheManager
uuid='ComIbmCacheManager'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
traceFilter='none'
overrideTraceSpec=''
enableCatalogService='false'
enableContainerService='true'
enableJMX='true'
listenerPort='2804'
listenerHost='Server1'
haManagerPort='2805'
jmxServicePort='2806'
connectionEndPoints='Server1:2800,Server2:2820,Server3:2840'
catalogClusterEndPoints='IIB1_Server1_2800:Server1:2803:2801,IIB2_Server2_2820:Server2:2823:2821,IIB3_Server3_2840:Server3:2843:2841'
domainName='WMB_IIB1_Server1_2800_IIB2_Server2_2820_IIB3_Server3_2840'
clientsDefaultToSSL=''
sslProtocol=''
sslAlias=''
objectGridCustomFile=''
deploymentPolicyCustomFile=''
status='failed'
Back to top
View user's profile Send private message
nelson
PostPosted: Mon Feb 13, 2017 8:05 am Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

It seems pretty basic, but, have you checkek that the hostname "IIB1_Server1_2800" is reachable?

Code:
org.omg.CORBA.INTERNAL: CWOBJ1687E: Unable to resolve the IIB1_Server1_2800 server name.
Back to top
View user's profile Send private message
varunraot
PostPosted: Mon Feb 13, 2017 9:42 am Post subject: Reply with quote

Acolyte

Joined: 01 Jun 2011
Posts: 62

Yes. Integration node as well as underneath integration servers are running.
Back to top
View user's profile Send private message
varunraot
PostPosted: Tue May 08, 2018 7:39 am Post subject: Reply with quote

Acolyte

Joined: 01 Jun 2011
Posts: 62

This was resolved by replacing the host name with the actual IP in the policy file
(listenerHost value in the policy file)

<broker name="IIB1" listenerHost="Server1">

<broker name="IIB2" listenerHost="Server2">

<broker name="IIB3" listenerHost="Server3">

The intention is to close the thread with the resolution rather than leaving the thread unattended. This could be beneficial for others who visit the website for similar problems.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportGlobal Cache Set Up in IIB V10.
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.