TED with Clustered Servers

Hi All,
I am wondering what I need to do or even if TED can, set a package path to a clustered volume path instead of setting the package path of a distributed application to a single file server name?
TED itself is not cluster aware but can it be tricked/manipulated?
eg.
Currently apps come down and the package path changes from:
\\EnterpriseDistributorServer1\APPS1\TheApplicatio nName
To:
\\LocalFileServer1\APPS1\TheApplicationName
As it should and always has with single server sites, however our clustered SAN connected environment is also doing this. Which doesn't take advantage of the clustered servers resilience capabilities at all and renders applications unavailable if LocalFileServer1 goes down.
Instead I want it to go from:
\\EnterpriseDistributorServer1\APPS1\TheApplicatio nName
To:
\\Cluster1\APPS1\TheApplicationName
I want to do this without setting Cluster1 as the package path at the Enterprise level and configuring the distribution to keep the same source path, so our other servers maintain their own versions locally when distributed.
I also don't want to have to create secondary NAL and distribution objects just for the cluster, as I also receive enterprise distributions that I do not control apart from subscribing to.
Any help/ideas would be much appreciated.
Cheers,
Brad

brad,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://www.novell.com/support and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Forums Team
http://forums.novell.com

Similar Messages

  • Can I use Admin Console to Start Clustered Servers ?

              I have just started to look at clustering and am in the process of running through
              the cluster example tutorial. I have used the domain config wizard to create
              a manged server with a cluster and another server to act as the http proxy. As
              I prefer to use the admin console for all tasks I wondered if there is any way
              to start the managed servers from the console. The reason I ask is that I cannot
              find a way to start another server from the console apart from the admin server.
              On a seperate note can anyone tell me whether the multicast IP address is something
              that I should be concerned with as a developer. The reason I ask is that I know
              it is used for clustered servers to communicate, but how can it do that if the
              IP address is a physical box that does not have BEA installed.
              Thanks
              Justin
              

    Yes, you can start all managed servers from the console ... Look under the
              cluser that you create and click on the control tab ... you should be able
              to start all the managed servers that will be apart of the cluster there.
              Weblogic uses a service on the local machine called node manager which will
              start and stop the services on each managed server.
              Its good for developers to know something about multicasting as far as what
              it does, how it works but most system administrators all well versed with
              the inner workings of it. You have to have weblogic installed in order for
              that particular box to become apart of the cluster, and you can run multiple
              managed servers on one physical box but be careful with resource intensive
              apps.
              "Justin Flanagan" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I have just started to look at clustering and am in the process of running
              through
              > the cluster example tutorial. I have used the domain config wizard to
              create
              > a manged server with a cluster and another server to act as the http
              proxy. As
              > I prefer to use the admin console for all tasks I wondered if there is any
              way
              > to start the managed servers from the console. The reason I ask is that I
              cannot
              > find a way to start another server from the console apart from the admin
              server.
              >
              > On a seperate note can anyone tell me whether the multicast IP address is
              something
              > that I should be concerned with as a developer. The reason I ask is that
              I know
              > it is used for clustered servers to communicate, but how can it do that if
              the
              > IP address is a physical box that does not have BEA installed.
              >
              > Thanks
              >
              > Justin
              Outgoing mail is certified Virus Free.
              Checked by AVG anti-virus system (http://www.grisoft.com).
              Version: 6.0.638 / Virus Database: 409 - Release Date: 3/21/2004
              

  • Running BizTalk on multiple non-clustered servers. Potential serious issue

    Hi,
    I have just discovered what has potential to be a fairly large issue in our current BizTalk Architecture. We are running BizTalk Server 2006 R2 on 2 different servers, running Windows Server 2003 R2. These servers are NOT clustered. Instead, BizTalk is installed
    to both, configured on 1 and then on the 2nd, they have joined the existing BizTalk environment. We have 1 host with 2 host-instances for say an Orchestration Host. (So 1 Orchestration Host and then 1 Orchestration Host Instance on each server), we also have
    a host instance for Receive and Send on each server.
    This is a problem that I have identified on an application currently in UAT:
    We have a routine called 'Recovery Mode'. It doesn't matter what Recovery Mode is but what does matter is that only a single instance can go into recovery mode at the same time. 
    Consider this:
    bool inRecovery;
    while (isBroken) {
    if (!inRecovery){
    inRecovery = true;
    // Recover
    inRecovery = false;
    else {
    // Wait, recheck until not in recovery, or fixed.
    Imagine an instance on server 1 needs to go into recovery, it first checks the inRecovery flag, gets returned false so goes into recovery, let's say this takes 5 minutes to complete. During this time, an instance on server 2 needs to go into recovery, checks
    the flag, but the flag on server 2 has not been set to true.... Now I have 2 instances in Recovery...
    My questions are:
    1. Can I cluster 2 non-clustered servers? I'd need to upgrade from Windows Server 2003 R2 Standard to Enterprise is that possible? If so, Can I simply upgrade and cluster the servers or would I need to format the disks?
    2. If no to number 1, where would you store the 'inRecovery' flag'? I can't store in a DB as there will be slight cross over where instance 2 might return false in my example just as instance 1 is writing unless I can lock it on write or something.
    Some advice would be greatly appreciated.
    Thanks
    Rod

    To answer your specific question:
    1. Yes, but you would need to upgrade to at least Enterprise.  Windows Server 2003 R2 Standard does not support clustering.  IIRC, the upgrade from Standard to Enterprise is pretty easy, perhaps just a SKU change.
    2. If you absolutely cannot upgrade Windows Server, then you'd have to store the state externally, such as SQL Server.  There shouldn't be any concurrency issues if you do the check in the right sequence.  Basically, begin a transaction, attempt
    to UPDATE, return weather the UPDATE was successful, meaning that call grabbed the lock.  If you check then update, yes, there is a miniscule chance both will return the same value but only one near-sumultaneous UPDATE will succeed.

  • Tlisten resolve incorrect IP add on Clustered Servers

    Hi All,
    I am having a problem in deploying Tuxedo v6.5, as a stand alone application, on
    a pair of MS NT 4 clustered servers. The problem is when starting tlisten process
    using standard command "tlisten -l //HOSTNAME:12345", tlisten picks up a different
    IP addresses every time I start another tlisten process.
    i.e. starting three tlisten processes may result in three tlisten processes listening
    on three different IP addresses that belongs to the cluster pairs.
    My two constrains are:
    (1) I need 6 tlistens processes to be started on the same physical machines
    (2) my client insist to use Hostname unless it is proven that it is a defacts in
    BEA's tlisten
    I have investigate with the Network support ppl, and according to them, their DNS
    settings seems to be fine (i.e. they suggest that they have only map HOSTNAME to
    a single IP address).
    Any help would be appreciated.
    Regards
    Nathan

    I added the program under the allowed apps but it still didn't work.
    I disabled the firewall but it didn't work either.
    Added IP addresses under DNS somewhere, but didn't work.
    This would only handle the built-in software firewall that is part of the OS X operating system on your Mac.
    I was told I may need to configure access to port numbers and/or server addresses. Certain ports should be open and certain server addresses "added", and it is preferable to configure a firewall by server address instead of IP address.  If an IP range exception can be entered, I will need to enter a range of about 100.
    By default, all incoming traffic from the Internet is blocked by your router. On the other hand, all solicitated outbound traffic is NOT blocked. Note, however, that the Apple routers do NOT support UPnP. If your application is coded to do so this may be the issue you are seeing. Using a non-Apple router would be one solution.
    Opening ports on the Apple router is done via the AirPort Utility. Please check out the following AirPort User Tip for details.

  • Verity Issue - Clustered Servers

    To summarize:
    We have an interesting issue that I am attempting to create a
    work around for. Our website exists in a clustered enviorment (3
    servers), a development server, and a file server (mostly PDF's
    Word docs, PPT's etc...). Each server re-indexes the Verity
    collections nightly via scheduled task and the file server does as
    well. Since we host our servers in a sercure external enviorment
    there is no direct network connection between the clustered servers
    and the file server. Our work around for this was, since our
    development server can see both, we would:
    1) Re-index nightly on the file server
    2) Set a scheduled task on the dev server to copy the files
    from the collection on the file server to the test enviorment
    3) Use our source control to submit these copies to the
    clustered servers via scheduled task.
    Everything was working great until we upgraded the file
    server to MX 7. The collection file structure has changed for
    vertity in MX 7 and we cannot output the results on the search
    pages. We do plan to upgrade all of our servers to MX 7 but it is
    going to take a few months.
    We are trying to come up with some ideas as how we can
    integrate the results from the file server. (i.e CFHTTP) as we dump
    the results from 3 collections into an array and then sort the
    relevance.
    Any thoughts?
    Thanks,
    Jon

    I'll restate this in simpler fashion.
    Can you retrieve MX 7 verity search results on a MX 6.1
    server?
    Can this be done via CFHTTP or any other similar method?
    Thanks

  • Set logging severity level for clustered servers

    How can I set the logging severity level for clustered servers just once at the cluster level rather than one at a time at the server level?

    I know the logging is server by server, but surely there is a way to configure the multiple servers with one change rather than one by one. We have 40 some servers in the cluster.

  • In my Iphone 5, Nothing on my App Store is working its displaying blank (Except for Genius section). I've tried to uninstall and install itunes and all its component but still it doen't fix. Not sure if its problem with apple servers. Someone help please!

    In my Iphone 5, Nothing on my App Store is working,  its displaying blank (Except for Genius section). I've tried to uninstall and install itunes and all its component in my desktop but still it doesn't fix the app store issue. Not sure if its problem with apple servers. Someone help please!

    settigns>itunes and app store to make sure you are signed in.. If  you are, you will see your account name..... anyhow, click your account name, sign out and sign back in
    also go to to settings>general>reset and reset network settings... if that doesnt work settings>general>reset and reset all settings!
    one of those shall work. The last step would be to restore your device (apple.com/support) HT1414

  • How do I create an Integration Domain with 3 servers ?

    Hi,
    I would like to create a WLI domain with three servers:<br>
    Ø     One for the administration console;<br>
    Ø     One for WLI;<br>
    Ø     And the last to deploy EJB Session (which are the service called by WLI)<br><br>
    To create the domain, I use the WLI 8.1 SP4 Configuration Wizard.<br><br>
    After creating the domain with 3 services, I have not succeeded to start the WLI Server.<br><br>
    For another test, I would like to create a WLI domain with two servers:<br>
    Ø     One for the administration console and WLI;<br>
    Ø     And the last to deploy EJB Session<br><br>
    To create the main server, I have used the configuration wizard. For the other, I have used the console administration. With this configuration, the message brocker was not initialised.<br><br>
    For the last test, I have created a domain with single server and I had no errors.<br><br>
    <b>So, my question is: What is the method to create a domain with three servers?</b><br><br>
    Thanks for your help<br> <br><br><br>
    <b>Case 1: Test to define 3 servers</b>
    <4 nov. 2005 14 h 45 CET> <Notice> <WebLogicServer> <BEA-000328> <Starting WebLogic Managed Server "etsoWLI" for domain "complexDomain">
    The WebLogic Server did not start up properly.
    weblogic.management.AbortDeploymentException: weblogic.t3.srvr.FatalStartupException: Can't start server due to startup class failure WLI Startup Class - with nested exception:
    [com.bea.wli.management.BPMComponentInitializationException: Failed to initialize ProcessConfiguration module]
    at weblogic.t3.srvr.StartupClassService.addDeployment(StartupClassService.java:92)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:754)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:733)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:509)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1560)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1528)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:988)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:946)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7691)
    at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    at weblogic.Server.main(Server.java:32)
    Reason: [Deployer:149601]The deployment framework was unable to resume accepting requests.weblogic.t3.srvr.FatalStartupException: Can't start server due to startup class failure WLI Startup Class - with nested exception:
    [com.bea.wli.management.BPMComponentInitializationException: Failed to initialize ProcessConfiguration module]
    <4 nov. 2005 14 h 45 CET> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: [Deployer:149601]The deployment framework was unable to resume accepting requests.weblogic.t3.srvr.FatalStartupException: Can't start server due to startup class failure WLI Startup Class - with nested exception:
    [com.bea.wli.management.BPMComponentInitializationException: Failed to initialize ProcessConfiguration module]>
    <br> <br>
    <b>Case 2 : Test to define 2 servers</b><br>
    <4 nov. 2005 15 h 03 CET> <Error> <WLI-Core> <BEA-484037> <Process Tracking failed to initialize properly. Tracking data cannot be recorded for process typ
    e "/MailProcess/processes/process02.jpd".>
    <4 nov. 2005 15 h 03 CET> <Error> <WLI-Core> <BEA-481000> <The Message Broker is not initialized>
    <4 nov. 2005 15 h 03 CET> <Error> <WLW> <000000> <Failed to register subscriptions for JPD /MailProcess/processes/process02.jpd
    java.lang.RuntimeException: The Message Broker is not initialized
    at com.bea.wli.broker.MessageBroker.getMessageBroker(MessageBroker.java:277)
    at com.bea.wli.control.MBUtils.registerSubscriptionRules(MBUtils.java:99)
    at com.bea.wli.bpm.runtime.JpdDispFile$3.run(JpdDispFile.java:903)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at com.bea.wli.bpm.runtime.JpdDispFile.registerSubscriptions(JpdDispFile.java:912)
    at com.bea.wli.bpm.runtime.JpdDispFile.<init>(JpdDispFile.java:212)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at com.bea.wlw.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
    at com.bea.wlw.runtime.core.dispatcher.DispUnit.<init>(DispUnit.java:153)
    at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:578)
    at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.getDispUnit(HttpServerHelper.java:501)
    at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:541)
    at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    javax.management.InstanceNotFoundException: lastEtsoDomain:Location=etsoMain,Name=MsgBroker,Type=MsgBrokerRuntime (admin server:true)
    at weblogic.management.internal.MBeanHomeImpl.getMBean_helper(MBeanHomeImpl.java:145)
    at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.java:130)
    at weblogic.management.internal.MBeanHomeImpl.getRuntimeMBean(MBeanHomeImpl.java:557)
    at weblogic.management.internal.MBeanHomeImpl.getRuntimeMBean(MBeanHomeImpl.java:549)
    at weblogic.management.internal.AdminMBeanHomeImpl.getRuntimeMBean(AdminMBeanHomeImpl.java:580)
    at com.bea.wli.management.MBeanHelper.getMsgBrokerRuntimeMBean(MBeanHelper.java:549)
    at com.bea.wli.bpm.runtime.__broker.listSubscriptions(__broker.java:178)
    at com.bea.wli.bpm.runtime.__broker._jspService(__broker.java:833)
    at com.bea.wlw.runtime.core.dispatcher.ServiceView.dispatchToPage(ServiceView.java:269)
    at com.bea.wlw.runtime.core.dispatcher.ServiceView.forward(ServiceView.java:438)
    at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:617)
    at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    To use 3 managed servers with Weblogic, I must a cluster environment.
    Weblogic say: "WebLogic Integration domain that includes an administrative server and one or more managed servers must include a cluster. A WebLogic Integration domain that includes an administrative server and one or more managed servers without a cluster is an unsupported configuration."
    Fred

  • Error while creating table with clusters

    Hi
    I tried the following
    CREATE CLUSTER emp_dept (deptno NUMBER(3))Cluster is created
    Then i tried to create the table having the above cluster but giving the errors:
    create table emp10 (ename char(5),deptno number(2) )cluster emp_dept(deptno);The error is:
    ORA-01753 column definition incompatible with clustered column definitionCould you please help me in this

    Your cluster is based on a NUMBER(3) data type while the emp10 table has a deptno column with a data type of NUMBER(2).

  • When table with clustered columnstore indexe is partitioned the performance degrades if data is located in multiple partitions

    Hello,
    Below I provide a complete code to re-produce the behavior I am observing.  You could run it in tempdb or any other database, which is not important.  The test query provided at the top of the script is pretty silly, but I have observed the same
    performance degradation with about a dozen of various queries of different complexity, so this is just the simplest one I am using as an example here. Note that I also included approximate run times in the script comments (this is obviously based on what I
    observed on my machine).  Here are the steps with numbers corresponding to the numbers in the script:
    1. Run script from #1 to #7.  This will create the two test tables, populate them with records (40 mln. and 10 mln.) and build regular clustered indexes.
    2. Run test query (at the top of the script).  Here are the execution statistics:
    Table 'Main'. Scan count 5, logical reads 151435, physical reads 0, read-ahead reads 4, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Txns'. Scan count 5, logical reads 74155, physical reads 0, read-ahead reads 7, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Workfile'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Worktable'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
     SQL Server Execution Times:
       CPU time = 5514 ms, 
    elapsed time = 1389 ms.
    3. Run script from #8 to #9. This will replace regular clustered indexes with columnstore clustered indexes.
    4. Run test query (at the top of the script).  Here are the execution statistics:
    Table 'Txns'. Scan count 4, logical reads 44563, physical reads 0, read-ahead reads 37186, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Main'. Scan count 4, logical reads 54850, physical reads 2, read-ahead reads 96862, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Worktable'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Workfile'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
     SQL Server Execution Times:
       CPU time = 828 ms, 
    elapsed time = 392 ms.
    As you can see the query is clearly faster.  Yay for columnstore indexes!.. But let's continue.
    5. Run script from #10 to #12 (note that this might take some time to execute).  This will move about 80% of the data in both tables to a different partition.  You should be able to see the fact that the data has been moved when running Step #
    11.
    6. Run test query (at the top of the script).  Here are the execution statistics:
    Table 'Txns'. Scan count 4, logical reads 44563, physical reads 0, read-ahead reads 37186, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Main'. Scan count 4, logical reads 54817, physical reads 2, read-ahead reads 96862, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Worktable'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Workfile'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
     SQL Server Execution Times:
       CPU time = 8172 ms, 
    elapsed time = 3119 ms.
    And now look, the I/O stats look the same as before, but the performance is the slowest of all our tries!
    I am not going to paste here execution plans or the detailed properties for each of the operators.  They show up as expected -- column store index scan, parallel/partitioned = true, both estimated and actual number of rows is less than during the second
    run (when all of the data resided on the same partition).
    So the question is: why is it slower?
    Thank you for any help!
    Here is the code to re-produce this:
    --==> Test Query - begin --<===
    DBCC DROPCLEANBUFFERS
    DBCC FREEPROCCACHE
    SET STATISTICS IO ON
    SET STATISTICS TIME ON
    SELECT COUNT(1)
    FROM Txns AS z WITH(NOLOCK)
    LEFT JOIN Main AS mmm WITH(NOLOCK) ON mmm.ColBatchID = 70 AND z.TxnID = mmm.TxnID AND mmm.RecordStatus = 1
    WHERE z.RecordStatus = 1
    --==> Test Query - end --<===
    --===========================================================
    --1. Clean-up
    IF OBJECT_ID('Txns') IS NOT NULL DROP TABLE Txns
    IF OBJECT_ID('Main') IS NOT NULL DROP TABLE Main
    IF EXISTS (SELECT 1 FROM sys.partition_schemes WHERE name = 'PS_Scheme') DROP PARTITION SCHEME PS_Scheme
    IF EXISTS (SELECT 1 FROM sys.partition_functions WHERE name = 'PF_Func') DROP PARTITION FUNCTION PF_Func
    --2. Create partition funciton
    CREATE PARTITION FUNCTION PF_Func(tinyint) AS RANGE LEFT FOR VALUES (1, 2, 3)
    --3. Partition scheme
    CREATE PARTITION SCHEME PS_Scheme AS PARTITION PF_Func ALL TO ([PRIMARY])
    --4. Create Main table
    CREATE TABLE dbo.Main(
    SetID int NOT NULL,
    SubSetID int NOT NULL,
    TxnID int NOT NULL,
    ColBatchID int NOT NULL,
    ColMadeId int NOT NULL,
    RecordStatus tinyint NOT NULL DEFAULT ((1))
    ) ON PS_Scheme(RecordStatus)
    --5. Create Txns table
    CREATE TABLE dbo.Txns(
    TxnID int IDENTITY(1,1) NOT NULL,
    GroupID int NULL,
    SiteID int NULL,
    Period datetime NULL,
    Amount money NULL,
    CreateDate datetime NULL,
    Descr varchar(50) NULL,
    RecordStatus tinyint NOT NULL DEFAULT ((1))
    ) ON PS_Scheme(RecordStatus)
    --6. Populate data (credit to Jeff Moden: http://www.sqlservercentral.com/articles/Data+Generation/87901/)
    -- 40 mln. rows - approx. 4 min
    --6.1 Populate Main table
    DECLARE @NumberOfRows INT = 40000000
    INSERT INTO Main (
    SetID,
    SubSetID,
    TxnID,
    ColBatchID,
    ColMadeID,
    RecordStatus)
    SELECT TOP (@NumberOfRows)
    SetID = ABS(CHECKSUM(NEWID())) % 500 + 1, -- ABS(CHECKSUM(NEWID())) % @Range + @StartValue,
    SubSetID = ABS(CHECKSUM(NEWID())) % 3 + 1,
    TxnID = ABS(CHECKSUM(NEWID())) % 1000000 + 1,
    ColBatchId = ABS(CHECKSUM(NEWID())) % 100 + 1,
    ColMadeID = ABS(CHECKSUM(NEWID())) % 500000 + 1,
    RecordStatus = 1
    FROM sys.all_columns ac1
    CROSS JOIN sys.all_columns ac2
    --6.2 Populate Txns table
    -- 10 mln. rows - approx. 1 min
    SET @NumberOfRows = 10000000
    INSERT INTO Txns (
    GroupID,
    SiteID,
    Period,
    Amount,
    CreateDate,
    Descr,
    RecordStatus)
    SELECT TOP (@NumberOfRows)
    GroupID = ABS(CHECKSUM(NEWID())) % 5 + 1, -- ABS(CHECKSUM(NEWID())) % @Range + @StartValue,
    SiteID = ABS(CHECKSUM(NEWID())) % 56 + 1,
    Period = DATEADD(dd,ABS(CHECKSUM(NEWID())) % 365, '05-04-2012'), -- DATEADD(dd,ABS(CHECKSUM(NEWID())) % @Days, @StartDate)
    Amount = CAST(RAND(CHECKSUM(NEWID())) * 250000 + 1 AS MONEY),
    CreateDate = DATEADD(dd,ABS(CHECKSUM(NEWID())) % 365, '05-04-2012'),
    Descr = REPLICATE(CHAR(65 + ABS(CHECKSUM(NEWID())) % 26), ABS(CHECKSUM(NEWID())) % 20),
    RecordStatus = 1
    FROM sys.all_columns ac1
    CROSS JOIN sys.all_columns ac2
    --7. Add PK's
    -- 1 min
    ALTER TABLE Txns ADD CONSTRAINT PK_Txns PRIMARY KEY CLUSTERED (RecordStatus ASC, TxnID ASC) ON PS_Scheme(RecordStatus)
    CREATE CLUSTERED INDEX CDX_Main ON Main(RecordStatus ASC, SetID ASC, SubSetId ASC, TxnID ASC) ON PS_Scheme(RecordStatus)
    --==> Run test Query --<===
    --===========================================================
    -- Replace regular indexes with clustered columnstore indexes
    --===========================================================
    --8. Drop existing indexes
    ALTER TABLE Txns DROP CONSTRAINT PK_Txns
    DROP INDEX Main.CDX_Main
    --9. Create clustered columnstore indexes (on partition scheme!)
    -- 1 min
    CREATE CLUSTERED COLUMNSTORE INDEX PK_Txns ON Txns ON PS_Scheme(RecordStatus)
    CREATE CLUSTERED COLUMNSTORE INDEX CDX_Main ON Main ON PS_Scheme(RecordStatus)
    --==> Run test Query --<===
    --===========================================================
    -- Move about 80% the data into a different partition
    --===========================================================
    --10. Update "RecordStatus", so that data is moved to a different partition
    -- 14 min (32002557 row(s) affected)
    UPDATE Main
    SET RecordStatus = 2
    WHERE TxnID < 800000 -- range of values is from 1 to 1 mln.
    -- 4.5 min (7999999 row(s) affected)
    UPDATE Txns
    SET RecordStatus = 2
    WHERE TxnID < 8000000 -- range of values is from 1 to 10 mln.
    --11. Check data distribution
    SELECT
    OBJECT_NAME(SI.object_id) AS PartitionedTable
    , DS.name AS PartitionScheme
    , SI.name AS IdxName
    , SI.index_id
    , SP.partition_number
    , SP.rows
    FROM sys.indexes AS SI WITH (NOLOCK)
    JOIN sys.data_spaces AS DS WITH (NOLOCK)
    ON DS.data_space_id = SI.data_space_id
    JOIN sys.partitions AS SP WITH (NOLOCK)
    ON SP.object_id = SI.object_id
    AND SP.index_id = SI.index_id
    WHERE DS.type = 'PS'
    AND OBJECT_NAME(SI.object_id) IN ('Main', 'Txns')
    ORDER BY 1, 2, 3, 4, 5;
    PartitionedTable PartitionScheme IdxName index_id partition_number rows
    Main PS_Scheme CDX_Main 1 1 7997443
    Main PS_Scheme CDX_Main 1 2 32002557
    Main PS_Scheme CDX_Main 1 3 0
    Main PS_Scheme CDX_Main 1 4 0
    Txns PS_Scheme PK_Txns 1 1 2000001
    Txns PS_Scheme PK_Txns 1 2 7999999
    Txns PS_Scheme PK_Txns 1 3 0
    Txns PS_Scheme PK_Txns 1 4 0
    --12. Update statistics
    EXEC sys.sp_updatestats
    --==> Run test Query --<===

    Hello Michael,
    I just simulated the situation and got the same results as in your description. However, I did one more test - I rebuilt the two columnstore indexes after the update (and test run). I got the following details:
    Table 'Txns'. Scan count 8, logical reads 12922, physical reads 1, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Main'. Scan count 8, logical reads 57042, physical reads 1, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Worktable'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Workfile'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'Worktable'. Scan count 0, logical reads 0, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    SQL Server Execution Times:
    CPU time = 251 ms, elapsed time = 128 ms.
    As an explanation of the behavior - because of the UPDATE statement in CCI is executed as a DELETE and INSERT operation, you had all original row groups of the index with almost all data deleted and almost the same amount of new row groups with new data
    (coming from the update). I suppose scanning the deleted bitmap caused the additional slowness at your end or something related with that "fragmentation". 
    Ivan Donev MCITP SQL Server 2008 DBA, DB Developer, BI Developer

  • Encrypting a vote with a servers public key...HELP!

    Hey, I really need some help( online voting application)....what I want to do it allow a voter to be able to submit a ballot(vote) via servlets, they encrypt the ballot with the servers public key and then the ballot is stored in a database, where at another time the administrator may decrypt the ballot(s) using the servers private key. I have already sorted the voters authentication(MD5), and at the moment the servlet submits the ballot in an unencrypted form....so I just need a little help from here. I enclose my code and I would be truly grateful of someone could give me a hand.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.* ;
    public class CastVote extends HttpServlet{
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException,IOException{
    try {
    String jmulligan= request.getParameter("jmulligan");
    String pkelly=request.getParameter("pkelly");
    String mjones=request.getParameter("mjones");
    response.setContentType("text/html");
    PrintWriter out=response.getWriter();
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection ("jdbc:odbc:evoting");
    Statement stmt = con.createStatement();
    stmt.executeUpdate(
    "INSERT INTO Ballot (JMulligan, PKelly, MJones)"
    + "VALUES ('"+jmulligan+"','"+pkelly+"','"+mjones+"') ");
    stmt.close();
    out.println("<HTML>\n"+
    "<HEAD><TITLE>EVoting</TITLE></HEAD>\n"+
    "<BODY BGCOLOR=\"127734\">\n"+
    "<H1>Your Ballot has been entered as follows</H1>\n"+
    "<H1>J Mulligan got "+ jmulligan +"</H1>\n"+
    "<H1> M Jones got "+ mjones +"</H1>\n"+
    "<H1> P Kelly got "+ pkelly +"</H1>\n"+
    "</BODY></HTML>");
    catch( Exception e ) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    thanks
    Jacinta
    PS I have ssl configured, with a self signed cert.

    Hey!
    I am also in the middle of doing an en=voting application as part of my thesis! Its interesting to see the way other people do the voting. Well, my experience so far is that I cannot get public/private key encryption to work. I have posted many topics on this forum regarding it and the reason it wont work is that the ballot that I am trying to enctypt is too large for the ballot object . I used the RSA algoithm and it wasn't able to handle my large object. So instead I have just used a symmetric algorithm and that works fine. I think its the DES algorithm. The only problem with this is that you are using the same key to encrypt and decrypt the ballot. I dont think this is secure. It has been reccomended to me that I use this symmetric algorithm as it is, but that I then use public/private key to encrypt the symmetric key! I still have a problem with this because if the key is still encrypted with public key, the user must have acces to the private key to decrypt the symmetric key to decryt the ballot. See where I'm going?
    I would love to know of an asymmetric algorithm that can encrypt large objects. That would solve the whole security issue. I will post a replyhere if I find out the answer.
    By the way, how is your project going?
    All the best,
    Chris Moltisanti

  • VS Exp 2013: Unable to create the Web site ... The components for communicating with FTP servers are not installed.

    I have MS Visual Studio Express 2013 It has worked fine for many months and then suddenly (I have made no configuration changes or added new programs) when I try to publish I am getting the message:
    Unable to create the Web site 'ftp://ftp.xx.xx/xxx.org.uk/www/htdocs'. The components for communicating with FTP servers are not installed.
    (I have replaced actual name with x's).
    I had a similar problem some months ago and found that saving all files, closing VS 2013 and re-starting the program fixed the problem. This time it has not.
    I am at a loss to know how to take this forwards. I do not use IIS.
    Any help would be appreciated.
    Michael.

    Hi Michael,
    For web site development, so you use the VS2013 express for web, am I right? We have to make sure that it is not the VS version issue.
    As you said that it worked well before, did you install other add-ins or tools in your VS IDE like
    Xamarin or others?
    Maybe you could disable or remove all add-ins in your VS IDE, test it again.
    please also install the VS2013 update 4 in your side.
    Best Regards,
    Jack
    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.
    Click
    HERE to participate the survey.

  • Whats wrong with the servers i cant download update 5.1 firmware

    whats wrong with the servers i cant download update 5.1 firmware ive been trying for 2 days it says i dont have permission to access the requested source

    What says you don't have permission to access the requested source? That is not an error that should come up at all either from iTunes or when attempting an over the air upgrade. At least not an error that has anything to do with the servers.
    It could be a permissions problem on your computer or an issue being caused by your firewall or antivirus software.

  • Server Monitoring with clustered instances

    Anyone using the server monitor or multiserver monitor with
    clustered instances of coldfusion? In CF 8.0.1 on Solaris, enabling
    monitoring produces a vast number of repeated errors of the form
    included below. This occurs on the both clustered instances as the
    instances are setup to replicate session data using J2EE session
    variables. The monitoring appears to work but the frequency of the
    errors produced in the ouput log of *BOTH* of the cluster instances
    is extensive. These errors do not occur when monitoring the
    "cfusion" admin instance. Is this a product issue or a
    configuration issue?
    MM/DD HH:MM:SS error Setup of session replication failed.
    [2]java.io.StreamCorruptedException: unexpected end of block
    data
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    at
    java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
    at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
    at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at java.util.Hashtable.readObject(Hashtable.java:859)
    ...

    Dear Jan,
    Already I have added the plugin but while adding the target i am getting below error. Can u please give some idea on this
    Test Connection failed: [_WinAuthDLLToLoadDynamicProp;em_error=DLL file 'D:\12c_agent\plugins\oracle.em.smss.agent.plugin_12.1.0.2.0\scripts\emx\microsoft_sqlserver_database..\..\..\..\dependencies\oracle.em.smss\jdbcdriver\sqljdbc_auth.dll' is found missing or not was never copied manually. Please copy amd64 version of sqljdbc_auth.dll at the above location and re-try, MSSQL_NumClusterNodes;Can't resolve a non-optional query descriptor property [dllFile] (dllFile), WbemRemote_Determination_DynamicProperty;Can't resolve a non-optional query descriptor property [dllFile] (dllFile), MSSQLInstance_TestMetric_DynamicProperty;Can't resolve a non-optional query descriptor property [dllFile] (dllFile), OSType_TargetHost_DynamicProperty;Can't resolve a non-optional query descriptor property [STDINWBEM_HOST] (ms_sqlserver_host), MSSQL_NumClusterNodes;Can't resolve a non-optional query descriptor property [dllFile] (dllFile)]

  • Connecting to the db is taking too long with Shared Servers connection

    Hi all
    OS: Solaris 11 SPARC 64 bits
    DB: 2-node RAC Oracle 11.2.0.3.5
    After doing a migration of a 40GBs database from a 9i database to a 11g database, it's takin too long to connect to the db, which is using shared server. In the moment, there aren't any applications using the db, just myself. Doing some tests, i saw that when i use a dedicated connection, i can connect almost instantly, but using the shared connection, it takes almost 4 seconds to connect, via sqlplus. Here are some shared server parameters:
    shared_server_sessions               integer
    shared_servers                          integer     1
    max_shared_servers                   integer     20
    dispatchers                               string      (protocol=TCP)(disp=5)
    max_dispatchers                        integer     5
    lsnrctl service
      Instance "INSTANCE", status READY, has 6 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:5 refused:0 state:ready
             LOCAL SERVER
          "D004" established:93 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: orahml01, pid: 4073>
             (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=65402))
          "D003" established:85 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: orahml01, pid: 4070>
             (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=44055))
          "D002" established:90 refused:0 current:2 max:1022 state:ready
             DISPATCHER <machine: orahml01, pid: 4066>
             (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=41277))
          "D001" established:89 refused:0 current:1 max:1022 state:ready
             DISPATCHER <machine: orahml01, pid: 4062>
             (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=61887))
          "D000" established:91 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: orahml01, pid: 4060>
             (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=44222))
      INSTANCE =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = hostname-scan)(PORT = 1521))
          (CONNECT_DATA =
            (SERVER = SHARED)
            (SERVICE_NAME = INSTANCE)
    INSTANCE1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = hostname-vip)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = INSTANCE)
          (INSTANCE_NAME = INSTANCE1)
    INSTANCE2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = hostname-vip)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = INSTANCE)
          (INSTANCE_NAME = INSTANCE2)
      ) The alert.log doesn't show anything wrong.
    What can be causing this issue with shared servers?
    Thanks in advance.
    Edited by: Fabricio_Jorge on 27/03/2013 06:14

    Hello,
    Refer to the documentation is a great help.Please have a look at the below link:
    http://docs.oracle.com/cd/B10501_01/server.920/a96533/features.htmLook at the part :
    Performance of certain database features can improve when a shared server architecture is used, and performance of certain database features can degrade slightly when a shared server architecture is used. For example, a session can be prevented from migrating to another shared server while parallel execution is active.i know that this maynot be the case here but please read this document and apply it as it will help you understand what is going on.
    BR
    Mohamed ELAzab
    http://mohamedelazab.blogspot.com

