Separate deployments into each node of cluster - advisable?

Hi,
Having just launched our application to the public, we are still in stabilization mode and sometimes we come across a showstopper corner case during the day. The fix is usually pretty trivial and we are ready with a patch within an hour of discovery. However, it is difficult to obtain approval for deployment downtime of even 3 minutes and on a clustered environment, deployment takes as long as 5-7 minutes (2-3 minutes to undeploy existing EAR and 3-5 minutes more to deploy the new one). Precompiling JSPs may already take up to a minute or so. Usually my deployment command line looks like this:
$GLASSFISH_HOME/bin/asadmin undeploy --target=my-cluster my-ear-RELEASE-V1.02-20080123-0100;  $GLASSFISH_HOME/bin/asadmin deploy --availabilityenabled=true --precompilejsp=true --enabled=true --target=my-cluster /tmp/my-ear-RELEASE-V1.02-20080123-0400.earAfter reading the deploy options more carefully, I figured that I can do a staggered deployment into each node (assuming 2 nodes in a cluster) like the following:
$GLASSFISH_HOME/bin/asadmin undeploy --target=my-instance-01 my-ear-RELEASE-V1.02-20080123-0100;  $GLASSFISH_HOME/bin/asadmin deploy --availabilityenabled=true --precompilejsp=true --enabled=true --target=my-instance-01 /tmp/my-ear-RELEASE-V1.02-20080123-0400.ear
$GLASSFISH_HOME/bin/asadmin undeploy --target=my-instance-02 my-ear-RELEASE-V1.02-20080123-0100;  $GLASSFISH_HOME/bin/asadmin deploy --availabilityenabled=true --precompilejsp=true --enabled=true --target=my-instance-02 /tmp/my-ear-RELEASE-V1.02-20080123-0400.earCan anybody advise if this is a good idea (practically speaking), considering the shared sessions which may run out of sync temporarily (I can imagine scenarios where session variables become invalid in a new deployment or even cause an error).
The SJSAS cluster is fronted by a SJSWS running in load balanced reverse proxy mode.
If this works out, it would save me and the help desk a lot of pressure from clients who are bumping into the bug during the entire day when we could have put in the fix early that morning itself.
Thanks!
Wong

Hmmm... obviously I'm talking nonsense 'cos it's not possible to deploy to a single node of a cluster... I get an error the moment I try;
[bash ~] $GLASSFISH_HOME/bin/asadmin undeploy --target=app01-instance my-ear-RELEASE-V1.02-20080123-0100
CLI175 The target app01-instance is invalid. Valid target types are cluster, domain, unclustered server instance, domain administration server.

