Develop in cluster

Hi,
          I have a cluster with two servers. I want programatically to know when one
          server shuts down for the other server execute a process.
          How can I do this??
          Thanks
          Mónica
          

I have a cluster with two servers. I want programatically to know when          one
          > > server shuts down for the other server execute a process.
          In 5.x you cannot do this with any documented WebLogic functionality.
          One possibility is for each server to register its name in JNDI and each
          server poll that part of the tree watching for adds/removes ... that might
          work.
          Peace,
          Cameron Purdy
          Tangosol, Inc.
          Clustering Weblogic? You're either using Coherence, or you should be!
          Download a Tangosol Coherence eval today at http://www.tangosol.com/
          "ML" <[email protected]> wrote in message
          news:[email protected]..
          > Hi again,
          >
          > my enviroment is WLS 5.1 sp 10
          > ML <[email protected]> escribió en el mensaje de noticias
          > [email protected]..
          > > Hi,
          > >
          > > I have a cluster with two servers. I want programatically to know when
          one
          > > server shuts down for the other server execute a process.
          > >
          > > How can I do this??
          > >
          > > Thanks
          > >
          > > Mónica
          > >
          > >
          >
          >
          

Similar Messages

  • How to retrieve data from cluster

    Hi,
        Can any body tell how to get the basic salary of an employee  using cluster.
         I am doing a EPF/ETF calculation in which I need to get the basic salary of the employee for a particular month.I am new to HR abap.Kindly provide some sample code.
          And any link to understand or develop using cluster.
    Thanks & Regards,
    Karthik.k

    Karthik,
    The below thread will give you the detail answer:
    how to get weekly/hourly salary of employees?
    Thanks
    P.S. Plz reward if useful

  • Doing the same task for different data.. Do I need Queues? How to use them if yes?

    Hello all,
    I have created a VI which is getting data from some FTP server and then after comparing with the HDD specified folder copy the missing data from the FTP ... Description is also in the VI. There are few things I need to ask.
    1) The email sending VI gives error 1172..What could be the reason .. is it firewall.. or is there any mistake in the code?
    2) As you people are experts so I really like any suggestion to improve the VI..
    3) The most important .. Currently this VI can only perform the whole task for one FTP folder. Actually my task is I need to check for 4 different FTP folder on different servers..its not 4 different folder in one FTP .. its 4 different FTP.Now my question is how I can do this: First it compare and copy from FTP1.Then FTP2... and so on.. How can I change the data for the cluster for different FTPs? Do I need to use queues? If yes how because I don't have any experience with queues.
    I will really appreciate is someone can either provide me the relevant example or can give me some idea.
    The main VI is the 'TASK START'.VI please find the attached files.
    Thanks
    Regards,
    Naqqash
    Naqqash
    Attachments:
    Project.zip ‏151 KB

    Hi Peter,
    Thank you very much for your reply. I have understood your idea but there are few problems.
    Please see the attached "Final test.vi".. actually my top level vi should be like this.. due to this reason I need to develop the cluster like one with name "Settings" as shown in Enum FTP events.vi.. In this cluster all the data types are not constants (but can be set as constants)  and further all of them are not of same type so whenever I try to create as you created I have got error, wire broken..so what do you think i should do.. In this cluster there are different types of data .. string, path, numeric, array and a cluster with name file properties also... can't figure out what to do..I know things are little scattered and wiered but due to lack of experience, I guess, I am now a little bit confused for this matter. I
    hope guys here in the forum will help me as you guys always did.
    Naqqash
    Attachments:
    Final test.vi ‏11 KB
    Enum FTP Events.vi ‏14 KB

  • DeltaSynchronization Error 29181 InvalidCastException

    I started getting errors on the DeltaSynchronization but have not been able to determine the cause or who to fix it.
    I have already increased the timeout values in ConfigService.config on all the management servers, although i didn't think this would resolve the issue.
    Any help or suggestions would be appreciated.
    Below is the full error message:
    OpsMgr Management Configuration Service failed to execute 'DeltaSynchronization' engine work item due to the following exception
    Microsoft.EnterpriseManagement.ManagementConfiguration.DataAccessLayer.DataAccessException: Data access operation failed
    at Microsoft.EnterpriseManagement.ManagementConfiguration.DataAccessLayer.DataAccessOperation.ExecuteSynchronously(Int32 timeoutSeconds, WaitHandle stopWaitHandle)
    at Microsoft.EnterpriseManagement.ManagementConfiguration.CmdbOperations.CmdbDataProvider.GetConfigurationDelta(String watermark)
    at Microsoft.EnterpriseManagement.ManagementConfiguration.Engine.TracingConfigurationDataProvider.GetConfigurationDelta(String watermark)
    at Microsoft.EnterpriseManagement.ManagementConfiguration.Engine.DeltaSynchronizationWorkItem.TransferData(String watermark)
    at Microsoft.EnterpriseManagement.ManagementConfiguration.Engine.DeltaSynchronizationWorkItem.ExecuteSharedWorkItem()
    at Microsoft.EnterpriseManagement.ManagementConfiguration.Interop.SharedWorkItem.ExecuteWorkItem()
    at Microsoft.EnterpriseManagement.ManagementConfiguration.Interop.ConfigServiceEngineWorkItem.Execute()
    System.InvalidCastException: Specified cast is not valid.
    at Microsoft.EnterpriseManagement.ManagementConfiguration.CmdbOperations.EntityChangeDeltaReadOperation.ReadManagedEntitiesProperties(SqlDataReader reader)
    at Microsoft.EnterpriseManagement.ManagementConfiguration.CmdbOperations.EntityChangeDeltaReadOperation.ReadData(SqlDataReader reader)
    at Microsoft.EnterpriseManagement.ManagementConfiguration.DataAccessLayer.ReaderSqlCommandOperation.SqlCommandCompleted(IAsyncResult asyncResult)

    Figured it out for my issue. A clustered server created additional windows computer objects with IsVirtualNode set to True, representing the cluster. It's an annoyance, but you need to know how to weed these out if your discovery will be run against Microsoft.Windows.Server.Computer
    and where your SCOM box is monitoring clustered servers.
    My discovery script tries to push the discovered object down to the agent. Which is impossible for these weird virtual computer objects.
        $global:discoveryData.AddInstance($instance)
        # force the seed down the the agent
        # To force the RMS to re-assign the local agent as the managing agent for the discovered physical server object ($instance)
        # we have to get a reference to the local health service class and then create a SPECIAL SECRET relationship :)
        $oHealthServiceInstance = $global:discoveryData.CreateClassInstance("$MPElement[Name='SC!Microsoft.SystemCenter.HealthService']$")
        $oHealthServiceInstance.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $PrincipalName)
        $global:discoveryData.AddInstance($oHealthServiceInstance)
        $oHsCnRel = $global:discoveryData.CreateRelationshipInstance("$MPElement[Name='SC!Microsoft.SystemCenter.HealthServiceShouldManageEntity']$")
        $oHsCnRel.Source = $oHealthServiceInstance
        $oHsCnRel.Target = $instance
        $global:discoveryData.AddInstance($oHsCnRel)
    It works find if all your servers are unclustered, but if they're clustered you can't push the object down to the agent, there isn't one.  This seems to be the culprit of the call stack described at the beginning of this discussion.
    So... to fix it (ignore the offending objects) ...
    If you're doing a filtered registry discovery, add this to your filter expression...
          <Expression>
            <SimpleExpression>
              <ValueExpression>
                <Value Type="String">IsVirtualNode:$Target/Property[Type="Windows!Microsoft.Windows.Server.Computer"]/IsVirtualNode$</Value>
              </ValueExpression>
              <Operator>NotEqual</Operator>
              <ValueExpression>
                <Value Type="String">IsVirtualNode:True</Value>
              </ValueExpression>
            </SimpleExpression>
          </Expression>
    The SCOM object returns NULL when the property is not True, so this is the best way to check (by prepending $Target with some token text like 'IsVirtualNode:')   The resulting generated text will be with 'IsVirtualNode:True' for the target objects
    we want to ignore, and 'IsVirtualNode:' for the target objects we want to process (these are the non-virtual, real physical computers that you thought you were getting all along).  If you do not prepend the $Target... with 'IsVirtualNode:'  I've
    seen SCOM not even process this with the expression evaluation, presumably because it's trying to compare a null instead of a generated string (which is what you get with my hack).
    Ok, enough of that...  If you're trying to do discovery with a script, you can do something like this, where you return early with an empty discovery payload otherwise proceed with normal discovery:
        $isvirtualnode = "IsVirtualNode:$Target/Property[Type="Windows!Microsoft.Windows.Server.Computer"]/IsVirtualNode$"
        if ($isvirtualnode -eq "IsVirtualNode:True")
            #Write-ErrorInfo "Tried to discover Active/Idle for $PrincipalName (IsVirtualNode: $isvirtualnode)"
            #return the empty payload back to SCOM
            $discoveryData
            return
        else
            #Write-Info "Tried to discover Active/Idle for $PrincipalName (IsVirtualNode: $isvirtualnode)"
        # proceed with normal discovery
    Hope this helps someone out there. I spent a lot of time learning about how SCOM deals with clusters a few years back. It was quite a painful experience trying to develop a cluster-aware SCOM pack using the minimal white papers that were available. 
    This piece of info that I'm sharing took some digging as it wasn't documented well in the white papers.

  • Unable to open webi report WIS 30912

    Hi all,
    After reinstalling the BO XI 3.1 server we are unable to open the previously created WebI documents. When we try to open such a document we get the following message :
    The document has been locked by the user 'BODWH' on the following cluster : '@CDMSCOXP.localwan.net:6400'. You cannot open this document on the current cluster. To open the document, log on the correct cluster as the correct user and save the document unsecured. If the cluster is not reachable, try to connect to the following system : '@CDMSCOXP.localwan.net:6400'. If this system is not reachable or not online, try the previous offline session with the connection 'cdmscoxp_6400 (Offline - 04/09/2008 09:03:2'. (WIS 30912)
    Any idea how this can be resolved ?
    Thanks for advise!
    Regards,
    Steve

    Hi,
    Thanks for the fast reply.
    Is it posible to turn off the security setting for the webi reports? The webi reports is created before the reinstallation, and after the reinstallation process the cluster name is changed, and the report is not able to open as shown for now.
    Is it posible we change 1 of our development server cluster and entering into the webi and change the security setting since the server influence is the production server and the cluster name is fix for now.
    Thanks for advice.
    Regards,
    Steve

  • Using isaexec approach

    Hi Folks,
    We were recently developing a Cluster solution for our product. And we are planning on using the isaexec approach.
    http://docs.sun.com/app/docs/doc/816-5138/6mba6ua5n?a=view
    Create Hardlinks to various executables and following the isaexec approach of getexecname() and executing the appropriate binary
    isaexec does a (void) execve(mybinary, argv, envp); to execute the actual binary.
    But how do I get the return value of the binary, I know that exec family of functions won't return any value ?. Is there any way i can get the return value of mybinary after it executes ?. Say if mybinary returns 1 ( failure ) 2 ( success ) 4 ( some thing else )..
    _Thanks much
    D

    exec doesn't return a value because the calling program stops running (in a sense).
    The parent process can wait() when the child exits to get the return status.
    I don't think 'isaexec' causes any changes here. It's the same as if you exec'd a normal binary directly.
    Darren

  • Messed up pixels

    Over the weekend, a small cluster of pixels in the lower left corner of my phone started acting up. It started as about a 1/4" square section where a bunch of pixels stay lit in a neutral grey color. Then, a horizontal line of pixels lit up. That line has gradually gotten wider over the last day and now extends almost all the way across my screen. I did not drop it or do anything that should cause this. I've done a restore and that did not solve the problem. I'm pretty sure it's fried, but does anyone have any insight into what could have caused this? Any way to fix it other than getting a new screen/phone?

    You may want to try a program to unstick the pixels... however it appears as if your problem is a little more severe...
    Most likely your screen has developed a cluster of stuck and or possible dead pixels... usually the only way to resolve this problem is through a screen replacement or having your entire iPhone swapped out...
    If you're iPhone is still covered under warrant I would make a genius appointment at your local Apple store and bring your iPhone in.

  • EM User management

    Hey all,
    Is it possible to grant select to a database in a cluster. There is a development database cluster, multiple database are in the cluster. I want to grant a user to view the enterprise manager to only 1 database, not te whole cluster.
    Thanks in advance!
    Willio

    Hi,
    If you mean Instances, yes you can assign only a database instance to a user.
    But if you mean a schema, I don´t think so.
    *T                                                                                                                                                                                                                                                                           

  • Sql developer won't connect with SQL server database on cluster

    Hello,
    I have a microsoft SQL server database on a windows cluster. Name for this cluster is like XXX/YYY
    When I try to connect to this database with SQL developer, I get a failure, mentioning:
    "Status : Failure -Cannot connect to Miscrosoft SQL Server on XXX/YYY"
    As far as I know, I have installed the correct jtds driver (version 1.2.5), since I can connect to sql server databases on single server hosts.
    Does anyone know how to connect to databases on windows clusters?
    Edited by: Ingmar on Jan 16, 2012 4:08 PM
    Edited by: Ingmar on Jan 16, 2012 4:22 PM

    Hi Ingmar,
    Try this is in the port box
    1433/dbname;instance=YYY
    dbname can be omitted
    -Turloch
    SQL Developer team
    1/Giving an instance name in SQLDeveloper connection to SQL Server (from August 2011)
    MS SQL Server Connection
    The correct syntax to deal with this is in the port box
    1433/dbname;instance=instance
    dbname can be omitted
    2/cluster configuration (uses instance name)
    http://stackoverflow.com/questions/1160024/jdbc-connect-string-for-sql-server-cluster
    where vvv\iii is the cluster address: jdbc address is:
    "jdbc:sqlserver://vvv;instanceName=iii"
    3/jtds url details available in
    http://jtds.sourceforge.net/faq.html

  • Cloned two vm cluster nodes from development cluster to act as template to create production cluster

    Morning,
    There was so much done to setup the development cluster, I thought it would be easy to have the two nodes in the cluster cloned.  To my surprise, the development cluster was up and happily running on the new vm servers.  Stopping resources verifies
    it is stopping and starting resources on the original cluster.  I am not sure how to safely have the two new servers not manage the development cluster and create a new production cluster on them.  
    I am hesitant to destroy the cluster as I suspect it will destroy the real development cluster.  How do I do this?  How do I delete the windows cluster software and re-install without affecting the development cluster?
    Note that I tried to create a new cluster in the failover cluster manager and specify the new vm cluster servers, but it says they are part of a cluster already.  I do not see them listed as nodes.  I am not sure how to see what cluster it thinks
    the new servers are part of or how to not make them part of the development cluster.  That might be the path to my solution.

    This actually has worked out okay.  I found these steps and did them on both of the nodes that were claiming to be in a cluster already:
    powershell
    Import-Module FailoverClusters;
    clear-clusternode

  • 2nd Half of Cluster starting in Development mode

    Hi all,
    In our production, the configuration is 2 machines, IIS proxy sits in front of cluster. First machine has Admin console.
    The domain and cluster was made with the pack/unpack . Cluster of 4 Managed Servers. 2 on each server.
    The 2 Managed Servers on the 2nd machine are starting with java -client option. However, later in the log output it says
    started in Production mode - which i don't quite believe. Here are parts of the log output from one of the Managed Servers on
    second machine:
    WLS Start Mode=Development
    Starting WLS with line:
    d:\bea\JDK150~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.system.BootIdentityFile=D:\bea\user_projects\domains\etimedomain\servers\ManagedServer4\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.ReverseDNSAllowed=false -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Xms512m -Xmx1024m -Xrs -Xverify:none -da -Dplatform.home=D:\bea\WEBLOG~1 -Dwls.home=D:\bea\WEBLOG~1\server -Dwli.home=D:\bea\WEBLOG~1\integration -Dweblogic.management.discover=false -Dweblogic.management.server=http://192.168.1.220:7001 -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=d:\bea\patch_weblogic923\profiles\default\sysext_manifest_classpath -Dweblogic.Name=ManagedServer4 -Djava.security.policy=D:\bea\WEBLOG~1\server\lib\weblogic.policy weblogic.Server
    <Jan 24, 2010 4:53:45 AM EST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "ManagedServer4" for domain "etimedomain" running in Production Mode>
    The 2 Managed Servers on first machine with Admin Console start in Production more without a doubt: java -server.
    How did this happen? How can it be rectified? Is it because of nodemanager install or domain not setup properly? something else?
    thanks
    Vishal

    vishal
    Your domain is running on production mode
    it always shows " *WLS Start Mode=Development* " beggining of the log
    <Jan 24, 2010 4:53:45 AM EST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "ManagedServer4" for domain "etimedomain" running in Production Mode>
    If you want to double check check in config.xml and setDomainenv.sh for productionmode="tue/false". Also check in admin console select domain -> configuration (if your domain is production mode check box is disabled)
    Thanks
    Ksr

  • Need input on developing cluster agent for java application

    I am new to Sun Cluster and i wanted to develop agent for failover for one of my Java application which sits on one of the node of sun cluster 3.1. Can you guys help me in this.
    My Java application is based on n-tier client server model. and this needs to failover.
    I have two sun machine having solaris 9, which is clustered with 3.1 sun cluster software.
    As i know there are two mwthods for developing the agent for your application.
    1) Generic Data services
    2) Sun Plex agent builder
    i wanted to use Sunplex agent builder with Ksh. Can you please tell me what all things required for starting it and how do i proceed.
    thanks in advance.

    Using GDS will be the simplest solution.
    You can write atleast one script - to start application:
    say '/MYAPP/start'
    This script can setup JAVA_HOME and other environment variables and start the application in background.
    # scrgadm -a -t SUNW.gds
    # scrgadm -a -g rg1
    # scrgadm -a -L -g rg1 -l hhead
    # scrgadm -a -t SUNW.gds -g rg1 -j app-rs \
    -x Start_command="/MYAPP/start"
    # scswitch -Z -g rg1
    # scstat -g
    Refer to GDS man page http://docs.sun.com/app/docs/doc/819-0582/6n30g7il4?q=GDS+&a=view
    and Data services developer's guide http://docs.sun.com/app/docs/doc/819-0581/6n30f91v4?a=view
    If you want custome probe or you want to stop application gracefully, then you can write stop and probe scripts and provide them in 'scrgadm' command as described in SUNW.gds man page.
    If you want to productize the agent, then you can consider using agent builder.

  • Developing a data mining tool with cluster analysis

    Can anyone help me find any relevant source code to develop a data mining tool with cluster analysis capabilities. I have found bits of source code here and there in C/C++ but haven't found any in Java. I really need to see the source code for a full program as at the moment I am trying to convert C into Java and then don't know how to tie it all together.
    As you can imagine - I am a very novice programmer and haven't got much time left to complete my project! Any help would be greatly appreciated!

    I really need to see the source code for a full program...
    I am a very novice programmerWell then I seriously doubt that even seeing a full program would be any use. Besides do you honestly believe that anybody is going to show you their code for 10d$...
    Oh, and don't cross post.

  • Sun Cluster Application Development

    Hi,
    I am trying to create a sun cluster application using the GUI version of the Agent
    builder, "rtwiz".
    I successfully execute the create and configuration steps.
    I install the package.
    When I start the cluster application from the /opt/SUNWsample/util directory,
    it fails in the step when it is trying to create a resource, the error message which
    I get is "VALIDATE method failed".
    Can somebody tell me what this problem is. Is the Validate method being run
    from the /opt/SUNWsample/bin directory.
    thanks.

    The validation method checks the options be used to register the resource is correct. Are you using the correct option?

  • How to Extract Data for a Maintenance View, Structure and Cluster Table

    I want to develop  3 Reports
    1) in First Report
    it consists only two Fields.
    Table name : V_001_B
    Field Name1: BUKRS
    Table name : V_001_B     
    Field Name2: BUTXT
    V_001_B is a Maintenance View
    For this one I don't Find any Datasource
    For this Maintenance View, How to Extract the Data.
    2)
    For the 2nd Report also it consists Two Fields
    Table name : CSKSZ
    Field Name1: KOSTL (cost center)
    Table name : CSKSZ
    Field Name2: KLTXT (Description)
    CSKSZ is a Structure
    For this one I don't Find any Datasource
    For this Structure How to Extract the Data
    3)
    For the 3rd Report
    in this Report all Fields are belonging to a Table BSEG
    BSEG  is a Cluster Table
    For this one also I can't Find any Datasource,
    I find very Few Objects in the Datasource.
    For this One, How to Extract the Data.
    Please provide me step by step procedure.
    Thanks
    Priya

    Hi sachin,
    I don't get your point can you Explain me Briefly.
    I have two Fields for the 1st Report
    BUKRS
    BUTXT
    In the 2nd Report
    KOSTL
    KLTXT
    If I use  0COSTCENTER_TEXT   Data Source
    I will get KOSTL Field only
    what about KLTXT
    Thanks
    Priya

Maybe you are looking for

  • Application is not working on specific flash version

    Hello Adobe support,      Our application is working correctly in FlDbg10e.ocx but it is not working fine with Flash10u.ocx version. Please let us know how can we make our application working in      10u version. Infact we are not getting any error b

  • What are the Oracle development tools

    Hiii, I hav just started learning about oracle...i have been given my very first task and it is about exploring oracle development tools. I have been searching about it since two days...i just need some guidance that what are the oracle development t

  • Suitable external monitor for 5800?

    Love the SatNav on my 5800, but I'm getting old and the screen is too small.  This isn't helped by the fact that I'm slightly colour blind and the colour are sometimes less than helpful. Anyway, the question is does anyone use this phone with an exte

  • ISE 1.3 bugs in Guest Types?

    Hi, I've created a guest type that looks like this: Maximum account duration: 90 days Allow 15 simultaneous logins  Removes the oldes connection Maximum device guest can register: 1 When I log in to the sponsor portal and select the created guest typ

  • .mov files and FCE

    Using MPEG Streamclip, I have converted several video AVI clips to Quicktime. I set the compression at H.264, frame rate 29.97 and converted the clips successfully. However, when I put them into my sequence in FCE, I still need to render them each ti