Using two servers

Hello,
I manage a site that, due to traffic issues, keeps its images
on a different server than the content is on. HTML files are stored
at www.domain.com and images and media are stored on
images.domain.com
It's been working fine for me but I'm sure I have a few extra
steps in my work flow. I use Photoshop to edit images. If anyone
has any suggestions as to how this might work best, I'd love to
hear them.
Thanks

It actually works really well for us and, to upgrade our
connection, we'd have to double up our T1 line which is kind of
expensive.
I've noticed a number of sites that keep their media
elsewhere such as sfgate.com, pitchforkmedia.com and ebay.com
I've been editing the site normally, then uploading the
images to the image server and then just changing the links to
reflect that. It's really not that much of an issue but I thought
I'd ask to see if anyone had another idea to save a step or two.
Cheers!

Similar Messages

  • How to split mailservices among two servers (no xsan yet)

    How can I split the load on our mailserver (getting rid of the daily VM growth and potential crashes / down time) by using TWO servers as opposed to one?
    Apparently the root of the cause is too many imapd connections and DirectoryServices then gets in to problems stalling the whole server (EG see my latest 3-4 posts)
    SMTP out of the house should not pose a problem, and access for the end users to the (manually moved) imap data location should be handled easily after pointing the users to the second mailserver in WGM.
    BUT incoming mail makes me unsure - port 25 can only be pointed to one server on the LAN (naturally , so how do I configure the ("primary") mailserver to make sure that the local mail-delivery (for the users that use the second mailserver) will actually be sent to this second server.
    I would think that this should be easily possible - somehow - and that the LMTP service will be the part responsible for this change.
    PS.: I still cannot understand why a dual 2 GHz intel server is unable to perform satisfactory - with 10.5.6 server - serving the small amount of IMAP users we have, ca. 250 users.
    Currently ps ax | grep imapd | wc -l tells me that I have up to ca. 150 connections when the VM growth warnings starts to show up in the system.log

    The server is still pretty much having the default setup, though I have implemented Pterobytes "Frontline Spam Defense", but:
    A. I have incresed the number of processes as per an Apple article for "heavily loaded servers":
    cat /etc/launchd.conf
    limit maxproc 1000 2000
    B. I have changed /ets/cyrus.conf
    IMAP increased to 5
    LMTPUNIX increased to 2
    <pre> imap cmd="imapd" listen="imap" prefork=5
    imaps cmd="imapd -s" listen="imaps" prefork=0
    lmtpunix cmd="lmtpd" listen="/Volumes/Bric-RAID-03-up/Mail/imap/socket/lmtp" prefork=2</pre>
    I got this advise from Pterobyte a year ago when I had problems with the performance of the old mailserver (the hw was a G4, the hint helped a lot!)
    The timeout you refer to is not set in the config file (also not in a fresh in stall of 10.5.6), it's only listed (as 30) in /etc/imapd.conf.default.
    But I presume that if the parameter is not set in my cinf file, then the default files settings are in effect(?)
    I was thinking of changing this value just yesterday, but after reading the man imapd.conf I thought that it would not make any diference, since 30 is "the minimum":
    timeout: 30
    The length of the IMAP server's inactivity autologout timer, in minutes. The
    minimum value is 30, the default.
    I guess I have to make this chang anyway
    The server is a dual 2 GHz intel with 5 GB ram (and still 4 vacant slots).
    Today's top output looks like this (the server was rebooted 24 hours ago!)
    Mail spool (currently ca. 120 GB) is on an RAID-5 xraid
    <pre>Processes: 171 total, 2 running, 169 sleeping... 741 threads 10:57:37
    Load Avg: 0.21, 0.16, 0.06 CPU usage: 3.39% user, 3.39% sys, 93.23% idle
    SharedLibs: num = 12, resident = 44M code, 1532K data, 3200K linkedit.
    MemRegions: num = 16009, resident = 625M + 27M private, 231M shared.
    PhysMem: 708M wired, 942M active, 174M inactive, 1826M used, 3294M free.
    VM: 18G + 373M 645958(0) pageins, 75(0) pageouts</pre>
    I have been running Apples top-guide.pl script for a couple of days to monitor the servers "health" in general as well as I am logging the number of imapd connections every minute.
    I dont find the numbers alarming.
    During the max load yesterday (between 12.10-12.48) there was a peak of 210 imapd connection (users coming back from lunch and checking mail?).
    <pre>Fri Feb 6 12:42:00 CET 2009: 210
    Fri Feb 6 12:43:00 CET 2009: 210
    Fri Feb 6 12:44:00 CET 2009: 210
    Fri Feb 6 12:45:00 CET 2009: 209
    Fri Feb 6 12:46:00 CET 2009: 210
    Fri Feb 6 12:47:00 CET 2009: 209
    Fri Feb 6 12:48:00 CET 2009: 210
    </pre>
    During these 8 minutes is also when I was logging the highest number of VM growth:
    <pre>Feb 6 12:42:35 einstein DirectoryService[26]: Potential VM growth in DirectoryService since client PID: 0, has 875 open references when the warning limit is 500.
    </pre>
    top-guide.pl log's these vaulues:
    <pre>
    CPU usage: 300-s Reads/sec: Writes/sec: Net in/sec: Net out/sec: kernel
    Time: user sys Idle avg. number MB number MB pkts Mb pkts Mb CPU%
    12:46:29 8.0 3.8 88.3 87.4 0 0.0 65 3.1 2138 21.3 2081 11.4 3.7
    12:46:39 5.8 3.7 90.6 87.5 4 0.1 30 2.8 2166 21.2 2108 11.2 3.9
    12:46:49 5.4 4.5 90.1 87.5 0 0.0 22 3.1 2210 21.4 2180 11.7 4.0
    12:46:59 10.3 4.6 85.1 87.3 0 0.0 54 3.1 2123 21.2 2091 11.4 3.8
    12:47:09 13.8 5.2 81.0 86.9 0 0.0 46 3.2 2110 21.2 2071 11.4 3.9
    12:47:19 4.7 3.1 92.2 87.0 4 0.1 24 2.6 2109 21.1 2073 11.4 3.7
    12:47:29 5.0 3.8 91.2 87.6 0 0.0 58 3.3 2136 21.2 2110 11.3 3.8
    12:47:39 5.4 3.6 91.0 87.6 35 0.5 61 2.9 2091 21.3 2042 11.4 3.8
    12:47:49 7.9 5.9 86.2 87.5 61 0.7 54 4.8 2424 23.8 2409 13.8 4.5
    12:47:59 5.2 4.1 90.8 87.4 0 0.0 52 3.7 2224 21.4 2222 12.2 4.0
    12:48:09 15.9 5.9 78.2 87.0 0 0.0 25 3.0 2146 21.1 2127 11.8 4.0
    12:48:19 7.4 3.4 89.2 87.1 0 0.0 15 2.6 2129 21.2 2111 11.8 3.6
    12:48:29 4.9 3.7 91.4 87.2 0 0.0 34 2.9 2176 21.4 2158 11.8 3.7
    12:48:39 4.9 3.7 91.4 88.0 0 0.0 18 2.6 2128 21.0 2118 11.8 3.7
    12:48:49 5.6 4.5 89.9 88.1 0 0.0 35 2.7 2097 21.2 2082 11.7 3.7
    12:48:59 6.8 4.6 88.7 88.0 0 0.0 60 3.1 2204 21.4 2228 12.1 4.0
    12:49:09 5.6 4.0 90.4 88.0 0 0.0 15 2.9 2091 21.3 2072 11.7 3.6
    12:49:20 13.9 4.9 81.2 87.6 0 0.0 14 2.7 2103 21.2 2084 11.6 3.7
    12:49:30 9.1 4.0 86.9 87.5 1 0.1 70 2.8 2111 21.1 2129 12.1 3.8
    12:49:40 7.4 4.8 87.8 87.3 1 0.0 52 4.5 2195 21.4 2200 12.0 4.1
    </pre>

  • Monitoring two servers with same IIS configuration using SCOM

    Hello,
    We have two servers which has the same IIS configuration including sites names, how do we configure APM to monitor and get events captured on two different monitors on SCOM 2012 R2.
    Thank you, Anand
    Anand Franklin

    Hi Anand,
    There is no problem at all, if applications IIS paths (Web Site names + Web application name in IIS) absolutely match. Make sure both servers have SCOM Agent installed and connected to the same Management Group.
    In .NET Application Performance Monitoring template just keep Target Group field blank (it's blank by default) - that will mean the application will be monitored on each server within Management Group where it's discovered. The same configuration of
    APM monitoring will be used for all app instances.
    If you want to monitor the app only on two servers, and at the same time the app is hosted on more than these two boxes, you can create Windows Computer group populated with appropriate servers and specify this group as Target for APM monitoring.
    If you want to differentiate APM configuration for specific app instances, you should create several Windows Computer groups and bind each group with separate configuration - in this case you will have to run .NET Application Monitoring template several
    times, picking up the same app, but changing APM settings and setting new Target Group.
    Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/)

  • How to set up NAT for two servers using same port with ASDM ASA 5505

    Hi there,
    We have a new installation of a ASA 5505 and are trying to get some NAT issues straightened out. Here is the scenario: On our internal network, we have two servers running Filemaker Server, a relational database server that clients connect with using port 5003. Our goal is to be able to allow users from the outside to access either of these servers as needed. I know how to set up a simple static NAT rule and matching Access rule in ASDM which would be fine for a case in which only one server using a given port is running on a network, but for simple static rules I seem to be blocked from entering a different translated port number from the orginal port number, which becomes a problem when two servers we need to access from the outside are running software using the same port number.
    What is the simplest way to address this need? I am guessing that I need to set up a scenario like this, where port 5004 (or any arbitrarily choosen unused port, can be used to access the second server:
    Outside user enters   FQDN:5004  and this translates to Database server # 1 as   192.168.1.40:5003
    and
    Outside user enters   FQDN:5003  and this translates to Database server # 1 as   192.168.1.38:5003
    If so, what is the easist way to get this done? Or is there a better what to handle this scenario?
    Thanks in advance,
    James

    I would create two objects and use object NAT
    object network Obj_5004
    host 192.168.1.40
    object network Obj_5004
    nat (inside,outside) static service tcp 5003 5004
    object network Obj_5003
    host 192.168.1.38
    object network Obj_5003
    nat (inside,outside) static service tcp 5003 5003
    Of course you will need to open your outside interface for tcp ports 5003 and 5004 to make this happen

  • Flex IO error# 2032 when using IE7 for parallel https calls across two servers

    Hi,
    Weeks back I faced a wierd issue in the behaviour of flashplayer running on IE7 which is invoking parallel https calls. I have two SSL enabled servers one is listening on port 443 and the other is listening on port 8443 but both running in the same domain. I developed a flex client (using httpservice class) which sends parallel https requests to these two servers. When the number of parallel requests increases say more than 5 requests to each server, the fault handler was encountered with the error message:
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://servlet"]. URL: https://servlet"]
    I used some http tracer tools to check if the request jumps out of the browser but that didnt happen. I am 100% sure that I am using the correct url. I was totally helpless . This worked without any issues in IE8 or Chrome or Firefox. This made me think about increasing the number of concurrent connections for IE7 by modifying the windows registry. But still no difference in the behaviour.
    After breaking my head for a long days, I got one solution which would work. This issue is happening only if we are sending https requests to different ports in the same domain. So rather than moving one among the two servers to a new domain, I got a new DNS name for the same destination. So presently I got two DNS names pointing to the same machine in which both the servers are mounted.
    After this it really worked cool!!! Now that I am using a separate DNS name for the server listening on port 8443 and the old DNS name is used to hit the server listening on 443. And I am happy that its working fine without any issues .
    But can anyone tell me if this is really an IE7 issue or do we have anyother solution to fix this.
    Please share ur thoughts..

    Hi,
    I am building a mobile employee directory and for that I am using Flash Builder 4.6/AIR 3.1.0. I am using RESTful web service to get XML results and to display on my mobile application. I am getting the same below error when accessing the webservice from mobile app (Android - Galaxy Tab 7 inch).
    Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error # 2032"] URL: http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co">http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabhttp://adfdevp.alshaya.com:7013/RESTEmployeeDetails-http://adfdevp.als haya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabEmployeeDetails-context-root/jersey/restlab
    The same code is working in Flash Builder 4.6. I have checked Network Monitor to "Disabled" before deploying to mobile. What am i doing wrong here? I am pasting my code below-
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" xmlns:dao="dao.*"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
       <![CDATA[
        import mx.collections.ArrayCollection;
        import mx.collections.IList;
        import mx.collections.XMLListCollection;
        import mx.events.FlexEvent;
        import mx.rpc.events.FaultEvent;
        import mx.rpc.events.ResultEvent;
        import mx.rpc.xml.SimpleXMLDecoder;
        import mx.utils.ArrayUtil;
        import valueObjects.EmployeeDetail;
        [Bindable]
        private var myXml:XML;
        [Bindable]
        public var resultCollection:IList;
        public function handleXml(event:ResultEvent):void
         var xmlListCollection:XMLListCollection = new XMLListCollection(event.result.children());
         var xmlListCollectionValues:XMLListCollection = new XMLListCollection(event.result.emp.children());
         var resultArray:Array = xmlListCollection.toArray();
         var resultArrayValues:Array = xmlListCollectionValues.toArray();
         var objEmployeeDetails:EmployeeDetail;
         var resultCollection:ArrayCollection = new ArrayCollection();
         var j:int = 0;
         for(var i:int=0;i<resultArray.length;i++){
          objEmployeeDetails = new EmployeeDetail();
          objEmployeeDetails.brand = resultArrayValues[j];
          objEmployeeDetails.division = resultArrayValues[j+1];
          objEmployeeDetails.email = resultArrayValues[j+2];
          objEmployeeDetails.employee_name = resultArrayValues[j+3];
          objEmployeeDetails.employee_number = resultArrayValues[j+4];
          objEmployeeDetails.grade = resultArrayValues[j+5];
          objEmployeeDetails.mobile = resultArrayValues[j+6];
          objEmployeeDetails.position = resultArrayValues[j+7];
          j = j + 8;
          resultCollection.addItem(objEmployeeDetails);
         list.dataProvider = resultCollection;
         //return resultCollection;
        public function handleFault(event:FaultEvent):void
         //Alert.show(event.fault.faultDetail, "Error");             
        protected function sesrchEmployee():void
         xmlRpc.send();
       ]]>
    </fx:Script>
    <fx:Declarations>
       <dao:EmployeeDAO id="srv"/>
       <mx:HTTPService id="xmlRpc"
           url="http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlab"
           result="handleXml(event)"
           fault="handleFault(event)"
           resultFormat="e4x" showBusyCursor="true">
        <mx:request xmlns="">
         <data>{key.text}</data>
         <data>{key1.text}</data>
        </mx:request>
       </mx:HTTPService>
    </fx:Declarations>
    <s:navigationContent/>
    <s:titleContent>
       <s:VGroup width="100%">
       <s:HGroup width="100%">
        <s:Label top="40" paddingTop="10" paddingRight="13" height="29" text="Employee Name:"/>
        <s:TextInput id="key" width="559"/>
       </s:HGroup>
       <s:HGroup width="100%">
        <s:Label height="30" paddingTop="10" text="Employee Number:"/>
        <s:TextInput id="key1" width="100%"/>
       </s:HGroup>
       </s:VGroup>
    </s:titleContent>
    <s:actionContent>
       <s:Button icon="@Embed('assets/search.png')" click="sesrchEmployee()"/> 
    </s:actionContent>
    <s:List id="list" top="0" bottom="0" left="0" right="0" 
        change="navigator.pushView(EmployeeDetails, list.selectedItem)">
       <s:itemRenderer>
        <fx:Component>
         <s:IconItemRenderer label="{data.employee_name}"
              messageField="position">
         </s:IconItemRenderer>
        </fx:Component>
       </s:itemRenderer>
    </s:List>
    </s:View>
    Please help me to resolve this issue as soon as possible. Appreciate your quick response in this regard.
    Thanks,
    Murtaza Ghodawala
    Mobile: +965 97180549
    [email protected]

  • Using two postfix servers

    Hi Archers,
    I am setting up two postfix servers to send and receive email from the same domain name. For example abc.com. How can I synchronize the email in these two servers so that when I use IMAP or POP to receive email, I will get all the email, doesn't matter which servers I connect to.
    Thanks

    I dont know if this is what you are looking for:
    http://www.howtoforge.com/how-to-migrat … h-imapsync

  • Storage redundancy using two OSX servers - Promise RAID

    Hi All,
    Currently we run 1 Mac Mini and Server on Mavericks connected via Thunderbolt to a Promise RAID 5 device, it works great. I want some redundancy and have purchased an additional Mac Mini to backup Open directory and DNS as our main server does pretty much everything.
    Incase the main server fails what is the best way for the Promise RAID to stay up? I've read you can create a "Thunderbolt Bridge" by connecting both Mac Mini's via thunderbolt cable and one to the RAID??? Is this correct? Or.... purchase a Thunderbolt to Gigiabyte adapter and run the RAID off the network. Any idea how to configure this?
    Thanks.
    James

    Sadly Apple do not provide much if any facilities for building a resilient setup along the lines you are thinking.
    The nearest you can get happens to be for Open Directory and DNS. You would setup two servers, one as the DNS master and one as a DNS secondary, and you would setup one server as the Open Directory Master, and the other as the Open Directory Replica. Neither of these require the two servers to share any storage or files, the two servers would send the information between themselves over the network. This only works for those two services.
    You couldn't for example have both connected to the promise and act as File Servers. (Both ordinary files sharing or network directories.)
    To get nearer to having two servers sharing common storage so that if one goes down the other takes over would require a SAN and not direct attached storage like the Promise. However Apple's software does not support this for file sharing services.

  • How can I send email using two different email address that both link back to my one exchange account on my Ipad mini

    How can I send email using two different email address that both link back to my one exchange account on my Ipad mini? 
    On my PC I simply have a master return email address and use a POP for the secondary address.  Both are through the one exchange account without a problem.  I need to be able to do the same on my Ipad.

    Ah, I should have made that clear.  My domain didn't come from google.  It was purchased at and is hosted at dreamhost, but I haven't used their email servers in years - I just route everything through gmail.  I actually have a bunch of domains (with websites).
    Gmail has an option that lets someone with custom domains send (and receive) email through gmail using the custom domain once Google confirms proper ownership of the domain (to prevent spammers and such).  Gmail has a setting for "send email as" which allows gmail to be sent using a custom domain as the sender.  I'm pretty sure Apple's old mobileme had this feature too, but I didn't use it.

  • How Can i Use two Different Public IP Addresses no my DMZ with ASA Firewall.

    How To Using Two Different Public IP Address on My DMZ with ASA 5520
    Postado por jorge decimo decimo em 28/Jan/2013 5:51:28
    Hi everyone out there.
    can any one please help me regarding this situation that im looking for a solution
    My old range of public ip address are finished, i mean (the 41.x.x.0 range)
    So now i still need to have in my DMZ another two servers that will bring some new services.
    Remember that those two server, will need to be accessable both from inside and from outside users (Internet users) as well.
    So as i said, my old range of public ip address is finished and we asked the ISP to gives some additional public
    ip address to address the need of the two new servers on DMZ. and the ISP gave us the range of 197.216.1.24/29
    So my quation is, on reall time world (on the equipment) how can i Use two different public ip address on the same DMZ
    on Cisco ASA 5520 v8??
    How my configuration should look like?
    I was told about implementing static nat with Sub Interfaces on both Router and ASA interface
    Can someone please do give me a help with a practical config sample please. i can as well be reached at [email protected]
    attached is my network diagram for a better understanding
    I thank every body in advance
    Jorge

    Hi,
    So looking at your picture you have the original public IP address range configured on the OUTSIDE and its used for NAT for different servers behind the ASA firewall.
    Now you have gotten a new public IP address range from the ISP and want to get it into use.
    How do you want to use this IP address range? You want to configure the public IP addresses directly on the servers or NAT them at the ASA and have private IP addresses on the actual servers (like it seems to be for the current server)?
    To get the routing working naturally the only thing needed between your Router and Firewall would be to have a static route for the new public network range pointing towards your ASA OUTSIDE IP address. The routing between your Router and the ISP core could either be handled with Static Routing or Dynamic Routing.
    So you dont really need to change the interface configuration between the Router and ASA at all. You just need a Static route pointing the new public IP address towards the ASA outside IP address.
    Now when the routing is handled between the ISP - ISP/Your Router - Your Firewall, you can then consider how to use those IP addresses.
    Do you want to use the public IP addresses DIRECTLY on the HOSTS behind the firewall?This would require you to either configure a new physical interface with the new public IP address range OR create a new subinterface with the new public IP addresses range AND then configure the LAN devices correspondingly to the chosen method on the firewall
    Do you want to use the public IP addresses DIRECLTY on the ASA OUTSIDE as NAT IP addresses?This would require for you to only start configuring Static NAT for the new servers between the inside/dmz and outside interface of the ASA. The format would be no different from the previous NAT configuration other than for the different IP addresses ofcourse
    Of the above ways
    The first way is good because the actual hosts will have the public IP addresses. Therefore you wont run into problems with DNS when the LAN users are trying to access the server.
    The second way is the one requiring the least amount of configurations/changes on the ASA. In this case though you might run into problem with DNS (to which I refer above) as the server actually has a private IP address but the public DNS might reply to the LAN hosts with a public IP address and therefore connections from LAN could fail. This is because LAN users cant connect to the servers OUTSIDE NAT IP address (unless you NAT the server to public IP address towards LAN also)
    Hopefully the above was helpfull. Naturally ask more specific questions and I'll answer them. Hopefully I didnt miss something. But please ask more
    I'm currently at Cisco Live! 2013 London so in the "worst case" I might be able to answer on the weekend at earliest.
    - Jouni

  • Cannot get Telnet to work between two servers on same subnet

    I need to test if communication is open on port 8444 between two servers.
    I installed telnet client on a Server 2008 R2 server and telnet server on a Server 2008 SP2 server.  I also manually started the Telnet service that was set to disabled on the SP2 server.  I disabled the Windows firewall on both servers.  They
    are both on the same subnet so they don't need to go through any routers and I can ping successfully.
    When I try to telnet to the remote server by typing telnet "ip address" 8444, I get an error that says "Could not open connection to host, on port 8444:  Connection failed.
    I tried other ports like port 80 and got the same error.
    What else is needed to get this to work?

    VMs have nothing to do with it, as long as there's network communication between the servers.
    As I said, there must be a service or application listening on that port for it to respond. For example, try this:
    C:\> telnet
    When the telnet prompt opens, type in:
    open mail.messaging.microsoft.com 25
    If it works, you should see this:
    220 CH1EHSMHS035.bigfish.com Microsoft ESMTP MAIL Service ready at Thu, 7 Feb 2013 00:57:33 +0000
    That means that Microsoft's mail servers are LISTENING on port 25 and it responded. And note, telnetting to port 25 is a non-default telnet port, because port 23 is the default telnet port. When you type in a space and then a port number, you're telling
    the telnet client to use that port.
    That is the SAME THING if some sort of application or service is listening on port 8444 on that other server you're trying to telnet to. If there is no app or service listening, it will just time out.
    And no, installing the TELNET service on that sercver will NOT answer to any port other than 23. The telnet service by default, uses TCP 23, unless you specify otherwise.
    So once again, what service or app on that server is supposed to be listening on 8444?
    Ace Fekay
    MVP, MCT, MCITP/EA, MCTS Windows 2008/R2 & Exchange 2007, Exchange 2010 EA, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Technical Blogs & Videos: http://www.delawarecountycomputerconsulting.com/
    This post is provided AS-IS with no warranties or guarantees and confers no rights.

  • Looking up a distributed queue with two persistent stores using two JMS Svr

    I am trying to do the following:
    1. Setup a distributed queue, i have two servers which are part of the cluster:
    Server A: t3://localhost:7003
    Server B: t3://localhost:7005
    I go in and create two jms servers:
    JMS Server JA: Target on Server A
    JMS Server JB: Target on Server B
    Now as the jms servers need to use a seperate persistent store for each one of them i create two persistent stores.
    2. Now from my MDB which is deployed on another server i lookup the queue using
    t3://localhost:7003,localhost:7005 as the provider url
    My problem is that i always end up listening to the messages on the first jms server and never get to read the messages on jms server JB as i guess i am able to connect to JMS Server JA so i never try and connect to JB? What to do about this?
    Edited by: user4828945 on Mar 23, 2009 2:32 PM

    Allocation of consumers wouldn't take into account the number of messages on the queue - they'd be allocated randomly. The scenario you're proposing shouldn't happen though - WebLogic Server takes into account whether a member has consumers when sending to a distributed destination, but otherwise, assuming that Queue 1 and Queue 2 both have consumers, then distribution of load will be equal. It's not the amount of consumers that determine how many messages get sent to a distributed destination member - it's whether it has members at all.
    Assuming that did occur initially though, you'd expect processing to be a little bit more intensive on the server with the queue holding 30 messages. It would pretty quickly even up though.
    From that point forward, it would be somewhere between difficult and impossible to get to the second scenario, where you have an unequal number of messages in each distributed destination member, unless the work being sent with each message to an MDB can vary significantly in how long it would take to process.
    Assuming (and it's a big if) you could get to that scenario, then the MDBs wouldn't switch over - they stay connected to a particular distributed destination member. And it's their connection to a member as a consumer that controls how WebLogic Server load balances messages (assuming default configuration) so that's part of what makes it unlikely to get there.
    From going back to first principles in the documentation, it seems like your best result would actually be from deploying the MDB to the cluster - that way, there's no remote connections to JMS queues, and you get a pool of MDBs on each server instance.
    Ref here: http://e-docs.bea.com/wls/docs81/ejb/message_beans.html

  • Singletons running on two servers at the same time

    Hello,
              we faced one interesting situation with our application, running on clustered BEA Weblogic 9.2. We implemented some Singletons (ie. Singleton Service in a Weblogic cluster) and they are running fine. Most of the time.
              Common scenarios: cluster is started -> the singletons run on one server; the server is brought down -> the singletons are started on the second server.
              However, we had recently two situations where the Singletons started on both servers! Here they are:
              1) We use Database Migration Basis and we have a dedicated table for Weblogic to capture current state of the singletons. Due to the fact that database (Oracle RAC) was partially available one of the Managed Server could not get the lease and probably assumed that no singleton is running, therefore started the singletons locally.
              2) Network outage: we had several minutes where none of our servers could communicate between them (neither between SASU MS nor with the database). Consequence: each MS decided to start the singleton locally (after some time, which I assume is the waiting time). Once the network came back the servers could communicate again but the duplicate singletons are not deactivate, so they are running in parallel.
              Anyone experienced the same or similar issues? How to prevent the above? Is the Consensus Migration Basis a better choice? (I think yes for #1 but not for situation #2).
              Any helpful answer is appreciated.
              Thank you, best regards,
              Remus.

    In general its not a good idea.  Running PSConfig will try to establish a lock on the configuration database.  Doing that from two servers at the same time may cause the update to fail.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Active Directory Domain Controllers using Virtual Servers

    Hi,
    I want to place a new SAP landscape in a child domain of the Active Directory forest. Due to an ordering error I am short two servers.
    Basically I am thinking about installing a virtual server on each of the development servers and using the virtual server installation to run as Active Directory Domain controllers.
    I know SAP do not recommend using SAP servers to be used as domain controllers, but as these are separate servers with their defined resources, it should not be a factor if the servers are sized with enough spare capacity.
    Can anyone think of any other major issues that would cause me an further issues.
    TIA
    Chris aka BoobBoo

    should be no problem, but please don't try to put the host-operating system in the domain for which their own guests will provide the domain controlers.
    peter

  • Getting data from two servers?

    Experts-
    We have two servers for storing tables . 1. Historical server 1.Current Prod server
    We have same tables in both server databases.
    All the info prior to a month of current date is stored in Historical server database tables
    and the rest in current prod server dtabase tables.
    I have to build reports such that, when user enters a date, OBIEE has to check if the date is in a month period(30 days) of todays date or earlier to 30 days, based on this, it has to get the data from historical server database tables / current prod server database.
    How can I implement this?
    Do I need to create two connction pools(folders in rpd) and develop same Model twice?(One for historical tables and one for prod tables?)
    or Can I use fragmentation technique? if so, Can you give me an Idea hwow to implement Fragmentation for this requirement?
    Thanks for your help in advance

    You should use fragmentation for this requirement. It's not that hard once you've understood the basic principle. Read Nico's article here for the detail:
    http://gerardnico.com/wiki/dat/obiee/fragmentation_content
    The only non-standard bit for you will be to set the fragmentation criteria on your logical table sources. This is the part that tells BI server which source to hit.
    Post back here if you get stuck.
    Paul

  • Mirrored Storage between two servers

    Hello,
    Is it possible to create redundant storage using two Windows 2012 r2 servers?  I've been looking all over and any HA options always reference having external shared storage presented to the cluster (I assume NAS/SAN).  I am also assuming that said
    posts expect that whatever tech is being used for shared storage deals with keeping that data fault tolerant (e.g., mirrored SAN) and the Windows cluster need not be aware of that happening in the background.
    Due to lack of any storage hardware in my environment I was hoping there was a way to create a redundant file share/system between two Windows 2012 r2 servers at which point I could then create an iSCSI target to present a virtual drive to an application
    server cluster.  That way if one of the "storage servers" fails it won't take down the application running on the app server.  I looked into DFS however since the app locks its files those won't replicate across.
    I hope my question wasn't too convoluted.
    Thanks for any guidance! 

    Hi Bkboudreau,
    If I am not misunderstand your question, you are finding the method for iSCSI target servers synchronize iSCSI data.
    Replication of data between sites is very important in a multi-site cluster, and is accomplished in different ways by different hardware vendors. You can choose the hardware
    storage vendor solution when you want to synchronize data between two shared storage.
    You cannot use the feature in Windows Server 2008 called Distributed File System Replication (DFS-R) as your data replication method in a multi-site cluster. DFS-R only performs
    its data replication after a file is closed. This works well for files such as documents, presentations, or spreadsheets, but it will not work for files that are held open, such as databases or virtual machines. You must choose a replication option other than
    DFS-R.
    The related KB:
    Requirements and Recommendations for a Multi-Site Failover Cluster
    http://technet.microsoft.com/zh-cn/library/dd197575(v=ws.10).aspx
    The similar thread:
    how to sync the data between the two iSCSI target server
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/067ba543-369c-4d22-9f00-1f41d7aedc00/how-to-sync-the-data-between-the-two-iscsi-target-server?forum=winserverClustering
    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.

Maybe you are looking for

  • Mac Mini/HDTV Audio Problems

    I have my Mac Mini connected to my Samsung HDTV. It worked fine and I had audio and video. Somehow, the audio stopped. I hired a professional to come and reconfigure my whole setup and he connected the Mac Mini to our home theater speaker system. It

  • Create script for a button to open a PDF using AS3

    I created a Flash movie in AS3 on the mac. I have several navigation buttons, I want to be able to click on a button and open a PDF. The finished movie will be an executable for the pc. I also want to do the same for a .swf file.

  • MacBook will not shut down

    I cannot turn my MacBook Pro off. The shut down option doesn't work. Holding down the power off button doesn't work. I've tried letting the battery die out. It turns off only because it runs out of juice but when I get back on I have the same problem

  • I have an old MAC running OS X 10.2.8 and lost internet capabilities, how do I update and get the internet back?

    Help please, I have an old iMac running OS X 10.2.8 and lost internet capabilities, how do I update and get the internet back?

  • Preview- image rotaion?

    I just upgraded to SL. Preview used to be a very powerful image editor ex. select, instant alpha, save, cut and paste on a new preview image. My question is what happen to the corner arrows for rotating the pasted image into place. In 10.5.8 the past