Cfschedule on multi instance server

Hi All
Hope someone can help me on this. We run a multi instance CF server with 3 "slave" instances, which handle the site requests and the CFusion instance that handles the scheduled tasks.
The application I'm writing has a few scheduled tasks that need setting up each time it gets installed and it is installed multiple times for a variety of clients. So far, this has been done either manually setting them up individually on the CFusiion instance or I created an admin menu extension that fires them off (Knowing the <cfschedule> is being run on CFusion, thus installing them to that instance).
My question however is; it would much more efficient if the application could check for the existence of the scheduled task and if it's not there, install them. The problem though is as the request would be coming from initial install, thus a web request, it would be coming from one of the "Slave" instances and install the scheduled tasks to them = bad. Is there any way to direct a specific request or point <cfschedule> to install on specific instance of ColdFusion?
Checking for the existance on the CFusion instance is easy, I can read:
C:/JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo-cron.xml
But then directing the request seems to be impossible in this way.
I am running CF9.0.1 on a Windows 2008 Server box with IIS7.5
Hopefully somone may be able to help
Thanks in advance
Tom

No one? Bueller? Bueller?
OK, so I may have come up with a solution, I'm just not sure how elegant it is:
I have a seperate install.cfm that handles the scheduled task creation. The file that gets included on application start now moves this install.cfm to the /cfide directory and then does a cfhttp call to it on 127.0.0.1 ... which is bound to the cfusion instance ... thus installing the schedule tasks to the correct instance and making my OCD happy. The file is then deleted once the cfhttp returns correct setup.
Does the job, but as I say, doesnt seem to be the most elegant of ways.
Tom

