Info on how to make application cluster aware

Hi All,
Can somebody provide help/pointers on how to make (java or c++) application cluster aware ?
In our application We are making cluster of two solaris m/cs
for higher availability.The application which are running on
the m/c are written in java and c++.
TIA
Regards
Praveen

Not a developer myself, but by chance do you have the API
documentation? If not here is the SC 2.2 link for the API.
http://docs.sun.com:80/ab2/coll.650.1/CLUSTAPIPG/@Ab2TocView?Ab2Lang=C&Ab2Enc=iso-8859-1
and the 3.0 data services developer guide.
http://docs.sun.com:80/ab2/coll.572.7/CLUSTAPIPG/@Ab2TocView?Ab2Lang=C&Ab2Enc=iso-8859-1
Heath

Similar Messages

  • Making the application cluster-aware

    Hi,
              I have just been assigned a multi-tier J2EE application with the task of
              making it "work in a cluster". The earlier architects (if i may use the
              term), just "assumed" that weblogic would provide support for
              high-availability and they would not need to do any code changes.
              So I have this application that has about 100 EJBs - about 40 Entity Beans,
              only two SFSB and the rest are SLSB.
              What would be the best strategy to go about making this application
              cluster-aware?
              I could think of the following points so far:
              1. Identify idempotent methods in all EJBs.
              2. Make all session-stored objects serializable in the web-tier. Make sure
              objects are not too huge to be serialized (don't know if I would be actually
              able to modify - too late for that).
              3. Modify bean descriptors to make them clusterable.
              4. Make web app clusterable.
              5. Look for code that uses non-replicable services (file system access,
              sockets, etc.).
              I'm sure there must be more that I've missed. Anything more that needs to be
              added to the list above? Would there be a scenario where the EJB clients
              (other beans themselves, the web tier, RMI clients, etc) would need to be
              changed?
              I understand identification of idempotent methods would be manual (or is
              not?). But what would be the best way to modify the deployment descriptors
              of all these beans?
              TIA
              With Warm Regards,
              Manav.
              

    Hi Manavendra,
              By default all EJBs are clusterable because the default value of
              <home-is-clusterable/> is true and <stateless-bean-is-clusterable/> default
              is true. For stateful session EJBs, you will have to configure the
              replication type to InMemory as it defaults to none. Unless you have
              specifically added these elements to turn off clustering, they should
              already be clusterable.
              Typically, you will find performance is better if the web app and EJBs are
              deployed in the same JVM, because there are no remote calls. By default
              <enable-call-by-reference/> is set to true which allows arguments to be
              passed by reference rather than copying parameters. If calls are remote,
              then <enable-call-by-reference/> must be false as pass by value will always
              be necessary in this case.
              Jane
              "Manavendra Gupta" <[email protected]> wrote in message
              news:[email protected]...
              > Jane,
              >
              > I appreciate you taking out time to reply.
              >
              > <headers trimmed>
              > > > 1. Identify idempotent methods in all EJBs.
              > >
              > > You only need to do this if your EJB clients are remote. If the client
              is
              > a
              > > web app deployed in the same JVM as your EJBs, you don't need to worry
              > about
              > > it since WebLogic will create the EJBs on the same JVM as the web app.
              > Like I said, its a multi-tier application, so there is the web-tier making
              > calls to the EJB tier (though thankfully, there is a EJB "API" layer -
              that
              > consists of multiple Session Facades, ensuring network calls are
              minimized).
              > I'm not sure if the web-tier and the EJB-tier in the same application are
              in
              > the same VM in weblogic?
              >
              > Finally, I might need to separate the two tiers physically, though I'm
              still
              > trying to find out the parameters on which I'd need to do that (when to
              farm
              > and when to cluster?).
              >
              > So, the short reply, yes, the clients would be remote.
              >
              > > > 3. Modify bean descriptors to make them clusterable.
              > >
              > > They are clusterable by default. For stateful session EJBs you will
              want
              > to
              > > use in-memory replication. You didn't mention the version of WLS you
              are
              > > using pre-6.1SP3 has a few problems with this, so you might want to
              check
              > > with Customer Support if you are using SP1 or SP2.
              >
              > Sorry about that. The OS used is RHL6.2 and we are using weblogic 6.1 with
              > SP1 (thats the only one certified on 6.2). Its intriguing when you say
              that
              > all EJBs in WL 6.1 SP3 would be "clusterable by default". How does it do
              > that? Does it generate clustering descriptors for all beans deployed?
              Could
              > you shed more light on this?
              >
              > > > 4. Make web app clusterable.
              > > If using in-memory replication for HttpSession state, make sure you set
              > the
              > > session descriptor persistence type to "replicated" not "memory". This
              is
              > a
              > > point of confusion for a lot of folks.
              >
              > Thanks for the heads-up on the that. I'll keep this in mind.
              >
              > > > 5. Look for code that uses non-replicable services (file system
              access,
              > > > sockets, etc.).
              > > EJBs should not do things like this even if not running in a cluster.
              >
              > I agree EJBs should not be doing this, and chances are they will not be
              > doing this in the code either. But I'm not sure. Also, they might be
              using
              > objects that are doing this, and I'm not sure if everything will work
              > seamlessly in that case.
              >
              > > > I'm sure there must be more that I've missed. Anything more that needs
              > to
              > > be
              > > > added to the list above? Would there be a scenario where the EJB
              clients
              > > > (other beans themselves, the web tier, RMI clients, etc) would need to
              > be
              > > > changed?
              > >
              > > If your EJB clients are remote clients, you might need to modify code to
              > > handle failover (depending on the type of EJB you are using). The
              > > examples.ejb.cluster sample that ships with WebLogic is a good example
              to
              > > look at.
              >
              > Thanks again. I'll check this one out.
              >
              > Finally, the prime reason for posting this was to gain insights into such
              a
              > situation that I was hoping someone on this list had handled before.
              >
              > --
              > With Warm Regards,
              > Manav.
              >
              >
              >
              

  • I can not see my website in firefox. It works in all other browsers. Could I get some info on how to make it visable in Firefox??

    I am working on a site in wordpress and realized that it's visible in all browsers except Firefox. Could you give me some info on how to fix this issue?

    I have no problem seeing - http://www.expeteccorporation.com/ - in Aurora 10.0a2.
    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • How to make transparancy context-aware when green screening.

    I am using After Effects CS6 about 1 month and face a problem.  I have successfully green screened marionettes so I can place in a video without showing the string, which is also green.  The string did become transparent within the mask but within the marionette body, it just turned brown and moves like string. Question: Does anyone know how I can alter the string to be context aware?

    That could be a tough one; there isn't any way to make a chroma key contextually aware.  You can animate the beginning and ending points of the Simple Wire Removal effect that comes with AE to see if it does an adequate repair job for you.

  • Recording info about how long an application has been open?

    Hi. I would like to set up some kind of log that tells me when I've opened a particular application (Final Cut Pro) and how long (how many minutes/hours) the application has been open for that particular session or that particular day.
    Ideally, the log would have the new information appended to the end of it each day; it wouldn't delete/refresh/overwrite itself -- so at the end of, say, six months, I could look at the log and see, Oh, I used Final Cut on Tuesday, April whatever, for 10 hours, and then on Friday, May whatever, for another 12 -- without having to know about any other activity with any other application on my system.
    Is there an easy way to do this with OS X 10.4.5? Can Automator do this for me? (Didn't notice an FCP icon in the library of applications Automator can act upon.) Do I need to use AppleScript?
    Thanks!
    PowerMac G5   Mac OS X (10.4.5)  

    Hi, R.G.
    You might also want to look into some of these applications.
    When looking for new applications, I recommend searching MacUpdate or Version Tracker. The user-submitted reviews accompanying the listings are helpful in sorting the wheat from the chaff.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How to make application class be an entry in TBRF100 in BRF?

    Hi all
      I am new to BRF .
      I want to know how to create a sample application in BRF.
      I did  all step in the followed link
      http://help.sap.com/saphelp_erp2004/helpdata/en/49/0f2541a2d5b167e10000000a155106/content.htm
      But while doing the last step called   Making Application Data Available to the BRF.
       I am getting an error called
       Input values must be defined in Table TBRF100. The value or values
       'ZBRFAP '(It's my application class) are not specified in this table.
       If any body knows how to resolve this problem please give me your valuable answer.
       Please suggest me some examples on BRF like how to frame rules and events in BRF.
    Regards
    K.S.L.Neelima

    Hi, .Neelima
    plPls. follow the customizing steps in the IMG for the BRF, i.e.:
    spro -> Contract Accounts Receivable and Payable ->  Business Transactions -> Public Sector Tax Assesment-> Busines Rule Framework (BRF) ->  Create Client-Independent Application Class  and the following tasks .
    Define Additional Settings for Application Class, etc.
    Kind regards

  • How to make application work in background...

    well, which everone have problem with the closing of the application
    i want to make my application to work in background so that application wont quit

    Look at PushRegistry - this is way to keep app working in background

  • How to make Applications.app run in terminal?

    Hi,
    Apple has a good way of making Applications.app to launch when double clicked via finder. I am having a hard time, though, when I launch it via terminal. When I try to type in #./Application/Whatever.app the terminal reads it as a folder. In a way, to run it properly I have to go a longer path. I have to run it by typing #./Application/Whatever.app/Contents/MacOS/Whatever.bin. I think running it that way is just too long. I want it to be quick as possible.
    Is there a way to set a path to something like $PATH = "/Application/$Whatever.app/Contents/MacOS/" so that as i tab key in the terminal I would be able to see the binary file right away? Or is there a way to alias the terminal so that when i type /Application/Whatever.app it launches the corresponding binary of that .app folder?
    I am a newbie in Mac but I fairly now how to operate linux systems. Quite frankly I have not explored all the .app folders in my Application folders so I dont know how many binaries exists inside a .app folder.
    I hope you guys got the idea and help me out.
    Thanks,
    Kilopopo

    OK. You may also want to check out the Applescript variants. You can for example run
    <pre>
    osascript -e 'tell application "TextEdit" to open'
    </pre>
    There is a man page for osascript and there is a lot of information about Applescript in different places.
    PowerBook G4   Mac OS X (10.4)  

  • How to Make application usable by persons with disabilities as blind

    Hi All,
    I am developing a custom webcenter portal application.
    During the development 1 thought came to my mind that I should develop the application for persons with disabilities such as blind.
    But I have no idea from where to start and how to move further.
    I searched on internet but could not found anything other than -
    >
    Oracle software implements the standards of Section 508 and WCAG 1.0 AA using an interpretation of the standards at http://www.oracle.com/accessibility/standards.html.
    >
    Also WebCenter Accessibility Features enables any application for this.
    Please suggest me how to move forward and what consideration i should take before moving ahead.
    Also Please guide me about the limitations.Any idea regarding this would be appreciated.
    Thanks
    --NavinK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Accessibility involves making your application usable by persons with disabilities such as low vision or blindness, deafness, or other physical limitations.
    In the simplest of terms, this >means creating applications that can be used without a mouse (keyboard only),
    used with a screen reader for blind or low-vision users, and used without reliance on sound, color, >or animation and timing.Have a look at -
    Section 2.9 Overview of WebCenter Accessibility Features @ http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_plan.htm#BABCIDHB
    and http://docs.oracle.com/cd/E17904_01/web.1111/b31973/af_access.htm#ADFUI9888

  • Need info on how to make this effect..

    http://www.youtube.com/watch?v=naZ60vXJVWI&feature=player_embedded
    timeline 1:22 and 1:30 please help if i cant do it on imovie then please let me know what i need to make it happen thank you..

    I have a MBP, IPAD with retina display, and multiple iphones in the family. I have a Airport Extreme for my router and Apple TV hooked up to our lcd TV. The Apple TV is great because you can use any apple device to project whatever your working with onto the Apple TV with Airplay. Not sure if you would be able to connect your Apple TV to the school network, but if you could that would be the answer along with using the cloud. The key would be access to the school network.

  • How to make the server aware of  changes in schemas?

    It seems that the SOA sever has difficulties with changes in schemas. For instance changes in elements names and/or types.
    Is it really nescessary to bounce server for each change?
    Rgds, Henrik

    Depends on how you deploy, if you undeploy first this has a better success rate.
    cheers
    James

  • How to make Clsuter aware EJB

              Platform: Weblogic 6.0sp2 in WINNT
              Hai,
              I have made IP loadbalancing ( The DNS Host entry swaps IP in intervals) as per
              the documentation. By Using the clsuter IP i have created a cluster entey in the
              wl 6.0 console and added two servers in the Cluster. Now i don't know how to make
              my EJB Cluster aware?. what parameters should i change in teh XML file and compilation
              option to make it cluster aware.
              Also i would like to know whether Will it be enough if i put teh same copies of
              JSP and servlets in both machine to make that too cluster aware. Will there be
              any probelm in session ?
              Regards,
              srini
              

              Hi Kumar , Lynch , Penfriend,
              Thanx for ur Quick replies .. That helped me a lot.. I am going through the examples.
              I would like to know changes that i have to make on JSP & servlets to make it
              cluster aware. I am using the IP Load balancing ( host name refers to two different
              IP at intervals ).
              Thanx.
              regards,
              srini
              Pen Friend <[email protected]> wrote:
              >Srinivasan,
              >
              >We ship a cluster example in .\samples\examples\cluster\ejb. You could
              >take a look at the deployment descriptors and try running it.
              >
              >
              >
              >Kumar Allamraju wrote:
              >
              >> By default ejb's are compiled with clustering options ON.
              >> So ejbc generates cluster aware stubs anyway. You don't need
              >> to do anything to deploy them in a cluster environment.
              >>
              >> --
              >> Kumar
              >>
              >> Srinivasan wrote:
              >>
              >>> Sir,
              >>>
              >>> (1) What option of the weblogic ejbc is required in my case. is
              >>> -clusterable
              >>> option suffice. Sir, Could you please mention which document are you
              >>> refering
              >>> too. ( I have only the cluster.pdf from BEA )
              >>>
              >>> (2) The Host name is already load balanced by teh WLBS Software.If
              >>> the host is
              >>> load balanced then will placing the same JSP and servlet in both the
              >>> servers in
              >>> cluster suffice.
              >>>
              >>> Thanks for the Help sir.
              >>>
              >>> regards,
              >>> srini
              >>>
              >>> "Lynch" <[email protected]> wrote:
              >>> >Hi,
              >>> >
              >>> >1. You need to use weblogic's ejbc to compile your ejb jar file to
              >>> generate
              >>> > the stub classes.
              >>> >2. Web cluster demands load balancing and fail-over. You need to
              >do
              >>> lots
              >>> > of work yet. Maybe you could start with the docs.
              >>> >
              >>> >Hope this helps,
              >>> >Lynch
              >>> >
              >>> >
              >>> >"Srinivasan" <[email protected]> ¼¶¼g©ó¶l¥ó
              >>> >news:[email protected]...
              >>> >>
              >>> >> Platform: Weblogic 6.0sp2 in WINNT
              >>> >>
              >>> >> Hai,
              >>> >>
              >>> >> I have made IP loadbalancing ( The DNS Host entry swaps IP in
              >>> intervals)
              >>> >as per
              >>> >> the documentation. By Using the clsuter IP i have created a
              >>> cluster
              >>> >entey
              >>> >in the
              >>> >> wl 6.0 console and added two servers in the Cluster. Now i don't
              >>> know
              >>> >how
              >>> >to make
              >>> >> my EJB Cluster aware?. what parameters should i change in teh XML
              >>> file
              >>> >and
              >>> >compilation
              >>> >> option to make it cluster aware.
              >>> >>
              >>> >> Also i would like to know whether Will it be enough if i put teh
              >>> same
              >>> >copies of
              >>> >> JSP and servlets in both machine to make that too cluster aware.
              >>> Will
              >>> >there be
              >>> >> any probelm in session ?
              >>> >>
              >>> >>
              >>> >> Regards,
              >>> >> srini
              >>> >
              >>> >
              >>
              >
              

  • How to make a warranty claim with BB?

    Hi all
    I have two BB 9320's with differing faults (charging/scroll button issues)
    The devices were purchased off Amazon so making a claim with them is a no-no due to being through a third party who's shirked all responsibility.
    I can't seem to find any succinct info on how to make a claim with BB themselves.  Can someone point me in the right direction?
    Many thanks in advance for any help
    John

    The only way is to contact them at 1-800-BLK-BERRY. However, it's $49 per incident.
    The usual method is through your carrier. If you buy from other unofficial sources then you usually have no support.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • How to make a graph inside a while loop maintain previous values

    In the beginning I was trying to use an the XY Graph Express VI to create a plot of points.  However, the graph is making a linear retrace between the first point of the new line, and the last point of the previous line.  It then creates the new line as desired.
    I have tried using a for loop with to bundle a cluster to the graph, but the graph resets the plot on each iteration (as expected) and I cannot find a way to make it maintain the previous data.  I tried using shift registers but was unable to find out how to do this, and I have also tried bundling the cluster to an array, but cannot figure out how to make the cluster go to a 1D array of a cluster of 2 elements.
    One option is having is finding a way to make it maintain previous data, but the preferred option is to make it create a new plot on each iteration so as to see the color change for each new plot.
    Solved!
    Go to Solution.
    Attachments:
    shift register attempt.JPG ‏64 KB
    original attempt.JPG ‏42 KB
    Output only current iteration data.JPG ‏86 KB

    I'm taking a stab at this because I'm not exactly sure what you want. But I think it is what I have shown here. You need to use a shift register on your outter while loop as I have shown. Your image where you tried using a shift register shows a misunderstanding of shift registers and how they work though, so I would take a look at these tutorials.
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    plot with SR.png ‏29 KB

  • How to make 2 Node File Cluster with SAS Disks

    Hello,
    I cant fine any detailed, specific information and answer on this question
    I have 2 Servers, Say HP, with 4 SAS disks each,  1 for OS (2012R2Data) and 3 available.
    I want to create fault tolerant SMB 3.0 share for my Hyper-v nodes, to make hyper-v FT cluster afterwards.
    So, I see inr equirements that SAS disks will work, but during creating cluster, I can not manage Cluster to see disks from both servers (total 6 free units)
    If it is made via ISCSi target, both servers have access to that targets and cluster sees all available through iSCSI disks, but how to mnake SAS disk available to other server?
    Is it possible what I need with this configuration?  is it a option to make each server iSCSI target and initiator? (but it would be way complicated and slow, I think).
    so, what I have misunderstood, how to make FT file Cluster with 2 servers with SAS drives?
    Any info about this SPECIFIC config would be welcomed, or any general step-by-step guides  (please, do not link me guides with other config, like iscsi or with additional servers, I have seen a lot of them :()
    thanks

    Hello,
    I cant fine any detailed, specific information and answer on this question
    I have 2 Servers, Say HP, with 4 SAS disks each,  1 for OS (2012R2Data) and 3 available.
    I want to create fault tolerant SMB 3.0 share for my Hyper-v nodes, to make hyper-v FT cluster afterwards.
    So, I see inr equirements that SAS disks will work, but during creating cluster, I can not manage Cluster to see disks from both servers (total 6 free units)
    If it is made via ISCSi target, both servers have access to that targets and cluster sees all available through iSCSI disks, but how to mnake SAS disk available to other server?
    Is it possible what I need with this configuration?  is it a option to make each server iSCSI target and initiator? (but it would be way complicated and slow, I think).
    so, what I have misunderstood, how to make FT file Cluster with 2 servers with SAS drives?
    Any info about this SPECIFIC config would be welcomed, or any general step-by-step guides  (please, do not link me guides with other config, like iscsi or with additional servers, I have seen a lot of them :()
    thanks
    You cannot do what you want with a Microsoft built-in tools. MSFT require you to take your SAS disks away from your servers, buy a SAS JBOD (better more then one to get advantage of a so-called "enclosure awareness" and avoid single point of failure) and
    configure Clustered Storage Spaces with now *external* SAS drives. See:
    How to Configure a Clustered Storage Space in Windows Server 2012
    http://blogs.msdn.com/b/clustering/archive/2012/06/02/10314262.aspx
    Prerequisites
             A minimum of three physical drives, with at least 4 gigabytes (GB) capacity each, are required to create a storage
    pool in a Failover Cluster.
             The clustered storage pool MUST be comprised
    of Serial Attached SCSI (SAS) connected physical disks. Layering any form of storage subsystem, whether an internal RAID card or an external RAID box, regardless of being directly connected or connected via a storage fabric, is not supported.
    Windows Server 2012 R2 had flexed out some limitations so now ReFS is supported (but useless as VMs cannot be integrity checked and protected) and now you can use parirty spaces (also useless as they are DOG slow with a typical VM workload dominated by small
    writes, say 4KB write initiates 256KB+ parity stripe read-modify-write update). Core requirements "SAS everywhere" is still there.
    So if you don't want to mess with SAS JBODs you may give a try to a virtual SAN solutions available on the market. They can cluster a pair of hosts (even with a single port SATA drives) w/o any external hardware, only Ethernet required. There are even free
    options available. See:
    Free Virtual SAN
    http://www.starwindsoftware.com/native-san-for-hyper-v-free-edition
    Also Google (or Bing?) for DataCore and SteelEye as they have very similar native (Windows-based) offerings. + there's bunch of a VM-running storage doing more or less the same.
    Hope this helped a bit :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

Maybe you are looking for

  • Report for wrongly posted vendors

    Hi All,             I have made payment to the wrong vendor and the check also realised. At that time I passed a jv to balancing the account instead of creating credit memo. Now I would like to get a report like what are the vendors has been wrongly

  • Is "starting" a counter the same as "arming" it?

    Hi everyone, I am trying to understand why I get unexpected behavior with my VI and counter output. I am outputting 3 single,triggered pulses: 2 on a 6602 (1 each on counters 0 and 1), and 1 on GPCTR0 on a 6071E. The second pulse on the 6602 (on coun

  • Unable to see BPM monitoring

    HI , I Used BPM scenario for merging two files and the Two files are picked from the source and in SXMB_MONI  I try to click PE it showign the pop up  PROCESS OVERVIEW ON INTEGRATION SERVER ONLY In receiver I did not get the desired data I need to ch

  • Pse 10 Organizer does not load

    This is what has been happening Pse 10 organizer NEVER works it continues to lock-up. I have tried to use the repair and optimizer tools with no luck they lock-up as they are running and do nothing. I have deleted the thumbnail catch and rebuilt it t

  • Custom Search View Error

    I have been trying custom search by using CL_BSP_WD_ADVSEARCH_CONTROLLER class. I replaced the super class of my context with CL_BSP_WD_CONTEXT_NODE_ASP. I did required settings on configurations tab. I added the code blow in search.htm. <thtmlb:adva