Similar Messages

  • How to check that data was propagated to all nodes in cluster?

    Hi.
    We are using Weblogic 10.3.5 and Coherence 3.6. Both applications work in cluster mode and we are using replicated mode as a Coherence topology. Also the NameCache use to store and retreive data from Coherence cluster. Now I have a task to calculate a time that take data propagation to all nodes. So, from my sight of view coherence should raise some kind of event when each node in cluster will fulfield with the same data. Or may be there is a standard coherence(weblogic?) listener that provide such an information.
    I will be appreciate for help how to solve my task.

    Jonathan.Knight wrote:
    Hi,
    If you are using a replicated cache then the time taken to replicate the data is the time taken to do a put. Coherence will not return from a put method call on a NamedCache until the data has reached all the nodes. That is why replicated caches are a bad idea for clusters with a lot of nodes where there are frequent updates as they are slow.
    JKHi JK,
    actually, AFAIK, it is not 100% correct.
    From what I remember from an earlier discussion or email, replication in a replicated cache is synchronous to one other member (the lease owner), and asynchronous thereafter. The synchronous part of the protocol involves the mutating member and the entry lease owner (which may be the same). As I understand the lease owner orders the operations and resolves races between multiple mutators, and drives the asynchronous part of the replication to all other members.
    In short, total network cost is linear with nodes, but latency wise you do not need to wait until all updates actually took place on all other nodes (that would be a really sad scenario when some nodes are communicating slowly).
    Best regards,
    Robert

  • Scanning with Yosemite splits multi-page documents into a separate document for each page

    I use a Mac Book w/ OSX 10.10.1.  I scan docs using the HP Scan utility & both an HP OfficeJet 6700 & an HP Officejet 8600. Everything worked great for a year or more.
    In about September, 2014, multi-page docs started creating a separate file for each page of the doc, instead of storing the scanned multi-page doc in one file as it had before.  I didn't change any settings w/in the HP utility that I am aware of.  I did download the the Yosemite OSX.  I haven't been able to find a setting w/in the HP scan utility to correct the issue.  Both of my scanners are useless for scanning & returning executed agreements (my primary use for them) until I can fix this problem.  I would appreciate any help anyone can give.
    Thank you!

    Hi,
    From the HP Scan click on Scan and follow the steps on screen.
    Once the scan preview being shown click on Send and then click on Folder.
    Select the required Format, then check the box next to 'Save all items to a single file' and click the Save button, then the scan will no longer be saved in seperate files.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Multiple databases/instances on 4-node RAC Cluster including Physical Stand

    OS: Windows 2003 Server R2 X64
    DB: 10.2.0.4
    Virtualization: NONE
    Node Configuration: x64 architecture - 4-Socket Quad-Core (16 CPUs)
    Node Memory: 128GB RAM
    We are planning the following on the above-mentioned 4-node RAC cluster:
    Node 1: DB1 with instanceDB11 (Active-Active: Load-balancing & Failover)
    Node 2: DB1 with instanceDB12 (Active-Active: Load-balancing & Failover)
    Node 3: DB1 with instanceDB13 (Active-Passive: Failover only) + DB2 with instanceDB21 (Active-Active: Load-balancing & Failover) + DB3 with instanceDB31 (Active-Active: Load-balancing & Failover) + DB4 with instance41 (Active-Active: Load-balancing & Failover)
    Node 4: DB1 with instanceDB14 (Active-Passive: Failover only) + DB2 with instanceDB22 (Active-Active: Load-balancing & Failover) + DB3 with instanceDB32 (Active-Active: Load-balancing & Failover) + DB4 with instance42 (Active-Active: Load-balancing & Failover)
    Note: DB1 will be the physical primary PROD OLTP database and will be open in READ-WRITE mode 24x7x365.
    Note: DB2 will be a Physical Standby of DB1 and will be open in Read-Only mode for reporting purposes during the day-time, except for 3 hours at night when it will apply the logs.
    Note: DB3 will be a Physical Standby of a remote database DB4 (not part of this cluster) and will be mounted in Managed Recovery mode for automatic failover/switchover purposes.
    Note: DB4 will be the physical primary Data Warehouse DB.
    Note: Going to 11g is NOT an option.
    Note: Data Guard broker will be used across the board.
    Please answer/advise of the following:
    1. Is the above configuration supported and why so? If not, what are the alternatives?
    2. Is the above configuration recommended and why so? If not, what are the recommended alternatives?

    Hi,
    As far as i understand, there's nothing wrong in configuration except you need to consider below points while implementing final design.
    1. No of CPU on each servers
    2. Memory on each servers
    3. If you've RAC physical standby then apply(MRP0) will run on only one instance.
    4. Since you are configuring physical standby for on 3rd and 4th nodes of DB1 4 node cluster where DB13 and DB14 instances are used only for failver, if you've a disaster at data center or power failure in entire data center, you are losing both primary and secondary with an assumption that your primary and physical standby reside in same data center so it may not be highly available architecture. If you are going to use extended RAC for this configuration then it makes sense where Node 1 and Node 2 will reside in Datacenter A and Node 3 ,4 will reside in Datacenter B.
    Thanks,
    Keyur

  • 2 Node Failover Cluster - ISCSI Disks as 1 volume?

    Hi,
    Not sure if I'm in the correct forum. If I am I apologize.  I need some advice.  
    I have created a 2-node failover cluster with 2 HP Blades.  I also currently have 2 NAS Servers (HP X1600 24tb servers running 2008 Storage server) -- The ultimate goal would be to combine all of the storage space from the NAS's into 1 volume addressable
    by the failover cluster. (As well as disk space from any additional NAS's added in the future.)
    Right now, I can add the ISCSI disk space from the NAS Targets as different volumes under cluster shared volumes.  Because of the 16TB limit in the ISCSI target, I essentially have 2 ISCSI disks on each NAS. One for 16TB, and the other for 4TB (The
    NAS Drives are configured for RAID 5 so there's a 4TB Loss.)  So, I have 4 ISCSI disks in the cluster, each as their own volume.
    Any thoughts on making the 4 drives addressable as one volume? 
    Regards,
    -Eric

    We're running Server 2012 Data Center on the cluster nodes.
    I was thinking the same about the 3rd party software to do what I'd like it to do.   The data  is mostly security camera video from our security system.  Since its not really critical data, i'm just looking for a way to maximize
    the available hard drive space, and make it addressable as one volume or network share...
    -Eric
    You can build Storage Spaces (simple, not clustered as it would waste 50% of your capacity, MSFT can do mirror and parity with R2 for clustered only) from iSCSI LUs. Dog slow and unsupported but you'll have linear spanned space. See:
    Rough Guide To Setting Up A Scale-Out File Server
    http://www.aidanfinn.com/?p=13176
    Creating Virtual SoFS with shared VHDX
    http://www.aidanfinn.com/?p=15145
    you don;t need SoFS (obviously) but in this article Aidan creates Storage Spaces from iSCSI LUNs.
    Good luck!
    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.

  • I have three websites in one file. How do I separate them into three individual files?

    I have three websites in one file (Domain.Sites2). How do I separate them into three individual files without taking the site down or loosing files?

    Duplicate the domain file 3 times (keeping the orignal as a backup).  Name each domain file for the website you want it to contain.  Then open each domain file and delete the two sites you don't want it it. 
    Since you're running Mt. Lion you'll need to read the following in order to be able to open the different domain files.
    In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or Mountain Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application. 
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Two resource groups one on each node.

    Hi I am setting up a sun cluster with two nodes and storage.
    I want to run oracle and weblogic.
    I dont want to run both on the same server as the load matters and there are two boxes which can be used.
    I am planning to setup two resource groups with logical hosts one on each box and buind oracle to one and weblogic to second logical host on the other box.
    Now my requirement is,,
    I want first box to be primary for oracle resource group and second box to be primary for weblogic resource group.
    Can you please tell me how to configure different resource groupes to start on different boxes?
    Thanks in advance for the help.
    Ramesh.

    Hi, This document talks about bonding the resources in different ways. But doesnot suggest setting dependency between resources in different resource groups.
    To make it little more clear.
    I have box1 and box2 as nodes of cluster.
    the resources are distrebuted as follows.
    -----Box 1-------------------------Box2-------
    resourcegroup1--------Resourcegroup2
    logicalresource1-------logicalresource2
    Weblogicresource-----Oracleresource
    I will configure the resources to start on different nodes on startup by providing node list in different sequence for each resource group.
    But I want to set the dependency here..the "WeblogicResource" should not start before "Oracleresource".
    Can I straightaway set the dependency as we do for resources in same group or is there any other method to do this?
    Since I donot have a ready/usable test cluster I am unable to try it before posting the question.
    Please let me know the possible solution for this.
    Message was edited by:
    Ramesh_PS1

  • I have Downloaded albums that break up into each and every song or artist and I cannot get them to combine into the one album that they actually are. How can I do that?

    In My itunes library some of the albums I have downloaded  to my computer are being separated into each song or broken up into groups of separate artists on the album. I cannot figure out how to combine them all back into the one album they actually are from so when I open the library under Albums the album in question is just one album and not 10 or 15 albums because of this fracturing. I can make them into one album by making a playlist but that does not take care of the Album list page. Any ideas?

    Generally setting a common Album title and Album Artist will fix split albums.
    For compilations of tracks by different artists set the album artist to Various Artists and also tick Album is a compilation of songs by various artists if using the new version of Get info or set Part of a compilation to Yes on the Options tab if using the old dialog box (which you can invoke by holding down shift as you right-click > Get Info).
    For deeper problems see Grouping tracks into albums.
    tt2

  • I have an iPad, iPod touch, iPod classic. I tried using one account for allow only not being able to sign on with my touch. Do I  need separate accounts for each?

    Do I need separate accounts for each?
    I have an iPad, iPod classic and an iPod touch.
    Can not sign on to App Store with the touch.
    So how can I set up a new account?

    Error message -can not sign into App Store
    Same message for iTunes
    I use my iPad most of the time but would like to ad app to the touch

  • HT1711 When I load one of my own CD's onto itunes, it creates separate albums for each unique pairing (ie: singer/composer or singer/orchestra). How can I keep all the cuts together on one album?

    When I load one of my own cd's onto itunes, it creates separate albums for each unique pairing (ie: singer/composer or singer/orchestra). I end up with
    the cuts scattered over several albums.  How do I keep all the cuts on an album together rather than divided between several albums? I'm brand new with this technology, so I need your information in simple terms.  Thank-you.

    Generally all you need to do is fill in an appropriate Album Artist. For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
    The site could do with updating as some options have changed with iTunes 11, but the principles are the same.
    tt2

  • Removing live nodes from cluster view.

    Hi All,
              We are experiencing some JMS problems connected with a cluster node being
              hung for some time.
              The following took place just before the problem arises:
              1. First of all one of the nodes (the first) gets one thread
              (weblogic.jms.backend.BEPushRequestSender@76512c) stuck.
              2. After that it closes the TCP connection to another node and
              3. Removes another node from its cluster view.(that is alive)
              4. After that the second node removes the first from its cluster
              view.
              5. Seconds later they find each other again and add each other to the
              cluster view.
              6. After that, the JMS distributed members are connected to each other,
              7. Something strange happens, because either the first node starts
              missing many messages in its distributed topic member or the second
              node doesn't propagate messages from distributed topic to the first
              node.
              Is it possible to set up weblogic cluster in a way, it won't remove
              other members from cluster view by peer gone exception, only by
              heartbeat timeout? Is heartbeat retry time parameter is configurable?
              Any help with this matter will be greatly appreciated.
              Dmitry Finkelstein
              

    You must run the update node list for each ORACLE_HOME on that machine. If this is RAC, the runInstaller will take care to update all nodes, so again, you run it once per ORACLE_HOME installed.
    Shared Home is a single copy of the Oracle software, rather than each node holding their own copy of the software. There's a paper that talks about these two topics and gives some examples of full commands on OTN:
    http://www.oracle.com/technology/products/database/clustering/index.html
    "Oracle Homes in an Oracle Real Application Clusters Environment(PDF) January 2008"
    direct link: http://www.oracle.com/technology/products/database/clustering/pdf/oh_rac.pdf
    Enjoy and hope this helps.
    Saar.

  • I have to scan a lot of docs. to my adobe but they have to be in separate folders for each datefor billing-would acrobat help me do that?

    I work in EMS-each call may have 2 or 3 or 10 pages (it varies according to the patient or facility). When I scan each days paperwork to send to billing,I have to make a folder for each date-then I have to make a folder for each call-then I have to drag each scanned doc. into the date it belongs to (after I rename them with the individual case #s) I can't scan an entire days paperwork together because I can't separate them after they are scanned in adobe-would acrobat help me with this or is there some other program I can use?     HELP---I'm going to either smash my computer or the scanner or both!!!

    See-I don't have a clue--now you know why I am so confused! So sorry!!  ok let's see if I can explain correctly-
    1. Scan to a network folder-can type in a file name if I want or leave blank (gives it a really LONG name with the date mixed in there)
    2. it goes to a scan file on my work computer with my name
    3. Then I can rename on my computer (not the scanner)
    4. Then I have to open a remote-drag the files to that (the billing girls get it from a folder there)
    But the problem is-I can't scan-say if I have 45 documents for that day-all of them at one time and then go to my computer and separate them into different folders-I have to scan each individual case #  (each patient has a different #) some may be 1 page some may have 2 or 5 or 10 or whatever-so for each one I have to start at #1 and do all above steps over and over-it takes forever! I want to be able to scan all at one time without keeping them separate and then go to my desk and separate them-I am a dispatcher and answer the phone-and a short time to do paperwork-(this is a new job added to my existing and I am learning!!) I can't stand it taking all day!! also when I rename them it keeps both the new name and the original-good lord do I have a mess.  Sorry to bother you but I didn't know which product would help me and It's killing me!
    Yes I am long winded,lol,but like I said I AIN'T GOT A CLUE!

  • Replace 2 Nodes in Cluster

    Have a 2 node SQL Cluster & looking for best way to replace these with two new servers. I was thinking of removing 1 SQL node and then remove node from windows failover cluster mmc. Then unplug crossover cable and plug into new server and make new
    server same name as one that was just removed.. Then add to cluster and start w. SQL nodes.. thoughts? any articles,etc to follow?

    Hi,
    You can refer the following same scenario solution:
    Add or Remove Nodes in a SQL Server Failover Cluster (Setup)
    http://technet.microsoft.com/en-us/library/ms191545.aspx
    Replace broken node on SQL 2008 failover cluster
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/a25cba7a-4762-45b5-
    be4c-18fc13ec7eab/replace-broken-node-on-sql-2008-failover-cluster?
    forum=sqldisasterrecovery
    Hope this helps.
    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.

  • Related emails not folding into each other in one folder / but do in all others

    It really bizarre for me, as my other folders also have mail routed to them via various rules, and related messages fold neatly into each other, with a little triangle next to them, indicating that there is a whole chain in there.
    But in this one particular mail folder, each message shows up one by one, I am not sure why?
    The rules route messages into it by subject line (i.e. if it contains "zee" move it to that folder).
    Can anyone explain?
    Thank you!
    Zebbler

    Hello eporon,
    the only possibility to create a DVD with several movies and have the option to either play the parts separatly or "play all" as in commercial DVDs is to duplicate your movie(s).
    This means you have to import the individual movies (as you already did), then create a new movie where you join the parts into one. Now import that movie as well and name the menu button "play all".
    Important: this can only work if the combined parts are less than 60 min long (DVD-R is max 120 min).
    Alternatively you could create a single movie out of the four parts and place chapter markers for each individual title (ceremony, reception...) the let iDVD create a chapter submenu. Now the separate titles can be accessed from there.
    hope this helps
    mish

  • Removing nodes from cluster - question

    Hi Guys,
    I came across following while going thru oracle docs for removing a node from a cluster:
    Step 2: Deleting Nodes from Oracle Real Application Clusters Databases
    5.If you are using a non-shared Oracle home, from an existing node, run the following command where node_list is a comma-delimited list of nodes that remain in the cluster:
    runInstaller -updateNodeList ORACLE_HOME=Oracle_home "CLUSTER_NODES={node_list}"
    If you are using a shared Oracle home, from an existing node, run the following command where node_list is a comma-delimited list of nodes that remain in the cluster:
    runInstaller -updateNodeList -noClusterEnabled ORACLE_HOME=Oracle_home
    "CLUSTER_NODES={node_list}"
    So here we are providing a list of existing(remaining) nodes to update oracle inventory.Now what if we have more then one oracle homes on each of these nodes - say ORACLE_HOME1,ORACLE_HOME2 etc. for multiple databases - Do we repeat this statement for all oracle homes or is their any other way around?
    Also what does oracle mean by shared/non-shared oracle home?
    Regards.

    You must run the update node list for each ORACLE_HOME on that machine. If this is RAC, the runInstaller will take care to update all nodes, so again, you run it once per ORACLE_HOME installed.
    Shared Home is a single copy of the Oracle software, rather than each node holding their own copy of the software. There's a paper that talks about these two topics and gives some examples of full commands on OTN:
    http://www.oracle.com/technology/products/database/clustering/index.html
    "Oracle Homes in an Oracle Real Application Clusters Environment(PDF) January 2008"
    direct link: http://www.oracle.com/technology/products/database/clustering/pdf/oh_rac.pdf
    Enjoy and hope this helps.
    Saar.

Maybe you are looking for

  • Error while uploading data

    We are facing the problem while uploading forecast in APO (Base / Consensus) in each cycle. While incorporating some forecast corrections and uploading the consensus forecast in APO, the following error was encountered, and not able to save the data.

  • Flash Catalyst Wont Open my PSD document!?

    Hello ! Iam having an Issue with Catalyst. i have designed a web page in psd  ( 1290 x 664 ) but i cant import in on FC , the little window of Analyzing shown up it fills till in the middle and that FC shutdown Please How to fix that i cant open othe

  • Regressions in new Nvidia driver?

    After a system upgrade somewhat recently, I found my graphics not working as well as usual. For one thing, mplayer was suffering horrendous tearing under all rendering modes. Previously, I'd been able to get the gl renderer to work well with vsync so

  • Only have the pdf file

    I have recently inherited our companies tech writer position.  A task I have is to update a manual that had been created in FrameMaker.  However the only file that exists referring to this manual is the end product - pdf file.  Amazing but true.  I h

  • PSE6 on Mac OS 10.6.2

    Hi I have recently been experiencing a lot of problems with PSE6 on Mac OS 10.6.2. When I initially installed the snow leopard update (10.6.2) PSE6 worked perfectly fine. However while attempting to save a layer file, PSE6 crashed on my and has not b