Specify a Server in a CF Cluster

We have a CFMX 7 cluster set up in Round-Robin mode. On
occasion, we would like to be able to specify a specific server in
the cluster to handle a request. Is it possible to do so with a URL
variable or something rather than just leaving it to CF to route
requests to each server?
For instance, if my cluster consisted of Server A, Server B,
and Server C, and I specifically wanted Server B to run a request,
I would like to do so with something like:
http://www.mysite.com/webpage.cfm?cfserver=ServerA
Is this possible?

I don't think this is possible.
However, I'm sure you can kludge something?
For example, how about instead of
http://www.mysite.com/webpage.cfm?cfserver=ServerB
you could use a URL like this...
http://www-B.mysite.com/webpage.cfm
I know it would be alot of extra work, but I think it would
work?
So the idea is this:
1) don't touch how you have things configured now
2) on ServerB, create another IIS site that points to your
existing directories
and also your host header for this IIS site is "www-B"
3) on ServerB, create another instance of CFMX
4) point your new IIS site to the new instance of CFMX
.. something like that.
Good luck!

Similar Messages

  • Witness Server in a failover cluster

    Hi.
    I was reading about this witness server in a failover cluster but always thought that the switch between active and passive would be automatic, never thought of a "vote" and a "quorum" to reach.
    Under what circumstances do I need this quorum (and therefore a witness server) and what happens if I am even?
    Does a witness server have necessarily to be a third one or can be set up as either the active or the passive one?
    Cheers 

    Hi,
    In addition to Jared's suggestion, I would like to clarify the following things:
    1. The witness server and its directory are used only for quorum purposes where there's an even number of members in the DAG.
    2. The witness server should be in the same Active Directory forest as the DAG.
    3. It is recommended to specify a Client Access server as the witness server for Exchange 2013 DAG.
    Hope my clarification is helpful.
    If there are any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • How Can i specify multiple server names in rwservlet.properties  file?

    How Can i specify multiple server names in rwservlet.properties file without clustering?
    I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
    Sample entry in the key map file is:
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
    REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
    If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
    REP-51002: Bind to Reports Server <<Server Name>> failed.
    how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
    If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.

    My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
    keymap file entries
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
    Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys.

  • Install SQL Server 2012 SP1 on a Windows Server 2012 R2 Failover Cluster - hangs at "Running discovery on remote machine" on VMWare VSphere 5.5 Update 1

    <p>Hi,</p><p>I'm trying to install SQL Server 2012 SP1 on the first node of a Windows Server 2012 R2 failover cluster.</p><p>The install hangs whilst displaying the "Please wait while Microsoft SQL Server 2012 Servce
    Pack 1 Setup processes the current operation." message.</p><p>The detail.txt log file shows as follows:</p><p>(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider : Use cached PID<br />(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider
    : NormalizePid is normalizing input pid<br />(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider : NormalizePid found a pid containing dashes, assuming pid is normalized, output pid<br />(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider : Use cached
    PID<br />(01) 2014-07-17 15:36:35 Slp: Completed Action: FinalCalculateSettings, returned True<br />(01) 2014-07-17 15:36:35 Slp: Completed Action: ExecuteBootstrapAfterExtensionsLoaded, returned True<br />(01) 2014-07-17 15:36:35 Slp: ----------------------------------------------------------------------<br
    />(01) 2014-07-17 15:36:35 Slp: Running Action: RunRemoteDiscoveryAction<br />(01) 2014-07-17 15:36:36 Slp: Running discovery on local machine<br />(01) 2014-07-17 15:36:36 Slp: Discovery on local machine is complete<br />(01) 2014-07-17
    15:36:36 Slp: Running discovery on remote machine: XXX-XXX-01</p><p>After about 4 hours and 10 minutes, the step seems to time out and move on, however it doesn't seem to have discovered what it needs to and the setup subsuently fails</p><p></p>

    Hi,
    Sorry Information you provided did not helped can you post content of both summary file and details,txt file on shared location for analysis.
    Can you download Service pack again and try once more
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • [Forum FAQ] Troubleshooting error "The specified SQL server instance is not valid" when installing SCOM reporting service

    Symptom
    If you have failed to install SCOM reporting service, you may encounter below error when you reinstall it:
    “The specified SQL server instance is not valid”.
    (Figure 1)
    Figure 1.
    Reason
    This issue may be caused by multiple reasons, for example the reasons in Figure 1.
    However, you may find that SSRS and Report Server website are configured correctly and no SSL or proxy Server is used. In these scenario, you can open the log file under path
    to find the root reason:
    C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles
    Later, you will find the error as below:
    ERROR: Throwing Microsoft.ReportingServices.Library.ReportServerDisabledException: , Microsoft.ReportingServices.Library.ReportServerDisabledException:
    The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. ---> System.Runtime.InteropServices.COMException
    (0x80090016): Keyset does not exist (Exception from HRESULT: 0x80090016)
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    at RSManagedCrypto.RSCrypto.ReencryptSymmetricKey(Byte[] symKeyBlob, Byte[] pPublicKeyBlob)
    at Microsoft.ReportingServices.Library.ConnectionManager.<GetEncryptionKey>b__2()
    --- End of inner exception stack trace ---;
    Solution
    According to the error message, you can delete encrypted content by following the steps below:
    Open SQL Reporting Services Configuration Manager.
    Select “Encryption Keys”.
    Click “Delete” to delete all encrypted content. (Figure 2)
    Figure 2.
    After that, we can install SCOM reporting service again, after successfully install reporting service, we should see the SCOM operation console as below:
    Figure 3.
    In addition, you may also encounter other errors when installing SCOM reporting service, and the troubleshooting steps may be different. However, we can also check SQL reporting
    service logs to find the root reason.
    Here are some articles that would be helpful for SCOM reporting service installation and troubleshooting:
    How to Install the Operations Manager Reporting Server
    http://technet.microsoft.com/en-us/library/hh298611.aspx
    Unable to install SCOM 2012 Reporting Services
    http://blogs.technet.com/b/mdegre/archive/2013/05/27/unable-to-install-scom-2012-reporting-services.aspx
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hello,
    I'm afraid you must use a dedicated instance of SQL Server for each site(SCOM/SCCM). Some similar issues were disscussed on this forum:
    SCCM and SCOM - SQL Server 
    http://social.technet.microsoft.com/Forums/en-US/configmanagergeneral/thread/bfa14da9-4692-4c64-a107-e085c967d259
    SCOM, SCCM, SQL on same server?
    http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/b5373aa7-5233-4b1f-9b39-b86e481e04d5
    Thanks,
    Yog Li
    TechNet Community Support

  • MS DTC not coming online on SQL Server 2008 R2 failover cluster

    Dear Experts,
    On a SQL Server 2008 R2 failover cluster, MS DTC cluster service is not coming online. It fails with below error message.
    "The DTC cluster resource's log file path was originally configured at: E:. Attempting to change that to: M:. This indicates a change in the path of the DTC cluster resource's dependent disk resource.  This is not supported. The error code
    returned: 0x8000FFFF".
    From the Component Services, we can see under the clustered DTCs, in the properties of the log file that it is configured for E drive. The 'Transaction list' and 'Transaction Statistics' are empty. When I try to change the log file path to
    point to M drive I get this warning message.
    "An MSDTC log file already exists in the selected directory. Resetting an existing MS DTC log file may cause your databases and other transactional resource managers to become inconistent. Please review the MSDTC Administrator's manual before
    proceeding. Do you wish to reset the existing MS DTC log"
    Could you please advise if this is safe to proceed with this warning as the  'Transaction list' and 'Transaction Statistics' are empty or would it cause any other issue.
    Thanks,
    MM

    Tauseef
    Did you tried using wmi....win32_share
    $path = "location where to create the folder"
    $share = $Shares=[WMICLASS]'WIN32_Share'   # class in wmi for share
    $Sharename = 'Sharename'
    New-Item -type directory -Path $Path
    $Shares.Create($Path,$Sharename,0,255,$Sharename)
    $Acl = Get-Acl $Path  # cmdlet for getting access control list
    $Access = New-Object system.security.accesscontrol.filesystemaccessrule("Username","FullControl","ContainerInherit, ObjectInherit", "None", "Allow")
    $Acl.AddAccessRule($Access)
    Set-Acl $Path $Acl
    Thanks Azam When you see answers please Mark as Answer if Helpful..vote as helpful.

  • Upgrading from SQL Server 2012 Standard to SQL Server 2014 Standard Failover Cluster

    Goal: To upgrade my default instance from SQL Server 2012 to SQL Server 2014 in a failover cluster.
    Given:
    1) Operating System Windows 2012 R2
    2) 2 Virtual Machines in a cluster with SQL Server as a Guest Cluster resource.  The two VMS are called APPS08 and APPS09.  They are our development environment that is setup similar to our production environment.
    Problem:  When running the SQL Server 2014 upgrade, I started on the VM that was not running the instance.  I then moved onto upgrading on the node that was running the instance.  As soon as the install attempt to failover the running instance
    an install error occurred that it could not failover.  After many install attempts I consistently received the error
    The SQL Server Failover cluster instance name 'Dev01'
    already exists as a cluster resource.  Opening Failover cluster manager there is no record of a DEV01.
    New Strategy:  Create a SQLCluster called DEV07.  At the end of the Install I get 'Resource for instance 'MSSQLSERVER' should not exists.  Neither I nor my Windows 2012 guy understand what Resource the install may be referring to.  
    We do not see anything out of the ordinary.
    Any suggestions as to what Resource may be seeing the default instance would be greatly appreciated.

    Hi PSCSQLDBA,
    As your description, you want to upgrade the default instance in SQL Server cluster.
    >> 'SQL Server failover cluster instance name 'Dev01' already exists as cluster resource'
    This error could occur when there is a previously used instance name which may not be removed completely.
    To work around the issue, please use one of the ways below.
    1. At command prompt, type Cluster res. This command will list you all the resources including orphan resources. To delete the orphan resource, type Cluster res <resource name>/delete.
    For more information about the process, please refer to the article:
    http://gemanjyothisqlserver.blogspot.in/2012/12/sql-2008r22012-cluster-installation.html
    2. Delete DNS entries, and force a replication of DNS to the other DNS servers.
    For more information about the process, please refer to the article:
    http://jon.netdork.net/2011/06/07/failed-cluster-install-and-name-already-exists/#solution
    >> 'Resource for instance 'MSSQLSERVER' should not exist'
    This error could occur when you already have MSSQLSERVER as a resource in the cluster, which may not be removed completely. To work around the issue, you could rebuild the SQL Server cluster node.
    Regards,
    Michelle Li

  • Cannot connect to the specified SQL Server instance

    I am trying to install Microsoft System Center 2012 R2 Virtual Machine Management.
    I am getting the following error:
    Setup cannot connect to the specified SQL Server instance.
    Ensure that the server name, isntance name, and, if speceified, port number are correct. If you are installing VMM remotely, ensure that remote connections are set up correctly, and then try Setup again.
    I have installed the 
    Microsoft® SQL Server® 2008 R2 Command Line Utilities
    but have not set up any SQL Server instances. 
    how should i proceed?
    Edit:
    The followign fields are configured:
    Server Name: The name of the machine i am using
    Port: <empty>
    Use the following credentials <NOT ticked>
    Instance name <empty> (the drop down is empty)
    New Database <Ticked> :  VirtualManagerDB

    Is SQL server is properly installed on the system?
    Are you able to connect with SQL server instance?
    As per the given details looks, only client utilities installed and trying to create the database which needs SQL server.
    Make sure you are able to connect with the "ServerName\InstanceName,PortNumber" and hope installing the system as per below article:
    http://technet.microsoft.com/en-us/library/gg610656.aspx
    Hope it help!
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • Setup cannot connect to the specified SQL Server instance

    On a clean install domain member (Windows 2012), I am trying to setup System center 2012 VMM:
    1. I installed the prerequisites as instructed during the pre-setup phase of the installation then rebooted the server (SQL Server 2012 was installed and services seem to be all started properly and SQL Configuration Manager starts as well).
    2. After reboot, logged again with domain admin account and Windows update installed right away SP1 for SQL server 2012. Then I rebooted again.
    3. Restarted the installation process and left default values. At the "Database configuration" step, I am leaving everything by default as well and I am getting error: "Setup cannot connect to the specified SQL Server instance. Ensure that
    the server name..."
    4. Tried different credentials, tried using port 1433 with no effect.
    Am I missing something????
    Thanks.
    Benjilafouine

    Definitely be sure to connect with the "ServerName\InstanceName,PortNumber". If you don't reference a port number it will try 1433 and then will connect via a dynamic port number. It is best in my opinion to always specify a specific port for each instance
    to listen on in the SQL Server Configuration Manager so that you can open the fewest number of ports in the Windows firewall.

  • Cannot Add File Share to (any) File Server Role of a Cluster in Windows Server 2012

    Cannot Add File Share to (any) File Server Role of a Cluster in Windows Server 2012...
    Get this message in the Operational Log in "FileServices-ServerManager-EventProvider" section of MS-Windows Eventlogs:
    Exception: Caught exception Microsoft.Management.Infrastructure.CimException: The xsi:type attribute (MSCluster_Property_Resource_Network_Name) does not identify an existing class.
       at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase`1.MoveNext(Boolean discardResultsAndErrors)
       at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase`1.MoveNext()
       at Microsoft.FileServer.Management.Plugin.Services.FSCimSession.PerformQuery(String cimNamespace, String queryString)
       at Microsoft.FileServer.Management.Plugin.Services.ClusterEnumerator.BuildNodes(ICimSession session, ClusterRole scopeType, String query, IDictionary`2 groupNameToTypeMap)
       at Microsoft.FileServer.Management.Plugin.Services.ClusterEnumerator.GetClusterClientAccessPointNames(ICimSession session, IDictionary`2 groupNameToTypeMap)
       at Microsoft.FileServer.Management.Plugin.Services.ClusterEnumerator.RetrieveClusterConnections(ComputerName serverName, ClusterMemberTypes memberTypeToQuery)
    Thanks for help...(everything else works fine in other type of cluster roles).
    Thomas.

    This issue also happens in fresh Windows 2012R2 installations, not just upgrades from 2008R2!
    I have the issue where I cannot modify any settings on SMB shares.  Here is the stacktrace.  It appears to be WMI related.
    Error: ERROR: Task 'TEST.xxxxxxx.COM-ClusterStorage$-SmbShareUpdate-46bcabf6-1dd4-4a48-a525-5e5d374596c7' has failed: Microsoft.FileServer.Management.Plugin.FSACException: Error occurred while updating an SMB share: The requested operation is not supported.
    ---> Microsoft.Management.Infrastructure.CimException: The requested operation is not supported.
       at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase`1.MoveNext()
       at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
       at Microsoft.Management.Infrastructure.CimSession.ModifyInstance(String namespaceName, CimInstance instance, CimOperationOptions options)
       at Microsoft.FileServer.Management.Plugin.Services.FSCimSession.ModifyInstance(ICimInstance instance)
       at Microsoft.FileServer.Management.Plugin.Services.FSCimSession.ModifyInstance(ICimInstance instance, IEnumerable`1 propertiesWithKeys)
       at Microsoft.FileServer.Management.Plugin.Providers.WmiUpdateTaskBase.DoUpdateInstance(ICimSession session, ICimInstance instance)
       at Microsoft.FileServer.Management.Plugin.Providers.WmiUpdateTaskBase.DoWork(Object sender, DoWorkEventArgs e)
       --- End of inner exception stack trace ---
       at Microsoft.FileServer.Management.Plugin.Providers.WmiUpdateTaskBase.DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

  • How to specify Host Server for Replicated Virtual Desktops within RDVH Collection

    My question about how to specify Host Server for Replicated Virtual Desktops within Collection.
    I know there is a aswered thread on this, but that solution (wait a week) didn't work for me.
    So i have 2 servers, RDS01 and RDS02 with both 15 Hyper-V VM's and replicating to eachother. That part works fine.
    Now I wanted to make it easy for my users I build a Connection Broker: RDCB
    All went fine in that setup, but when I want to add the existing VM's from RDS01 and RDS02 to the collection it just radomly adds running ones and replicated ones.
    So both RDS01 and RDS02 have 15 VM's running and 15 replica's in stopped state, but when I look in my collection, it says RDS01 has 23 and RDS02 has 7 VM's. When I add them all, I see he wants to add a lot of stopped states replica's from RDS01 instead of
    the running ones from RDS02.
    How can I specify which one he should use? Or need I disable replication first, setup the whole RDCB collection thing, and then turn replication back on? Or does Hyper-V replication not work at all when used in a collection?
    I hope someone can help out here. I'm googling and trying for 1,5 week now, but i can;t get it right.
    Thanks in advance.

    Hi Robin,
    Thanks for your patience.
    After you removed Replication from 1 machine on both RDS01 and RDS02, please restart that machine. After that, please add this machine to the RD collection again to test how the issue goes.
    As we know, Hyper-V Replica provides asynchronous replication of Hyper-V virtual machines between two hosting servers. It is simple to configure and does not require either shared storage or any particular storage hardware. Any server workload that can be
    virtualized in Hyper-V can be replicated. Replication works over any ordinary IP-based network, and the replicated data can be encrypted during transmission. Hyper-V Replica works with standalone servers, failover clusters, or a mixture of both. The servers
    can be physically co-located or widely separated geographically. The physical servers do not need to be in the same domain, or even joined to any domain at all.
    Currently, would you please add only running state VMs to the RD CB collection? And would you please capture some screenshots of the error message? Thanks very much for your cooperation.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Managed Server is not Joining Cluster

    Dear All,
              I have 3 (A,B,C) machines(each machine for each server) configured as 1 cluster (MainApp Cluster),
              due to unknown problem then 2 (B,C) machines is not recieving any EJB request from client, request only served by 1 machine (A).
              Then i try to restart these 2 (B,C) machines, B server was succesfully restarted and recieving request also from client, but when i restarted C server, A & B server stop serving request and all requests are handled only by C server, and if i stop the C server then A & B server start to recieve requests again.
              The MainApp Cluster monitoring menu looked someting like this when i started C server:
              Name Server Known Server
              A 3 A B
              B 3 A B
              C 1 C
              At first, after creation the cluster configuration served well.
              Do you guys ever have the same issues??? Is this a cluster configuation problem? Any comment is highly regarded.
              When i try with multicast test, i got out of order when i restartted the test in one of the server.
              Thanks
              [RESOLVED]
              Edited by bagusprabawa at 10/26/2007 1:30 AM
              Edited by bagusprabawa at 10/26/2007 2:54 AM

    It looks like the multicast connection between C and remain machines (A and B) is not proper. Please try multicast test from C and other machines and send the output.
              Regards,
              Rejeev Divakaran,
              http://rejeev.blogspot.com

  • JNDI Lookup for multiple server instances with multiple cluster nodes

    Hi Experts,
    I need help with retreiving log files for multiple server instances with multiple cluster nodes. The system is Netweaver 7.01.
    There are 3 server instances all instances with 3 cluster nodes.
    There are EJB session beans deployed on them to retreive the log information for each server node.
    In the session bean there is a method:
    public List getServers() {
      List servers = new ArrayList();
      ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
      try {
       Properties prop = new Properties();
       prop.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
       prop.put(Context.SECURITY_AUTHENTICATION, "none");
       Thread.currentThread().setContextClassLoader((com.sap.engine.services.adminadapter.interfaces.RemoteAdminInterface.class).getClassLoader());
       InitialContext mInitialContext = new InitialContext(prop);
       RemoteAdminInterface rai = (RemoteAdminInterface) mInitialContext.lookup("adminadapter");
       ClusterAdministrator cadm = rai.getClusterAdministrator();
       ConvenienceEngineAdministrator cea = rai.getConvenienceEngineAdministrator();
       int nodeId[] = cea.getClusterNodeIds();
       int dispatcherId = 0;
       String dispatcherIP = null;
       String p4Port = null;
       for (int i = 0; i < nodeId.length; i++) {
        if (cea.getClusterNodeType(nodeId[i]) != 1)
         continue;
        Properties dispatcherProp = cadm.getNodeInfo(nodeId[i]);
        dispatcherIP = dispatcherProp.getProperty("Host", "localhost");
        p4Port = cea.getServiceProperty(nodeId[i], "p4", "port");
        String[] loc = new String[3];
        loc[0] = dispatcherIP;
        loc[1] = p4Port;
        loc[2] = null;
        servers.add(loc);
       mInitialContext.close();
      } catch (NamingException e) {
      } catch (RemoteException e) {
      } finally {
       Thread.currentThread().setContextClassLoader(saveLoader);
      return servers;
    and the retreived server information used here in another class:
    public void run() {
      ReadLogsSession readLogsSession;
      int total = servers.size();
      for (Iterator iter = servers.iterator(); iter.hasNext();) {
       if (keepAlive) {
        try {
         Thread.sleep(500);
        } catch (InterruptedException e) {
         status = status + e.getMessage();
         System.err.println("LogReader Thread Exception" + e.toString());
         e.printStackTrace();
        String[] serverLocs = (String[]) iter.next();
        searchFilter.setDetails("[" + serverLocs[1] + "]");
        Properties prop = new Properties();
        prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
        prop.put(Context.PROVIDER_URL, serverLocs[0] + ":" + serverLocs[1]);
        System.err.println("LogReader run [" + serverLocs[0] + ":" + serverLocs[1] + "]");
        status = " Reading :[" + serverLocs[0] + ":" + serverLocs[1] + "] servers :[" + currentIndex + "/" + total + " ] ";
        prop.put("force_remote", "true");
        prop.put(Context.SECURITY_AUTHENTICATION, "none");
        try {
         Context ctx = new InitialContext(prop);
         Object ob = ctx.lookup("com.xom.sia.ReadLogsSession");
         ReadLogsSessionHome readLogsSessionHome = (ReadLogsSessionHome) PortableRemoteObject.narrow(ob, ReadLogsSessionHome.class);
         status = status + "Found ReadLogsSessionHome ["+readLogsSessionHome+"]";
         readLogsSession = readLogsSessionHome.create();
         if(readLogsSession!=null){
          status = status + " Created  ["+readLogsSession+"]";
          List l = readLogsSession.getAuditLogs(searchFilter);
          serverLocs[2] = String.valueOf(l.size());
          status = status + serverLocs[2];
          allRecords.addAll(l);
         }else{
          status = status + " unable to create  readLogsSession ";
         ctx.close();
        } catch (NamingException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (CreateException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (IOException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (Exception e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
       currentIndex++;
      jobComplete = true;
    The application is working for multiple server instances with a single cluster node but not working for multiple cusltered environment.
    Anybody knows what should be changed to handle more cluster nodes?
    Thanks,
    Gergely

    Thanks for the response.
    I was afraid that it would be something like that although
    was hoping for
    something closer to the application pools we use with IIS to
    isolate sites
    and limit the impact one badly behaving one can have on
    another.
    mmr
    "Ian Skinner" <[email protected]> wrote in message
    news:fe5u5v$pue$[email protected]..
    > Run CF with one instance. Look at your processes and see
    how much memory
    > the "JRun" process is using, multiply this by number of
    other CF
    > instances.
    >
    > You are most likely going to end up on implementing a
    "handful" of
    > instances versus "dozens" of instance on all but the
    beefiest of servers.
    >
    > This can be affected by how much memory each instance
    uses. An
    > application that puts major amounts of data into
    persistent scopes such as
    > application and|or session will have a larger foot print
    then a leaner
    > application that does not put much data into memory
    and|or leave it there
    > for a very long time.
    >
    > I know the first time we made use of CF in it's
    multi-home flavor, we went
    > a bit overboard and created way too many. After nearly
    bringing a
    > moderate server to its knees, we consolidated until we
    had three or four
    > or so IIRC. A couple dedicated to to each of our largest
    and most
    > critical applications and a couple general instances
    that ran many smaller
    > applications each.
    >
    >
    >
    >
    >

  • Cannot Create Data Repository with VM Server (3.1.1) Cluster

    Dear All,
    I have 3 Servers (one for VM Manager, two for VM Servers) and 1 Storage (Sun Storage 6180 (Fiber Chanel) and map volume as Default Storage Domain ).
    I try to create my 2 VM Servers as Cluster on VM Manager but it has problem as below:
    Case1. I can create a Server Pool with cluster by select Clustered Server Pool by select physical disk, add 2 servers then create data repository but it got problem: in page Create a Data Repository: Select Physical Disk is shown blank not see a physical disk.
    Case 2. when I create server pool by uncheck Clustered Server Pool box (None Cluster) and add 2 vm servers then create data repository, the physical disk is shown but got error message:
    "OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS vmserver1. Its server is not in a cluster
    Wed Dec 26 01:27:12 ICT 2012"
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

    1. So you're trying to create a server pool and a storage repository on a single LUN that is direct attached? Don't your software on the 6180 allow you present multiple LUNS from disk group? Think about it. You create a clustered server pool on a single LUN and then try to use that same LUN for repository.....
    2. How are both hosts attached? Are there multiple HBA cards in your 6180? Is so, how many? If you have redundant cards you should be using multipathing for redundancy.

  • How to Uninstall SQL instance on active-passive SQL server , which failed during Cluster Setup (Error-Failed at Validate Active Directory Configuration)

    How to Uninstall SQL instance on active-passive SQL server , which failed during Cluster Setup (Error-Failed at Validate Active Directory Configuration)
    active-passive SQL server cluster setup failed due to some steps missed in initial cluster setup,
    now i have unistall sql instance from nodes,
    Your help will higly appriciated.
    Regards,
    Anish
    Asandeen

    Hello,
    Please refer to the following link about remove a node of  SQL Server Failover Cluster Instance:
    http://msdn.microsoft.com/en-us/library/ms191545.aspx#Remove
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

Maybe you are looking for

  • BT lack of service

    I am writing in behalf of a friend who just moved from Edinburgh to Glenluce and is unable to get satisfactory service from BT. They were promised that a router package would be delivered a week ago today. No package. After calling, they were told th

  • PLEASE! i NEED your help!

    Hello i need help!   For the last 3 weeks my itunes is not working ' itunes was not installed correctly please reinstall error 7 ". and quicktime isen't wokring either ' pleas install apple application support here is a list of thinks that i'v tried

  • What office program is best for macbook air 2013

    what office program is best for macbook air 2013

  • How to I 'ungrey' 3D options in Photoshop cs6? Trying to convert path into 3D objects.

    Hello everyone! I have been trying to create 3D text following a tutorial on adobe tv: http://tv.adobe.com/watch/learn-photoshop-cc/distorting-and-extruding-text-in-3d/. My paths are ready but my 3D options are grey. I read a post else where that sug

  • Adobe doesn't see my stamps

    I created a stamp in acrobat pro XI and put it in the stamp folder for acrobat pro X on another persons machine, which in the past has not been an issue.  When I open a file in X it doesn't show up....any help here?