WAS - 3 servers in the cluster?

Hi,
We are running a J2EE Engine (SP15) and NWDI Sp15 that consists of our SLD and NWDI environment. Yesterday, configtool reported that there were 3 servers running in the cluster , server0, server1, server2. A couple of days ago, there was only one - server0.
Any ideas?
Best Regards, Neeta

Hello Neeta,
Configtool is working offline and connecting to the DB only, so what it shows is the contents of the database and not the running servers. To check how many servers are running you can use either MMC or Visual Administrator.
Regards, Myriana

Similar Messages

  • How to disable coherence servers forming the cluster

    me and my friend are having coherence servers on the pc.since these two are in the same network they are forming the cluster ,how can i eliminate/disable them from forming the cluster.since we have data duplicity issues .
    Thanks

    http://coherence.oracle.com/display/COH34UG/Setting+Single+Server+Mode
    Or you two can just use different multicast address/port.

  • JNDI name for a JMB is not replicatet to other servers in the cluster

    Hi,
              wl6.1sp7, two server cluster
              When I look at the JNDI Tree for a server I can't find JNDI names of JMB's from the other server in the cluster.
              I get an exception when trying to send to a destinaton on the other server. (Unable to resolve 'xlink.jms.service.report.biztalk-lab.Report' Resolved: 'xlink.jms.service.report' Unresolved:'biztalk-lab')
              Setting are same as explained in this thread...
              http://forums.bea.com/bea/thread.jspa?threadID=600003492&tstart=0
              And JNDINameReplicated is set to true....
              Why is the JNDI names not replicated?
              <JMSQueue JNDIName="xlink.jms.service.report.biztalk-lab.Report"
              JNDINameReplicated="true" Name="Report" StoreEnabled="default"/>
              This is the DD of a JMB:
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>xlink.jms.service.report.biztalk-lab.Report</ejb-name>
              <message-driven-descriptor>
              <pool>
              <max-beans-in-free-pool>3</max-beans-in-free-pool>
              <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
              </pool>
              <destination-jndi-name>xlink.jms.service.report.biztalk-lab.Report</destination-jndi-name>
              <connection-factory-jndi-name>xlink.jms.factory.commerceFactory</connection-factory-jndi-name>
              </message-driven-descriptor>
              <jndi-name>xlink.jms.service.report.biztalk-lab.Report</jndi-name>
              </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              ~b

    1. yes
              <JMSConnectionFactory AllowCloseInOnMessage="false"
              DefaultDeliveryMode="Persistent" DefaultPriority="4"
              DefaultTimeToLive="0"
              JNDIName="xlink.jms.factory.commerceFactory"
              MessagesMaximum="10" Name="xlink.jms.factory.commerceFactory"
              OverrunPolicy="KeepOld" Targets="bluej,biztalk-lab,devtestCluster"/>
              2. No I am just using the jndi name of the queue.
              This is an example of how I send a message:
                   Context ctx = new InitialContext();
              QueueConnectionFactory qconFactory;
              QueueConnection qcon;
              QueueSession qsession;
              QueueSender qsender;
              Queue queue;
              ObjectMessage msg;
              qconFactory = (QueueConnectionFactory) ctx.lookup("xlink.jms.factory.commerceFactory");
              qcon = qconFactory.createQueueConnection();
              qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
              queue = (Queue) ctx.lookup("xlink.jms.queue.biztalk-lab.OrdrspImport");
              qsender = qsession.createSender(queue);
              msg = qsession.createObjectMessage(reportExecutorContainer);
              qcon.start();
              qsender.send(msg);
              qsender.close();
              qsession.close();
              qcon.close();
              3. I don't know those setting (wl 6.1sp7)

  • What should be the client url for managed servers in a cluster

    Hi guys,
    I have created a cluster(cluster_1) having 4 managed servers. 2 managed servers on my machine(IP1) and 2 managed servers on other machine(IP2).
    I am able to deploy a xxx.war file on my admin server
    also
    I am able to deploy the same war file on my cluster
    When I try to hit the client url, it gives me back the correct data, but it creates the session on the admin server and not the cluster.
    If I remove the xxx.war file from the deployment(deployed on admin server) and redeploy the xxx,war file on the cluster, it gets deployed successfully , but the client url gives me a 404 error.
    What should I do, so that after hitting the client url, it creates the session on the managed servers in the cluster ?
    My admin server is not the part of this cluster.
    cluster ip:127.0.0.1
    ip1: 10.25.63.130
    ip2: 10.25.63.131
    please help
    Salil

    Hi Salil
    This is exactly what I mentioned in my earlier post. You CANNOT and should NOT expose the managed server url (host, port) to the end users. Because as you already figured out, you can specify only one. Or they cannot try one at a time like that.
    This is where, the Load Balancer will come into picture like Apache Web Server. After installing Apache web server, usually it runs at default port 80. So you just expose the apache host to outside world. Also most companies will have Firewalls and Apache is outside of Firewall and all weblogic servers are inside the Firewall. In apache, you configure the weblogic cluster details like the host names and ports of each managed server etc in httpd.conf file etc.
    Ex: For outside users, they may try like http://apachehost/myWeb/myHello.jsp -> apachehost is the host name where Apache web server is running at port 80. NOW Apache is smart enough to do Load Balancing and Failover. If 100 users access the site with 4 managed servers, ideally each managed server will get 25 requests (load balancing). Also if 2 servers are killed, automatically, request will NOT go to them, but to other 2 live servers etc etc. Apache takes care of this.
    Bottom line, please see my earlier post, and you need to have some sort of Web Server like Apache for your cluster setup.
    Thanks
    Ravi Jegga

  • Error while starting managed servers in a cluster

    Hi,
              I have Weblogic 8.1.3 deployed on my system. We've have a Ant script that set's up the project domain etc. We have an admin server and two other managed servers which are part of a cluster. I am able to start the admin server and access the admin console without any errors. However when I start any of the managed servers in the cluster, using the following command (startManagedWebLogic.cmd Reactor-1 http://localhost:80 OR startManagedWebLogic.cmd Reactor-2 http://localhost:80)
              I get the error listed below. The same Ant script was used to setup the project on another system and it worked but I haven't been able to set it up on my system.
              The error says that it could be due to servers having duplicate names in the cluster but thats not the case here, the managed servers are named Reactor-1 and 2.
              Also, the IP address being accessed, 192.168.141.50:81 is not my system, its another system on the network. I've done a full text search for the IP address but I've not been able to find it in ANY file under c:\bea.
              Can someone please tell me if I've missed something? I'd appreciated any help with this.
              Thanks
              Ameeth
              <Mar 21, 2005 4:52:43 PM GMT+05:30> <Notice> <Cluster> <BEA-000142> <Trying to download cluster JNDI tree from server Reactor-1
              .>
              <Mar 21, 2005 4:52:44 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: 127.0.0.1 and port: 81.>
              <Mar 21, 2005 4:52:44 PM GMT+05:30> <Error> <Cluster> <BEA-000141> <TCP/IP socket failure occurred while fetching statedump ove
              r HTTP from Reactor-1.
              java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '127.0.0.1', port: '81'
              at weblogic.net.http.HttpClient.openServer(Ljava.lang.String;I)V(HttpClient.java:275)
              at weblogic.net.http.HttpClient.openServer()V(HttpClient.java:329)
              at weblogic.net.http.HttpClient.<init>(Ljava.net.URL;Lweblogic.security.SSL.SSLClientInfo;Lweblogic.security.SSL.SSLSoc
              ketFactory;I)V(HttpClient.java:128)
              at weblogic.net.http.HttpClient.New(Ljava.net.URL;Lweblogic.security.SSL.SSLClientInfo;Lweblogic.security.SSL.SSLSocket
              Factory;I)Lweblogic.net.http.HttpClient;(HttpClient.java:196)
              at weblogic.net.http.HttpURLConnection.connect()V(HttpURLConnection.java:119)
              at weblogic.cluster.MemberManager.waitForSync(J)V(MemberManager.java:213)
              at weblogic.cluster.MemberManager.waitToSyncWithCurrentMembers()V(MemberManager.java:160)
              at weblogic.cluster.ClusterCommunicationService.initialize()V(ClusterCommunicationService.java:58)
              at weblogic.t3.srvr.T3Srvr.initializeHere()V(T3Srvr.java:924)
              at weblogic.t3.srvr.T3Srvr.initialize()V(T3Srvr.java:670)
              at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String)I(T3Srvr.java:344)
              at weblogic.Server.main([Ljava.lang.String)V(Server.java:32)
              >
              <Mar 21, 2005 4:52:47 PM GMT+05:30> <Notice> <Security> <BEA-090170> <Loading the private key stored under the alias DemoIdenti
              ty from the jks keystore file C:\bea\weblogic81\server\lib\DemoIdentity.jks.>
              <Mar 21, 2005 4:52:47 PM GMT+05:30> <Notice> <Security> <BEA-090171> <Loading the identity certificate stored under the alias D
              emoIdentity from the jks keystore file C:\bea\weblogic81\server\lib\DemoIdentity.jks.>
              <Mar 21, 2005 4:52:47 PM GMT+05:30> <Warning> <WebLogicServer> <BEA-000311> <Attempting to use low strength (exportable) certif
              icates with a full strength (domestic) license.>
              <Mar 21, 2005 4:52:47 PM GMT+05:30> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C
              :\bea\weblogic81\server\lib\DemoTrust.jks.>
              <Mar 21, 2005 4:52:47 PM GMT+05:30> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C
              :\bea\JROCKI~1\jre\lib\security\cacerts.>
              <Mar 21, 2005 4:52:48 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000355> <Thread "SSLListenThread.Default" listening on port
              7002, ip address 127.0.0.1>
              <Mar 21, 2005 4:52:48 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 81,
              ip address 127.0.0.1>
              <Mar 21, 2005 4:52:48 PM GMT+05:30> <Notice> <Cluster> <BEA-000102> <Joining cluster ReactorCluster on 237.0.0.1:7001>
              <Mar 21, 2005 4:52:48 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000332> <Started WebLogic Managed Server "Reactor-1" for dom
              ain "ReactorAdminServer" running in Development Mode>
              <Mar 21, 2005 4:52:48 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
              <Mar 21, 2005 4:52:51 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: 127.0.0.1 and port: 82.>
              <Mar 21, 2005 4:52:52 PM GMT+05:30> <Error> <Cluster> <BEA-000141> <TCP/IP socket failure occurred while fetching statedump ove
              r HTTP from 8288749592481618145S:localhost:[81,81,-1,-1,81,-1,-1,0,0]:192.168.141.50:81,192.168.141.50:82:ReactorAdminServer:Re
              actor-1.
              java.io.IOException: Reference to server no longer exists.
              Possible reasons for failure include having servers with duplicate names running on a cluster. Please check your configuratio
              n for this error.
              at weblogic.rmi.cluster.ServerInfoManager.updateServerInfo(Lweblogic.rmi.cluster.ServerInfo)V(ServerInfoManager.java:1
              11)
              at weblogic.rmi.cluster.ServerInfoManager.readUpdate(Ljava.lang.Object)V(ServerInfoManager.java:95)
              at weblogic.cluster.MemberAttributes.readExternal(Ljava.io.ObjectInput)V(MemberAttributes.java:103)
              at java.io.ObjectInputStream.readExternalData(Ljava.io.Externalizable;Ljava.io.ObjectStreamClass)V(Unknown Source)
              at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
              at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
              at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
              at weblogic.cluster.HTTPExecuteRequest.execute(Lweblogic.kernel.ExecuteThread)V(HTTPExecuteRequest.java:91)
              at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest)V(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
              at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread)V(Unknown Source)

    make sure you use a unique cluster multicast ip address. are you sure that your etc/hosts file has proper entries for localhost?

  • Connecting to the cluster

    Hi,
              I have a cluster running on a multihomed Solaris Server. It is made of two
              servers running on IP1 and IP2 (both using port 7001). It says in the
              documentation that I can put in the IPs of the two servers separated by a
              comma for the cluster address. So the address that I put in was
              "IP1:7001,IP2:7001" instead of a DNS name.
              How do I connect to the cluster. If I connect to IP1:7001 then I am
              connecting to the server and not the cluster, correct?
              I would appreciate any help,
              Mohammad
              

    Sorry for the delay, I have been extremely busy...
              There are several alternatives -- DNS round-robin, hardware load balancers
              (e.g., Cisco LocalDirector), etc.
              Mica Cooper wrote:
              > Robert,
              >
              > WLBS is Windows Load Balancing Service. It was designed to only use 1 IP per
              > box. It comes on the server editions. Do you know of something else? Linux
              > or Solaris maybe?
              >
              > Mica
              >
              > "Robert Patrick" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hi,
              > >
              > > I'm not sure what WLBS is but I guess my question is does it really need
              > to know
              > > that the IP addresses happen to point to the same machine? What happens
              > if you
              > > just tell it that there are twice as many machines as there really are?
              > >
              > > Robert
              > >
              > > Mica Cooper wrote:
              > >
              > > > Currently,
              > > > I am using WLBS to do the load balancing and it will only handle one IP
              > per
              > > > box. Do you know of any other software to do this?
              > > > Mica
              > > >
              > > > "Robert Patrick" <[email protected]> wrote in message
              > > > news:[email protected]...
              > > > > The real answer here is that the "cluster" is virtual -- it only
              > exists
              > > > because
              > > > > there are one or more server instances running. Regardless of how you
              > > > attain
              > > > > it, you are going to connect to one or more of the server instances.
              > > > There are
              > > > > several ways to do this as has been previously discussed (e.g., DNS
              > alias
              > > > that
              > > > > does DNS round-robin-style load-balancing, a comma-separated list of
              > IP
              > > > > addresses, etc.).
              > > > >
              > > > > Mica, as for your question, you need to teach your "load-balancing IP"
              > > > about all
              > > > > of the IP addresses for the servers in the cluster and not just "one
              > IP
              > > > per
              > > > > physical machine".
              > > > >
              > > > > Hope this helps,
              > > > > Robert
              > > > >
              > > > > Mica Cooper wrote:
              > > > >
              > > > > > Tao,
              > > > > >
              > > > > > Thats not what he is asking.
              > > > > >
              > > > > > He's asking how to call MyServerClusterName instead of trying to
              > call
              > > > > > different instances by IP. I would like to know how to do this also.
              > > > > > Currently we are calling a load balancing IP and it proxies to each
              > > > instance
              > > > > > but it only works for 1 instance per box and I need 2 instances per
              > box.
              > > > > >
              > > > > > Mica Cooper
              > > > > >
              > > > > > "Tao Zhang" <[email protected]> wrote in message
              > > > > > news:[email protected]...
              > > > > > > If you don't use DNS, you can write the IP1:7001,IP2:7001 in your
              > > > > > > PROVIDER_URL, and then transfer it to InitialContext.
              > > > > > >
              > > > > > >
              > > > > > > Mohammad Khan <[email protected]> wrote in message
              > > > > > > news:[email protected]...
              > > > > > > > Hi,
              > > > > > > >
              > > > > > > > I have a cluster running on a multihomed Solaris Server. It is
              > made
              > > > of
              > > > > > two
              > > > > > > > servers running on IP1 and IP2 (both using port 7001). It says
              > in
              > > > the
              > > > > > > > documentation that I can put in the IPs of the two servers
              > separated
              > > > by
              > > > > > a
              > > > > > > > comma for the cluster address. So the address that I put in was
              > > > > > > > "IP1:7001,IP2:7001" instead of a DNS name.
              > > > > > > >
              > > > > > > > How do I connect to the cluster. If I connect to IP1:7001 then I
              > am
              > > > > > > > connecting to the server and not the cluster, correct?
              > > > > > > >
              > > > > > > > I would appreciate any help,
              > > > > > > > Mohammad
              > > > > > > >
              > > > > > > >
              > > > > > > >
              > > > > > >
              > > > > > >
              > > > >
              > >
              

  • Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5015. SQL 2012 SP1

    Hi,
    Please help. I was trying to remove a SQL 2012 SP1 two node clustered instance using setup (Mantenance -> Remove Node)
    I started by doing this on passive node (and was successful) but when I ran setup on active node just before finishing successfully I got this error:
    TITLE: Microsoft SQL Server 2012 Service Pack 1 Setup
    The following error has occurred:
    The resource 'BCK_SG1DB' could not be moved from cluster group 'SQL Server (SG1DB)' to cluster group 'Available Storage'. 
    Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5015.
    Description: The operation failed because either the specified cluster node is not the owner of the resource, or the node
    is not a possible owner of the resource.
    For help, click:
    http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3000.0&EvtType=0xE8049925%25400x42B4DED7
    BUTTONS:
    OK
    I noticed that SG1DB instance was removed on both nodes but on Failover Cluster Manager -> Services and Applications the SQL server instance for SG1DB is still there. So I tried to delete it but got the error:
    Failed to delete SQL Server SG1DB. An error was encountered while deleting the cluster service or
    application SQL Server SG1DB. Could not move the resource to available storage. An error occured
    while moving the resource BCK_SG1DB to the clustered service or application Available Storage
    Any ideas why it failed or how could I delete the SQL server instance from Clauster?
    Thx

    Hello,
    Please read the following resource.
    https://support.microsoft.com/en-us/kb/kbview/313882?wa=wsignin1.0
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Need help: Deployment of application on multiple admin servers in a cluster

    Forwarding this to the weblogic.developer.interest.clustering group as well:
              Hi,
              I have created two admin servers and one managed server on each of them. Then I have added these two managed servers to both the admin servers.
              So I have two admin servers and a cluster having two managed servers.
              Now, if I deploy through one of the admin servers to the cluster cotaining both managed servers, i can see the deployment happening when I log on to the admin server from which I tried the deployment. IF i log onto the other admin server I do not see the deployment happening.
              Interestingly, if I restart both the managed servers from the second admin server, i can see the deployment from the same one but now, if I loginto the first admin server, I see the deployment missing!
              Is this a normal behaviour? Is there any way in which we can see the deployment from both the admin servers?
              Thanks in advance,
              -Sen

    Why do you have two admin servers? How many config.xml files exist? Are both admin servers pointing to the same domain if so how is the domain shared? Are both admin servers on the same box? Are they supposed to be the same domain? I'm just trying to understand why it is configured this way.
              -Jesus

  • JNDI bindings not being replicated across servers in a cluster

    According to the Weblogic Server documentation, JNDI bindings are
              automatically replicated across the servers in a cluster.
              http://www.weblogic.com/docs45/classdocs/weblogic.jndi.WLContext.html#REPLIC
              ATE_BINDINGS
              This is not proving to be true in my testing. Perhaps it's "just broken", or
              perhaps my cluster isn't correctly configured...
              Here is a reproducible case. Install the following on two or more servers in
              a cluster. You'll need to change line 26 of test1 to reference one of the
              servers explicitly.
              Test 1 works fine, since both web servers connect to the same server for
              JNDI usage. The test should return the last host to hit the page, along with
              the current host name. Alternating between servers in the cluster will
              alternate the results. However, the fact that I'm specifically naming a
              server in the cluster breaks the whole point of clustering -- if that server
              goes down, the application ceases to function properly.
              Test 2, which is supposedly the right way to do it, does not work, an error
              message is logged:
              Tue Jan 04 08:17:15 CST 2000:<I> <ConflictHandler> ConflictStart
              lastviewhost:java.lang.String (from
              [email protected]:[80,80,7002,7002,-1])
              And then both servers begin to report that they have been the only server to
              hit the page. Alternating between servers will have no effect -- both
              servers are looking solely at their own copies of the JNDI tree. No
              replication is occurring.
              What is up with this? Any ideas?
              Tim
              [test1.jsp]
              [test2.jsp]
              

    1. yes
              <JMSConnectionFactory AllowCloseInOnMessage="false"
              DefaultDeliveryMode="Persistent" DefaultPriority="4"
              DefaultTimeToLive="0"
              JNDIName="xlink.jms.factory.commerceFactory"
              MessagesMaximum="10" Name="xlink.jms.factory.commerceFactory"
              OverrunPolicy="KeepOld" Targets="bluej,biztalk-lab,devtestCluster"/>
              2. No I am just using the jndi name of the queue.
              This is an example of how I send a message:
                   Context ctx = new InitialContext();
              QueueConnectionFactory qconFactory;
              QueueConnection qcon;
              QueueSession qsession;
              QueueSender qsender;
              Queue queue;
              ObjectMessage msg;
              qconFactory = (QueueConnectionFactory) ctx.lookup("xlink.jms.factory.commerceFactory");
              qcon = qconFactory.createQueueConnection();
              qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
              queue = (Queue) ctx.lookup("xlink.jms.queue.biztalk-lab.OrdrspImport");
              qsender = qsession.createSender(queue);
              msg = qsession.createObjectMessage(reportExecutorContainer);
              qcon.start();
              qsender.send(msg);
              qsender.close();
              qsession.close();
              qcon.close();
              3. I don't know those setting (wl 6.1sp7)

  • How to maintain the state in the cluster environment?

    HI Guys,
    I had a list with String values.I deployed the project in the cluster.
    I had a get method which will be invoked by servers in the cluster.
    when the request given by first server. it has to remove the first value in the list.
    when the request given by other server,it has to remove the next value in the list.
    So how to achieve this functionality?
    Regards,
    Praveen

    Hi,
    use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
    Frank
    Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason.

  • Get Server Address in the cluster

    I want to get all the servers IP's participating in my cluster.
              Is there a way to do it?
              (I tried to use ClusterMBean APIs but it returns only the server names)
              Thanks.
              

    Pls find the attached code snippet.
              Kumar
              Shiri G wrote:
              > I want to get all the servers IP's participating in my cluster.
              > Is there a way to do it?
              > (I tried to use ClusterMBean APIs but it returns only the server names)
              >
              > Thanks.
              >
              import java.util.Set;
              import java.util.Iterator;
              import java.rmi.RemoteException;
              import javax.naming.*;
              import weblogic.jndi.Environment;
              import weblogic.management.MBeanHome;
              import javax.management.ObjectName;
              import weblogic.management.WebLogicMBean;
              import weblogic.management.configuration.ServerMBean;
              import weblogic.management.configuration.ClusterMBean;
              import weblogic.management.WebLogicObjectName;
              import weblogic.management.MBeanHome;
              public class getServersInCluster {
              static final int MAX_SERVERS_IN_CLUSTER = 10;
              public static void main(String[] args) {
              MBeanHome home = null;
              //url of the Admin server
              String url = "t3://172.17.240.99:8001";
              String username = "system";
              String password = "weblogic";
              ClusterMBean clusterMBean = null;
              Set mbeanSet = null;
              Iterator mbeanIterator = null;
              ServerMBean[] serverMbeanArray = new ServerMBean[MAX_SERVERS_IN_CLUSTER];
              String clusterName = "MyCluster"; // name of your cluster
              try {
              Environment env = new Environment();
              env.setProviderUrl(url);
              env.setSecurityPrincipal(username);
              env.setSecurityCredentials(password);
              Context ctx = env.getInitialContext();
              home = (MBeanHome) ctx.lookup("weblogic.management.adminhome");
              } catch (Exception e) {
              System.out.println("Exception caught: " + e);
              try {
              mbeanSet = home.getMBeansByType("Cluster");
              mbeanIterator = mbeanSet.iterator();
              while(mbeanIterator.hasNext()) {
                   clusterMBean = (ClusterMBean)mbeanIterator.next();
                   if(clusterMBean.getName().equals(clusterName)) {
                   System.out.println("Name: " + clusterMBean.getName());
              serverMbeanArray = clusterMBean.getServers();
              } catch (Exception e) {
              System.out.println("Caught exception: " + e);
              System.out.println("The servers in the cluster: " + clusterName + " are: " );
              for (int i=0; i < serverMbeanArray.length; i++) {
                   System.out.println("\n\nserver " + i + " : " + serverMbeanArray.getName());
                   System.out.println("ListenAddress: " + serverMbeanArray[i].getListenAddress() + " ListenPort: " + serverMbeanArray[i].getListenPort());

  • How to add another serve into the cluster without updating the tangosol xml

    Currently we have two servers in the cluster and incase want to expand it further, add the entry in tangosol-coherence-override.xml.
    What i am looking for is coherence providing kind of API using which I can tell it that here is the new/latest list of servers in the cluster. If there is a change then the cluster should be able to accommodate accordingly.
    More of a dynamic self expansion and reduction ability of the Coherence cluster based on the published information.
    Thanks
    Edited by: user11224268 on Jun 2, 2009 7:40 PM

    Hi,
    I do not think this is presently feasible. I have filed COH-2374 for tracking purposes requesting an implementation of the host-filter element for the authorized-hosts for cluster-config similar to the host-filter element for authorized-hosts for tcp-acceptor. This would enable the specification of a Filter implementation that would be used to determine if a host should be allowed to join the cluster.
    Regards,
    Harv

  • The Cluster service is shutting down because quorum was lost

    Hi, we recently experienced the above issue and after looking for explanations I haven't been able to find any satisfying answers when other people have posted this issue.
    Our problem is as follows:
    2 node 2008R2 cluster running SQL 2012
    Each node is a HP BL460c running in a HP C7000 Blade Chassis.
    We were updating the flexfabric cards on one of the chassis.  The other chassis had been patched the previous week with no problems. 
    During the update process the flexfabric cards, which hold the Ethernet and FC connections, reboot so before work had begun all active cluster services had been failed over to the node in the chassis not being worked on.  However despite this the cluster
    service shut down on this one particular cluster.  All other clusters running across these 2 chassis continued to run as expected.
    As other people have posted before we saw the following errors in the system log.
    1564: File share witness resource 'File Share Witness' failed to arbitrate for the file share
    1069: Cluster resource 'File Share Witness' in clustered service or application 'Cluster Group' failed.
    1172: The Cluster service is shutting down because quorum was lost. This could be due to the loss of network connectivity between some or all nodes in the cluster, or a failover of the witness disk.
    Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware or software errors related to the network adapter. Also check for failures in any other network components to which the node is connected
    such as hubs, switches, or bridges.
    However we cant understand what could cause this to happen when the service is running on the node in the chassis not being updated, especially when the same update was performed the week before with no issues.  How can both nodes lose connectivity
    to the File Share Witness at the same time?
    Cluster Validation tests run fine and don't highlight any issues.  The file share witness is accessible from both servers.

    Hi,
    Please confirm you have install the Recommended hotfixes and updates for Windows Server 2008 R2 SP1 Failover Clusters update, especially the following hotfix.
    The network location profile changes from "Domain" to "Public" in Windows 7 or in Windows Server 2008 R2
    http://support.microsoft.com/kb/2524478/EN-US
    A hotfix is available that adds two new cluster control codes to help you determine which cluster node is blocking a GUM update in Windows Server 2008 R2 and Windows Server
    2012
    http://support.microsoft.com/kb/2779069/EN-US
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • ADFS server in NLB cluster unable to reach all servers in the same subnet

    I have 2 ADFS (3.0) virtual servers (server 2012 R2 on VMware) in an NLB cluster (setup for Office 365 initially) and want to be able to use the SAML to connect to a couple of Linux servers in the same network to allow SSO to the Linux boxes.
    It was working then stopped and now the primary FS server (FS1) cannot ping either Linux box or one of our WS08R2 file and print servers. It can ping all other servers in the same network.
    I tried to get a packet capture with MS NetMon 3.4 but it only picked up the successful ping requests.
    Firewall is disabled but that made no difference.
    NLB cluster configured in Unicast mode as I found Office 365 and another outside service didn't want to work using Multicast or IGMP Multicast.
    The really bizarre thing is the secondary FS vm can ping the other boxes even with "ping server -S clusteraddress"
    Any suggestions as to where to look to track this down will be most welcome.
    Cheers
    David
    Cheers, David

    Hi,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thanks for your understanding and support.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.

    I am experiencing this error with one of our cluster environment. Can anyone help me in this issue.
    The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.
    Thanks,
    Venu S.
    Venugopal S ----------------------------------------------------------- Please click the Mark as Answer button if a post solves your problem!

    Hi Venu S,
    Based on my research, you might encounter a known issue, please try the hotfix in this KB:
    http://support.microsoft.com/kb/928385
    Meanwhile since there is less information about this issue, before further investigation, please provide us the following information:
    The version of Windows Server you are using
    The result of SELECT @@VERSION
    The scenario when you get this error
    If anything is unclear, please let me know.
    Regards,
    Tom Li

Maybe you are looking for