LocalDirector 416 - Browser stays on one server

I have 5 servers balanced behind LocalDirector. There is no sticky command. They are balanced in a 'weighted' configuration. This is the predictor statement (predictor 192.168.0.10:0:0:tcp weighted). When someone’s browser makes a connection to the balanced site they stay with that server throughout the transaction. That is not what we would like. We would like for each time the user hits a link (goes to a subdirectory of the balanced site) for the browser to go though the load balancing process to the appropriate server. Is there something I can do?

In case you haven't figured it out yet you'll need:
a) use Server Admin to configure all the virtual domains or aliases. Select the 'Web' service and click on 'Sites' in the top icon panel. The two most important steps are to make sure the 'Host Name' maches the FQDN (fully qualified domain name), without the ending '.' for each virtual domain.
E.g.:
*Enabled | Host Name | IP Address | Port*
checked | www.virtualdomain1.com | * | 80
checked | www.virtualdomain2.org | * | 80
...etc
Then, click on *each virtual domain entry* and point Apache to the correct 'Web Folder' that contains the site for that virtual domain down in the 'General Section'. Make sure permissions are set corrrectly so that Apache (user www) can acces them.
b) You need DNS entries in you DNS server within the web server's primary zone. I am assuming you have only one web server. This can be accomplished also within Server Admin, selecting the 'DNS' service and then 'Zones' from the top icon panel. Select (highlight) your primary zone and click the 'Add Record' button below. Select the 'Add Alias (CNAME) option.
Add one alias for each virtual domain. Following the previous example:
Alias Name: www.virtualdomain1.com.
Destination: yourwebserver.yourdomain.com.
Alias Name: www.virtualdomain2.org
Destination: yourwebserver.yourdomain.com.
etc. Don't forget the tailing colons.
If your server doesn't have a FQDN or doesn't resolve properly, then you can try using the IP address of your webserver during troubleshooting.
You could restart Apache using the 'Stop' and 'Start' buttons from the 'Web' service, but I'd recommend using this in Terminal:
+sudo apachectl configtest+
+sudo apachectl restart+
The DNS service shouldn't need a manual restart, but feel free to do so if in doubt.
Hope this helps.