Maybe you are looking for

  • G585 - terrible performanc​e - can anybody help

    Hi,  I bought this laptop about a month ago for my mother, she does not need a lot from a notebook. The notebook had Win 8 preinstalled and I was surprised how slow it was. It took me quite a while to download and install Win 8.1. Then I decided that

  • Help with an initial cap issue

    I'm working along with iBooks Author and found something in my way. I have an unusual font I am using for a very large initial cap at the start of each new chapter. The font is .otf and with a color box under it to make the rest of the text move "off

  • Optimum size for a full browser width image?

    Hi all, I'm pretty new to Muse and these forums (hello everyone!) and have been tinkering around with some features. I'm currently creating a website for my band that integrate a full width browser image at the top of each page. I was wondering what

  • Render Error: Intern test error

    Hello, i get always a render error message: Intern test error. This occurs randomly. I´ve the newest Version 11.02. Anybody outhere who have the same error? How can i fix this problem? Thanks so far for your help :-) Regards Peter

  • Rdf model problem

    When I have create the RDF netwok correctly,I inpue"execute sdo_rdf.create_rdf_model('family', 'family_rdf_data', 'triple');". the message is: ORA-13199: Model error occurred ORA-06512: 在 "MDSYS.MD", line 1723 ORA-06512: 在 "MDSYS.MDERR", line 17 ORA-