Similar Messages

  • Best Practices for CS6 - Multi-instance (setup, deployment and LBQ)

    Hi everyone,
    We recently upgraded from CS5.5 to CS6 and migrated to a multi-instance server from a single-instance. Our current applications are .NET-based (C#, MVC) and are using SOAP to connect to the InDesign server. All in all it is working quite well.
    Now that we have CS6 (multi-instance) we are looking at migrating our applications to use the LBQ features to help balance the workload on the INDS server(s). Where can I find some best practices for code deployment/configuration, etc for a .NET-based platform to talk to InDesign?
    We will be using the LBQ to help with load management for sure.
    Thanks for any thoughts and direction you can point me to.
    ~Allen

    Please see if below metalink note guides you:-
    Symmetrical Network Acceleration with Oracle E-Business Suite Release 12 [ID 967992.1]
    Thanks,
    JD

  • Virtualised Multi-Instance SQL Server Cluster - Processor Resource Management

    Hi - We're in the process of implementing a multi-instance SQL 2014 guest cluster on Windows 2012 R2.  To our dismay, it seems that Windows System Resource Manager (WSRM) is deprecated in Windows 2012 R2, so we're now stuck for how best to manage CPU usage
    between SQL instances....
    As far as I can see, I'm left with two options, but both of these have problems:
    1) Use SQL Processor affinity within the guest cluster, with each SQL instance assigned to dedicated v-CPU.  However, I'm not certain that setting SQL Processor affinity within a VM will actually have the desired affect!?..
    - When there is physical CPU capacity available, I'd hope Hyper-V would provide it to whichever v-CPU is demanding it.  
    - When VM processor demand exceeds the physical CPU capacity, I'd hope the SQL instances would receive a proportion of the physical CPU time according to the number of v-CPU(s) assigned through the affinity settings.
    2) Use a VM (actually 2, because its a 2-node guest cluster) per SQL instance!..  This is not ideal, as we need multiple SQL instances and it would result in have an administrative and performance overhead
    Does anyone have any information or thoughts on this?  How can we manage a virtualised multi-instance SQL deployment now that WSRM has been deprecated?  Help me please!

    I'm not sure what are the requirements for each of the 2 VMs in in the SQL guest cluster.
    I'm assuming the guest cluster resides on a Hyper-V CSV with at least 2 Hyper-V hosts, and the 2 VMs are configured with Anti-affinity to ensure they never reside on the same Hyper-V host.
    I've been able to configure CPU resources to VMs from the standard controls in Hyper-V Manager:
    See this blog post
    What edition of SQL 2014 you're using?
    This matters because of these limitations.
    Also consider running SQL Server with Hyper-V Dynamic Memory - see Best Practices
    and Considerations
    Hyper-V performance tuning - CPU
    Hyper-V 2012 Best Practices
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • InDesign Server CC Multi-Instances

    Following the documentation for multi-instance support the application, running as a web service under IIS7 on Windows Server 2008 R2, is failing to access the object. For a single instance I use CreateObject("InDesignServer.Application") but as document for multiple instances I use GetObject(“myIDS1”) (where I have an instance of InDesign Server CC running with parameter “indesignserver -configuration myIDS1”. I have tried running the instance both from command line, elevated command line, and from the InDesignServerService). It is acting as though it does not recognise the instance name, but then I don't really understand how it would. Any ideas appreciated.

    @anemic.algae, Welcome to the community. If you're looking for a standalone installer, then I would recommend you to download the trial version from the InDesign CC page: https://www.adobe.com/cfusion/tdrc/index.cfm?product=indesign_server. You can later use the prtk tool to serialize the product based on your requirement. Here's the link to how to use the Adobe PRTK tool:
    http://adobe.ly/15VtTWy

  • How to setup a Multi-instance standby database?

    I was asked to setup a multi-instance standby database for a multi-instance primary database. I understand that only one of the instance will apply redo logs from the primary database, but how about the other instance? Should I mount that instance just to update the standby control file(the control file is not located in shared file system with the cluster server) even if it isn't going to apply any redo logs?
    I am so confused now. Hope somebody will help me on that. Any document or tutorial will be helpful too.
    Note that I am not using dataguard.
    Thanks in advance

    Hi,
    You can set up multiple instance standby..where in each instance will receive the archive logs from correpsonding primary instance. Keep them on shared location (say ASM) so that one of the instances from where recovery is started can access the archive logs and apply it.
    So basically
    Primary instance A <----- send archive to ---> Standby A
    Primary instance B <----- send archive to ---> Standby B
    Start managed recovery on A
    Standby A --- > Apply archives for instance A and B
    -Amit
    http://askdba.org/weblog/
    Edited by: Amit_DBA on Aug 12, 2009 5:16 PM

  • How to connect local database when installing BRStudio as Multi-Instance?

    Hi,
    I have installed BRStudio 7.10 as Multi-Instance mode to plan to administrate several local oracle database in one server.
    Is this installation the correct method? Should I use dedicated instance installation?
    When I trying to create a local database instance in BRStudio, it prompts to input the remote command line to connect to DB.
    Do I have to use putty/ssh .etc to connect even a local Oracle database?
    Please suggest.
    Regards,
    Alex

    Hi Alex,
    Yes you need to connect it seems as using ssh/rsh or putty to access the local server...
    I have got a very good documentation on it... please have a look and it may solve your issue..
    [BRtools Studio Installation and Configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009af54c-7ce4-2b10-de8e-b062f7cbbcf7?quicklink=index&overridelayout=true]
    all the best !

  • Found Dead Multi-Threaded Server Error!!!

    I am in the process of testing an application based on EJBs deployed on an Oracle 8.1.5 database.
    Some times the whole instance chashes without any obvious reason.
    The error reported in the Alert file is
    "found dead multi-threaded server 'SOOO',pid(8,1). Terminating Instance".
    I check my code and i think that there is no problem with cleaning up resources. I increased also the JAVA_POOL_SIZE and LARGE_POOL_SIZE size without any result.
    Can anybody give me a hint for the error cause?
    Thanks in advance.
    null

    go on metalink http://metalink.oracle.com
    Good Luck,
    Fred

  • SQL 2012 Cluster Multi Instances !

    Hello,
    For SQL 2012 Cluster Multi Instances setup, Does the Storage Space should be different for each instance or can be the same?
    Kindly help me in this.
    Regards !

    Hello,
    The reason is that's what Microsoft decided to do. It's also that way because disks are a clustered resource and belong to a single resource group. Each SQL Server install will have its own resource group. If a disk could belong to more than one resource
    group, and a group fails - then all of the instances with the same disk would fail. That's not what you'd want from an HA solution. Microsoft clustering is a shared nothing model to which this is part of.
    Before installing:
    http://technet.microsoft.com/en-us/library/ms189910.aspx
    ◦The base drive, the one with the drive letter, cannot be shared among failover cluster instances.
    Creating a new SQL Server Cluster:
    http://technet.microsoft.com/en-us/library/ms179530.aspx
    -Sean
    Sean Gallardy | Blog |
    Twitter

  • Multi-instance Install for CF 8

    Hey all,
    so we have installed CF 8 for multi instance. The main
    instance will show up fine in the browser, but any additional
    instances will not show up correctly. Either the instance shows a
    blank white screen, or it gives a page not found.
    We are setting up virtual sites in IIS to set the new file
    locations.
    Need help badly with this!!
    thanks
    Dan

    First check that the ColdFusion instances are properly
    running. If you
    go to the instance manager of the main 'cfusion' instance,
    where you
    created all the sub-instances, you should be able to click on
    the icon
    that links to each instances ColdFusion Administrator. When
    you do this
    you are going to get pages using IP address and ports in the
    URL bar of
    your browser.
    If that works. Can you access static HTML content in each of
    your
    virtual servers? Reading your last post, I suspect this might
    the be
    the source of your problem. When you run mutiple websites
    from the same
    server, each site must have separate addresses. This can be
    done with
    IP addresses, ports or host-headers. Making this work is
    going to
    involve configuration in IIS and|or your domains Domain Name
    Server.
    If you can get to the ColdFusion Administration Application
    of all your
    instances and you can get to static content in each of your
    virtual web
    sites, then there maybe other problems preventing the web
    sites and
    ColdFusion working together. But confirm those two things
    first.

  • Can't create object for multi instance when using GetObject("myconfig1")

    Hello,
    I have the Indesign Server CS6 Multi Instance. I create an instance using the InDesign Server Windows Service:
    Port: 12000
    Args: -configuration myconfig1
    Now I tried in Visual Basic: GetObject("myconfig1")
    Then I get a can't create ActiveX component exception.
    Notes:
    The service "InDesignServerService x64" is running.
    The InDesign Server instance was started.
    I can access the instance via SOAP: http://localhost:12000/
    Why can I not create the object in Visual Basic?
    Thank you for help!
    Harald

    I found that you need to create the object if it does not already exist, to I implemented that with a try catch, try to get it and if you can't then create it. when you start it I also found it was slow so I have to put a pause in to wait for it. The below code should hopefully be enough to help.
      Private Sub AttachToInstance(ObjectName As String, InDesignAppPath As String, ByRef Restarted As Boolean)
            Try
                oInDesign = GetObject(ObjectName)
            Catch ex As Exception ' instance not running, start it
                Restarted = True
                StartInDesignInstance(ObjectName, InDesignAppPath)
                Threading.Thread.Sleep(5000)
                oInDesign = GetObject(ObjectName)
            End Try
        End Sub
        Private Sub StartInDesignInstance(ObjectName As String, InDesignAppPath As String)
            Dim ProcessProperties As New ProcessStartInfo
            ProcessProperties.FileName = "InDesignServer"
            ProcessProperties.Arguments = "-configuration " & ObjectName
            ProcessProperties.CreateNoWindow = True
            ProcessProperties.WorkingDirectory = InDesignAppPath
            Dim myProcess As Process = Process.Start(ProcessProperties)
        End Sub

  • About multi instances

    Hi all.
    Very happy I can found this forum.
    My company is considering to use InDesign Server as one of candidate solutions to our Japanese customers.
    I have bassic questions.
    1. Does "multi instances" mean "multi cpu" ? that means, 1 instance for 1 cpu, 2 instances for 2 cpu, 4 instances for 4 cpu ?
    2. If we use multi instances, how InDesign Server will log an error ? each instance will be logged separately to some error files (or another error handling system) ?
    Thank you in advance.

    Multi-instance means running more than one InDesign Server process on the same machine. It is not dependent on the number of processors the machine has. So you could run 3 processes on a single processor machine, etc.
    Each process logs it's errors by writing them to stderr/stdout. You can redirect this whereever you would like. Errors are also logged to an in memory so that they could be accessed from a plug-in.

  • QUESTION: Multi-instance memory requirements on Linux

    Hi, all.
    I've been out of the loop on Oracle technical details for awhile, and need to re-educate myself on a few things. I'm hoping someone can point me to a book in the online docs which discusses my question.
    Oracle db 10.2.0.2, on Redhat Linux 2.6.9-67.0.0.0.1. This server is a virtual machine, on a VMWare ESX server.
    My question concerns the utilization of memory resources in a multi-instance environment.
    I currently have 2 instances/dbs on this server. Each was configured with an SGA_TARGET of approximately 900MB. java_pool_size, large_pool_size and shared_pool_size are also assigned values in the pfile, which I believe supersedes SGA_TARGET.
    I am tasked with determining if the server can handle a third instance. It's unclear how much load the database will see, so I don't yet know how much memory I will want to allocate to the shared pool for the buffer cache, etc.
    I wanted to see how much memory was being used by the existing instances, so on the server I attempted to capture memory usage information both before, and after, the startup of the second instance.
    I used 'top' for this, and found that the server has a total of 3.12GB of physical memory. Currently there's about 100MB free physical memory.
    the information from 'top' also indicated that physical memory utilization had actually decreased after I started the second instance:
    Before second instance was started:
    Mem: 3115208k total, 3012172k used, 103036k free, 46664k buffers
    Swap: 2031608k total, 77328k used, 1954280k free, 2391148k cached
    After second instance was started:
    Mem: 3115208k total, 2989244k used, 125964k free, 47144k buffers
    Swap: 2031608k total, 89696k used, 1941912k free, 2320184k cached
    Logging into the instance, I ran a 'show SGA', and got an SGA size of about 900MB (as expected). But before I started the instance, there wasn't anywhere near than amount of physical memory available.
    The question I need to answer is whether this server can accomodate a third instance. I gather that the actual amount of memory listed in SGA_TARGET won't be allocated until needed, and I also understand that virtual memory will be used if needed.
    So rather than just asking for 'the answer', I'm hoping someone can point me to a resource which will help me better understand *NIX memory usage behavior in a multi-instance environment...
    Thanks!!
    DW

    Each was configured with an SGA_TARGET of approximately 900MB. java_pool_size, large_pool_size and shared_pool_size are also assigned values in the pfile, which I believe supersedes SGA_TARGET.
    Not quite. If you set non-zero values for those parameters as well as setting SGA_TARGET, then they act as minimum values that have to be maintained before extra free memory is distributed automatically amongst all auto-tuned memory pools. If you've set them as well as SGA_TARGET, you've possibly got a mish-mash of memory settings that aren't doing what you expected. If it was me, I'd stick either to the old settings, or to the new, and try not to mix them (unless your application is very strange and causes the auto-allocate mechanism to apportion memory in ways you know are wrong, in which case setting a floor below which memory allocations cannot go might be useful).
    3GB of physical memory is not much these days. The general rule is that your total SGAs should not make up more than about 50% of physical memory, because you probably need most of the other 50% for PGA use. But if your users aren't going to be doing strenuous sorting (for example), then you can shrink the PGA requirement and nudge the SGA allowance up in its place.
    At 900MB per SGA, you can have two SGAs and not much user activity. That's 1800MB SGA plus, say, 200MB each PGA = 2200MB, leaving about 800MB for contingencies and Linux itself. That's quite tight and I personally wouldn't try to squeeze another instance of the same size into that, not if you want performance to be meaningful.
    Your top figures seem to me to suggest you're paging physical memory out to RAM already, which can't be good!

  • Multi-Instance BGP

    BGP Multi-instance was supposed to be released in XR 4.2, I could not find any mention of it in the Release notes for 4.2, 4.3, & 5.1?
    How do I find out if it was implemented and if so how to configure it, if not if it is still on the road map?
    Thanks,
    John

    Hello,
    It is in release note XR .4.2:
    http://www.cisco.com/en/US/docs/routers/asr9000/software/asr9k_r4.2/general/release/notes/reln_a9k_42.html
    And some writing on Cisco doc:
    http://www.cisco.com/en/US/docs/routers/crs/software/crs_r4.2/routing/configuration/guide/b_routing_cg42crs_chapter_01.html#concept_E6B1D3D6B8CA4742AED837B3A94E826F
    Below is the example what i did in my lab running 4.2.3:
    RP/0/RSP1/CPU0:ASR-9006-01#show run router bgp
    Fri Jan 31 21:05:02.170 UTC
    router bgp 1 instance IPV4
    bgp router-id 72.15.48.5
    bgp graceful-restart
    ibgp policy out enforce-modifications
    address-family ipv4 unicast
      redistribute connected
      allocate-label all
    address-family vpnv4 unicast
      retain route-target all
    neighbor 172.16.8.3
      remote-as 1
      update-source Loopback0
      address-family ipv4 labeled-unicast
       route-policy PASS in
       route-policy PASS out
    router bgp 1 instance IPV6
    bgp router-id 99.2.3.4
    address-family ipv6 unicast
      redistribute connected
    thanks,
    rivalino

  • Multi Thread Server over TCP/IP

    Multi Thread Server over TCP/IP. Does it work?
    In my box it works only over IPC protocol.
    null

    S C Maturi (guest) wrote:
    : Mark Malakanov (guest) wrote:
    : : Multi Thread Server over TCP/IP. Does it work?
    : : In my box it works only over IPC protocol.
    : Mark,
    : Multi threaded server over TCP/IP will not work with
    : the current distribution of Oracle 8.0.5 on Linux.
    : This is corrected and a patch would be released soon.
    : Maturi
    tcp 0 0 bock.nettek-ll:listener bock.nettek-
    llc.co:4196 ESTABLISHED
    tcp 0 0 bock.nettek-llc.co:4196 bock.nettek-
    ll:listener ESTABLISHED
    (I have serveral of these)
    TNS Ping Utility for Linux: Version 8.0.5.0.0 - Production on 07-
    JAN-99 18:45:52
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)
    (PORT=1521))
    OK (440 msec)
    ...and from my install log you see that I selected MTS:
    -[ YESNO
    Q> Would you like MTS (Multi-Threaded Server) configured
    and the SQL*Net$
    A> TRUE
    Please explain? Will TCP/IP MTS work via the loopback adapter
    only? So far I have not tried a remote TCP/IP connection.
    -STEVEl
    null

  • Reports Multi-tier server from Dev 2000:v 1.6.1 don't start on solaris 8

    Reports Multi-tier server from Oracle Developer 2000:version 1.6.1 don't start on Sun Sparc Solaris 8, it writes:
    Segmentation Fault (core dumped). What i have to do?

    Reports Multi-tier server from Oracle Developer 2000:version 1.6.1 don't start on Sun Sparc Solaris 8, it writes:
    Segmentation Fault (core dumped). What i have to do?

Maybe you are looking for

  • Iphone 6 and ipad mini not charging after update to iOS 8.02

    after updating iPhone 6 and iPad mini to iOS 8.02 neither of them will charge on my Bose Soundock Portable using a genuine Apple 30 pin to Lightning adapter however, my 5S running 8.0 still charges

  • Target currency does not exist (although fix target currency used)

    Hello! we are using BW 7.3 and I have a problem with currency translation in bex query designer. I have currency conversion type in RSCUR called EUR_PC: It has fix target currency "EUR", exchange rate type "P" and time reference is based on an InfoOb

  • Secure Zone expiry by article value not by date

    Hello Everyone, We have been researching the BC tools along with Muse and love what we have found so far. One request/feature we would like to explore... Is it possible to calculate a members Secure Zone expiry by value rather than by date? The reaso

  • Change Data Capture on an existing database

    Hi Readers, I am using the Sql Server CTP5 Developer edition on which i am able to perform CDC only if i start with creating a new database and then load the tables.The complete data change could be captured. But when i implement the same on a existi

  • PerformancePoint: MDX Filter Question

    I have a PerformancePoint member selection filter (multi-select) using a hierarchy The Hierarchy is:            Studio -> Property -> Title When the user selects a Property, I want to return its Studio with it. If the user selects a 'Title' I want to