Similar Messages

  • Multiple websites on one server

    I've been trying to create multiple (two) websites on one server, with little luck. One sight works fine. I've tried creating a DNS entry for the new one, but I'm not sure what to set the IP to. I've tried many configurations of IP/hostname but nothing seems to work. Occasionally, the logs just disappear from the logs window.
    I've read on here that it's possible to run multiple sites off of one IP, so I feel like that is not the problem. Ideally, I'd like to have one of the sites not exist in the System/WebServer folder. If I place the site folder outside of that folder, do I have to add its folder as a share point and/or modify its permissions?
    Server version is 10.6.3

    I'm going to distinguish the web browser (client), the web server, and the DNS server here, and will treat these as running on three separate computers. You might have one or more of those co-located on one box, adjust these references to your configuration as necessary.
    The DNS translations are applicable only on the client; on the host box that is running with the web browser. The web server doesn't care about the DNS translation. The client needs the DNS to get the IP address of the web server, and it's off to the races from there.
    Again, DNS translations are not relevant the web server. The particular web server that gets selected (Apache Virtual Host, what Apple calls a "Site") based on some information that is passed within the http (don't start working with https quite yet) connection from the web browser into the web server.
    As for your DNS question, you'll probably want a CNAME (alias) entered in DNS database for the virtual hosts, even if you're awash with IP addresses. That alias must then match the name of the web server "Site". For testing, you can enter what amounts to CNAMES into /etc/hosts on the client, depending on your local set-up and your DNS server.
    By default, the connections to all virtual hosts are via port 80. Stay there for now.
    The web server selections are sensitive to the order of the "Sites" in the listing in Server Admin, too; you'll want the wildcard site (if you have that) at the end of the list.
    Here are some of the basics: [Apache Tips: One Web Server, Multiple Distinct Web Sites|http://labs.hoffmanlabs.com/node/1282]. Comments on that are welcome.

  • Unable to start SQL Server Browser service in Sql server 2005

    we are unable to start the SQL browser service on one of our machine with below error.
    I believe this to be the reason, why we could not connect to the instance with below error
    I tried troubleshooting as mentioned here, by changing
    value in registry from 1 to 0, but still no luck.
    SQLservices are also running.
    Please help on how to resolve this!

    Hello,
    You say that SQL Server Browser Service belongs to a SQL Server 2005, but based on the name of the instance is a SQL Server
    2012 instance.
    Do you have any issues installing/uninstalling SQL Server 2005 or 2012? One of them 32-bit and the other 64-bit?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • When previewed in browser or on the server the path of my web site repeats folders. However the "href" in the html code does not show the repetition in the path.

    If someone could help me on this one, this would be great. I am creating a web site that has several departments. I have categorized and saved each department in a main folder called "departments" and a subfolder for each one. In the Dreamweaver code view the pop-up menu links seem to show up properly, but when I preview in browser or upload to server "page not found" comes up because for some reason the address changes. Some parts of the address seem to be appearing twice, sometimes the entire path will appear twice as shown below:
    http://www.graphicmechanic.com/DEKALBCOUNTY/departments/parks-and-recreation/departments/p arks-and-recreation/pr-arabiamtn-map.html
    that is incorrect and it takes me to "web page cannot be found".
    It is obviously repeating the folders (hence the "departments/parks-and-recreation" twice. The correct link is:
    http://www.graphicmechanic.com/DEKALBCOUNTY/departments/parks-and-recreation/pr-arabiamtn- map.html
    The link issues are happening in the pop-up menu. For example if you go to http://www.graphicmechanic.com/DEKALBCOUNTY/departments/parks-and-recreation/pr-arabiamtn. html and rollover the link called "Arabia Mountain" in the links to the left side of the page, then click the pop-up menu link entitled "Arabia Mountain Map" that's where the problem occurs.
    Can anyone tell me how I can fix this problem. I don't know what I should do with the code since it already appears correct in html view.
    Please help if you can...
    Thanks in advance for any possible help you can provide...

    XonoBoom wrote:
    It is obviously repeating the folders (hence the "departments/parks-and-recreation" twice. The correct link is:
    http://www.graphicmechanic.com/DEKALBCOUNTY/departments/parks-and-recreation/pr- arabiamtn-map.html
    The link issues are happening in the pop-up menu.
    This problem usually happens when the menu is either a server-side include or a library item using links relative to the document. When you reference a page at a different level of the folder hierarchy, the document-relative links no longer point to the correct destination.
    Change the links in the menu to be relative to the site root.
    A document-relative link usually looks like this:
    <a href="../products/index.html">Products</a>
    A link relative to the site root begins with a forward slash like this:
    <a href="/products/index.html">Products</a>

  • Move VM from one server to another using Local Repositories

    There is the following structure:
    ovhost-01 with first_repo
    ovhost-02 with second_repo
    Oracle VM version: 3.1.1
    Both first_repo and second_repo are Local Repositories.
    On ovhost-01 I have VM named "TestOVM" with status Stopped .
    Task:
    Move VM from ovhost-01 to ovhost-02 using "Clone or Move" section from VM Manager ( http://docs.oracle.com/cd/E27300_01/E27309/html/vmusg-vm-manage.html#vmusg-vm-move )
    Whenever I try VM moving virtual disk stays on the first_repo.
    With shared NFS-storage this feature working well.
    Question:
    Is it possible to move VM from one server to another with Local Repositories ?

    Neither ovhost-01 nor ovhost-02 have access to each other. It move or copy... the admin server that is connected to the local repository would have to have access to the target repository.

  • URGENT!These errors shutdown one server in cluster.

    Hi,
    We are getting following errors in our portal which ultimately shutdown one server in the cluster.
    Can anybody help?
    Fri Mar 08 13:28:40 SGT 2002:<I> <JDBC Pool commercePool> A connection from pool commercePool was tested during reserve with a select count(*) from WLCS_IS_AL IVE and failed:
    Fri Mar 08 13:28:40 SGT 2002:<I> <JDBC Pool commercePool> java.sql.SQLException: Refcursor value is invalid at oracle.jdbc.dbaccess.DBError.check_error(DBError.java) at oracle.jdbc.ttc7.TTCStatement.<init>(TTCStatement.java) at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java) at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java) at oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java) at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:687) at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:626) at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:555) at weblogic.common.internal.ResourceAllocator.reserveWaitSecs(ResourceAllocator.java:544) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:174) at weblogic.jdbc.common.internal.ConnectionPool.reserveWaitSecs(ConnectionPool.java:145) at weblogic.jdbcbase.pool.Driver.connect(Driver.java:177) at weblogic.jdbcbase.jts.Driver.connect(Driver.java:244) at com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getJtsConnection(WebLogicHelper.java:544) at com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getConnection(WebLogicHelper.java:416)
    Thanking You in Advance, -Bharat

    Hey is that u r using connection pool.
    Check for number of connection in the Oracle Server opened.
    Check up number of connection persist both in oracle/java.
    Is driver not crashed or jvm right.
    Shyam

  • Sun one server 6.0 doesn't work well with explorer

    We've sun one server 6.0 sp4 running in a sparc server as SSL server and too as common server on port 80. The most our clients , 95%, are explorer browser users.
    The server has known bugs with SSL3 , interoperatibility with MSIE problem 532427. The solutions suggested in the server documentation don't work. We tryed the solutions suggested many times and in few time we got complaints from clients, people get "this page can't be displayed". I had to set the server to work with SSL2 only , althought security's reports tell that this protocol is not safe.
    The second bug is concern the latencies loading pages with explorer. I apply the solution suggested, KeepAliveQueryMeanTime 1, it doesn't work well too. We don't feel the latencies on new machines or light browsers as avant , but we still feel these latencies with old machines or if the users uses modem. A lot of people still see very strong latencies.
    I feel the server wasn't tested enough with explorer browser , it has so many compatibility problems with this browser.I think for the most webmasters the perfect compatibility with explorer is very important.
    We payed for this server and it is worst than apache ,apache group fixed the SSL problem long time ago. Only one thing we need doesn't work well in apache then we contenue to use sun one server. But this diference is not enough to justify the use of this server if sun don't fix these problems. I'm talking about problems they exist more than 1 year, they were when i installed the server then i contenue to work with iplanet 4.1 and SSL2. I read the new version server characteristics, version 6.1 , i didn't find anything telling that these problems were fixed.
    Yair Lapin
    Hebrew University Webmaster

    Yair -
    Unfortunately this is a little vague. Can you tell us specifically what problem(s) you're having (unfortunately your current message does not go into adequate detail for us to understand the problems you see, or to make recommendations about how to remedy them).
    Thanks
    Joe

  • I can send to only one server (NG) at at time? How can I fix this!

    Frequently, there are messages to my News Group from multiple NGs. I wish to respond,
    but I get the message that I can send messages to only one server at the time

    Only when i go to a different browser (like IE) after i clear it , then all that shows up is the pages i visited in IE , that is what bugs me , why is IE browsing history sowing up in Firefox ??
    Basically , i can clear the history in Firefox , and then for a example , go to Craigslist , using IE7 (launching it from a complete different Icon , in other words at that time i never open Firefox) , then after closing out , or even leaving open as it does not seem to matter , i go into Firefox , and hit History , and there is every place i visited in IE7 , on my History in Firefox

  • How to handle Back button, Browser Refresh problem at server side.

    Hi Friends,
    How to handle Back button, Browser Refresh problem at server side in java?.
    I am able to trace that,
    request.getHeader("ACCEPT") is returning value- */*
    when the browser was refreshed and returning different MIME types
    for all other actions from browser.
    I have doubt, will the above solution works always for all servers,browsers?.
    Please also specify any solution to handle back button at server side?.
    Thanks in Advance.
    Venkat..

    I'm sorry I don't think tht's the right solution for
    the above question....
    We must be aware that whatever scripting methdologies
    we either javascript/vbscript would executed @
    client(browser) side not @ server side....
    Dud If U get a good solution keep me updated.....
    THANKS & REGARDS,
    RAHULMy dear friend ...
    the bad news is that u simply cant disable or add any listener to the back button of the browser.
    When u hit the back button of ur browser the URL gets re-executed. So in case u have a JSP then the history.forward() is the best solution. [only if the page doesnt get expired similar to secure https sites]
    Now dont say that user can have javascript disabled ...those users will have a pretty touch time browsing websites since javascripts r used extensively by almost all websites.
    But in case u have an action.do or servlet call then u need to manage it using a session variable since the request will be sent to the server rather than client.
    For multiple form submittion issues read the following article in javaworld...
    Client vs. server solutions
    Different solutions can solve this multiple form submission situation. Some transactional sites simply warn the user to wait for a response after submitting and not to submit twice. More sophisticated solutions involve either client scripting or server programming.
    In the client-only strategy, a flag is set on the first submission, and, from then on, the submit button is disabled based on this flag. While appropriate in some situations, this strategy is more or less browser dependent and not as dependable as server solutions.
    For a server-based solution, the Synchronizer Token pattern (from Core J2EE Patterns) can be applied, which requires minimal contribution from the client side. The basic idea is to set a token in a session variable before returning a transactional page to the client. This page carries the token inside a hidden field. Upon submission, request processing first tests for the presence of a valid token in the request parameter by comparing it with the one registered in the session. If the token is valid, processing can continue normally, otherwise an alternate course of action is taken. After testing, the token resets to null to prevent subsequent submissions until a new token is saved in the session, which must be done at the appropriate time based on the desired application flow of control.
    for more details refer :
    http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
    Hope u got the idea.
    FYI I have been using both these ideas in my credit card payment gateway project. This concept has worked really well.

  • RE: How to have multiple application running under one server

              I have one server
              I have many application
              Question: Is it possible for me to have a weblogic properties file under each
              of this application.
              

    If your question is whether you can run multiple instances of WebLogic
              (or multiple applications) on one server, the answer is yes. The only
              problem is, you must have a unique port for each of the servers to run
              on. I.e., they can not all run under port 80 which has obvious
              internet/network implications.
              This also means you have multiple weblogic.properties files etc. for
              each instance.
              We do this with WL5.1 on a Linux 2.4 kernel in developement to allow
              multiple developers run their own instance on one box.
              Dano
              Mettu Kumar <[email protected]> wrote in message news:<[email protected]>...
              > No if you are running single instance of wls.
              >
              > Kumar.
              >
              > Sonny wrote:
              >
              > > I have one server
              > > I have many application
              > > Question: Is it possible for me to have a weblogic properties file under each
              > > of this application.
              

  • How can I move the ODI Work Repository from one server to another server?

    How can I move the ODI Work Repository from one server to another server?

    Hi,
    If you would like to move your source models, target models and project contents from Work repository 1 to another work repository.
    I.e. Dev. server to Prod Server.
    1. Firstly, replicate the master repository connections i.e. with same naming conventions manually
    2. Go to Dev. Server work repository -> File Tab -> Click on Export work repository (save it in a folder)
    3. After exporting, you can view the xml files in the folders.
    4. Now, Open the Prod. server and make sure you already replicated mas. rep. details.
    5. Now, right click on model and import source model in synonym mode insert_update (select source model from the folder where your xml file located)
    6. Similarily, import again target then Project.
    Now, check. It should work.
    Thank you.

  • I would like to have 2 seperate sites on one server

    Hi to all,
    I am a graphic designer who sometimes uses iweb to create very simple sites, which have worked in the past.
    I have a friend who is opening a restaurant and I want to help out by creating a web site for her in iweb.
    She already has one "site" for her photography, which is a page that says under contruction on her FTP which is contained the index.html file that appears in the web file on the FTP. If I publish the restaurant site to her FTP it replaces this existing photography site's index.html file and her photography site is lost . Is it possible (and how??) to have 2 index.html files on the FTP so that 2 sites can exist together?
    I really hope someone can help with this...
    Thanks in advance,
    Lisa

    Assuming just one server domain, the sites can co-exist because each is in its own folder, but you can only have one index.html file at root level. This file redirect to the site which is at the top of the list if you have two sites in the same iWeb, or to the site which updated last if you are using separate computers.
    The point of an index.html file is that you don't have to state it - if you have one at fred.com/index.html then just fred.com will bring it up.
    So: supposing you have two sites at fred.com, one called jim and the other called mary.  Each lives in its own folder, so their respective URLs are fred.com/jim and fred.com/mary (iWeb sets things so that those URLs bounce you on to Welcome.html or Home.html or whatever your starting page is called).
    Whichever way you work it, those URLs will be stable. However, if you are each uploading from separate computers, just fred.com will lead to whichever site was updated last. The only workarounds are manually to remove the index.html file at root level and stick with the longer URL in each case: or for the second site to keep a copy of the first site's index.html file and manually replace it at root level after each time they've uploaded.
    In the event that your server supports subdomains, Ethmoid's suggestion is neater.

  • How to copy procedures and packages from one server to another?

    Hi,
    I have 439 packages and 178 procedures located in one server called MAXWELL.
    I need to copy these objects to another server called TITAN.
    The schema names is SPCBR in both servers.
    So both servers have an instance running with this schema SPCBR.
    SPCBR in TITAN server has their tables with table data which was generated by an export/import process from MAXWELL server.
    However, procedures and packages were not copied by the export/import because I used the clause 'tables'.
    Now, what can I do in order to equalize procedures and packages in both databases? I can't risk in damaging or duplicating data in my database located in TITAN server, ok?
    Thanks,

    Another simple alternative, according to AskTom (http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:454220160386)
    ---------------- getcode.sql ----------------------------
    set feedback off
    set heading off
    set termout off
    set linesize 1000
    set trimspool on
    set verify off
    spool &1..sql
    prompt set define off
    select decode( type||'-'||to_char(line,'fm99999'),
    'PACKAGE BODY-1', '/'||chr(10),
    null) ||
    decode(line,1,'create or replace ', '' ) ||
    text text
    from user_source
    where name = upper('&&1')
    order by type, line;
    prompt /
    prompt set define on
    spool off
    set feedback on
    set heading on
    set termout on
    set linesize 100
    ------------------- eof --------------------------------
    it extracts one procedure, function or package to a file. Thats it. If you
    wanted to get all of the procedures in a schema extracted to the current working
    directory, you would run a script:
    --------------- getallcode ---------------------------
    set termout off
    set heading off
    set feedback off
    set linesize 50
    spool xtmpx.sql
    select '@getcode ' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    spool getallcode_INSTALL.sql
    select '@' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    set heading on
    set feedback on
    set linesize 130
    set termout on
    @xtmpx.sql
    ---------------- eof ---------------------------------
    You can see how to filter on that one by adding to the where clause if you want.
    Just run @getallcode_INSTALL to run all of the scripts...

  • How to setup three SharePoint sites on one server?

    Hello,
    How to setup three SharePoint sites on one server?  I have three sites like:
    http://site1
    http://site2
    http://site3
    And need to have them running up on one server. I recall some changes need to be done to the host file, but not sure.  Can you advise on what to change?
    Thanks,
    Paul
    Paul

    you need to make entries in DNS to get this done.
    check here:http://spshare.blogspot.com/2012/05/how-to-create-host-header-web.html
    nice blog with step by step explanation:
    http://thuansoldier.net/?p=1323
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Running APEX 3.1.2 and 4.0.2 on one server

    We currently have a Solaris server running an Oracle 10g R2 DB with APEX 3.1.2 installed. Oracle Application Server 10g (Apache) is used as HTTP server. This server is used for development and UAT.
    We want to upgrade to APEX 4.0.2. and first want to test this and then gradually upgrade our existing APEX applications. This means we need to run both APEX versions is parallel for a while. We created a copy of the development database, since you cannot have two different APEX versions in one database. But, out problem is the images directory that is used by APEX 3 and 4 in combination with the OAS MT. According to the installation/upgrade instructions you need to rename the existing APEX 3 images to be able to revert back to APEX 3, but that would mean our APEX 3 environments will stop working. We need to be able to run both APEX versions for a while on one server using one OAS MT.
    How can this be achieved without having to install another OAS MT with it's own images directory?

    Hi,
    you could create a second directory on the server and a matching alias in the dads.conf file and name it /i402/ (instead of the old /i/).
    Then you install APEX 4.0.2 and specify /i402/ as image directory name when calling the installation script. If you already installed APEX 4 you can use a script named reset_image_prefix.sql to change the images directory used by the APEX Builder Applications.
    For your created Applications simply set the image directory prefix in the Application Definition Page to /i402/ and you are good to go.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

Maybe you are looking for

  • Help unable to install OS X as hard drive not visible in internet recovery mode

    Hi I have a MacBook Pro During use my screen froze and I had to force quit. Since then I have tried the following: Turning on in safe mode Internet recovery - no mac hd or partition recovery drive are visible in disk utility only OS X base system Una

  • A video made with Motion for your viewing

    I haven't seen many people post videos that they've made in this forum, so I hope it's not too self-promotional to do so. I regularly check the iWeb forums, and over there people regularly post samples of their work, which I think is good, cause I ca

  • JDBC Direct Connections to MS Access

    My company utilizes an Intranet web Java client to post data into multiple Microsoft Access databases. For the longest we have used dbAnywhere as middleware to connect the applet and the database. dbAnywhere is no longer supported and this process se

  • My old telephone number is stored in Facetime. How do I change?

    I recently recieved a Mac. I also have a knew phone, same number. My old phone (that husband is using) is stored and I can't use FACEtime correctly. Help...

  • How can i chat with someone from adobe creative cloud?

    I am a student & "rent" the adobe creative suite 6 from the cloud for $19.99 per month. I was told I could download a second copy of the programs I use on a second computer (my laptop). However, the download function doesn't work to do so. Any sugges