VIP Failover at the web server level??

Oracle10gR2
RHEL 4 AS 64bit
Hi,
I wanted to know is the VIP failover at the web server level also? For example, we are running Apex and that uses Apache/HTTP webserver, if that were to go down on one node, would it failover to the other node? Or is it not at the webserver level?
Thank you.

Yes, thank you for the documentation.
However, I had one question about an action script that is in the following documentation:
http://www.oracle.com/technology/products/database/clustering/pdf/Using_Oracle_Clusterware_to_protect_Oracle_Application_Server.pdf
In there in APPENDIX B is a script called webcache_action.scr. I modified this script to use in our environment to start and stop the http_server process. We have been having some problems with it...mainly when it fails over, it shuts down the http server, then brings it back up, then down again. This is happening in a production system so it's a big issue. My question is can you explain to me why that is happening and maybe also explain what the script is doing? Maybe I'm missing something. Do I even need to have the stop part in the script? All we need to do is when it fails over to startup the http server on the node, that's it! Any help would be appreciated.
#!/bin/bash
SCRIPT=$0
ACTION=$1
# Action (start, stop or check)
ORA_OWNER=oracle
# ORACLE installation owner
ORA_HTTP_HOME=/opt/app/oracle/product/10.2.0/http_1
# ORACLE_HOME of HTTP Server
RET1=1
# Internal return values ( do not change )
RETVAL=1
# Script return value
# Main section of Action Script - starts, stops, or checks an application
# This script is invoked by CRS when managing the application associated
# with this script.
# Argument: $1 - start | stop | check
# Returns: 0 - successful start, stop, or check
# 1 - error
# Start section - start the process and report results
case $1 in
'start')
ulimit -n 65536
ulimit -u unlimited
echo "DATE: `date`" >> /tmp/e
echo "ulimit: `ulimit -n`" >> /tmp/e
echo "ulimit: `ulimit -u`" >> /tmp/e
# A) START - HTTP Server:
$ORA_HTTP_HOME/opmn/bin/opmnctl startproc ias-component=HTTP_Server 1>/dev/null 2>&1
RET1=$?
# Prepare return values:
if [ ${RET1:-0} -eq 0 ]; then
RETVAL=0
else
RETVAL=1
fi
# Stop section - stop the process and report results
'stop')
# A) STOP - HTTP Server:
$ORA_HTTP_HOME/opmn/bin/opmnctl stopproc ias-component=HTTP_Server 1>/dev/null 2>&1
RET1=$?
# Prepare return values:
if [ ${RET1:-0} -eq 0 ]; then
RETVAL=0
else
RETVAL=1
fi
echo "usage: $0 {start stop}"
esac
echo "RETURN: $RETVAL" >> /tmp/e
# Return value to CRS daemon:
echo "RETVAL: $RETVAL" >> /tmp/e
if [ $RETVAL -eq 0 ]; then
exit 0
else
exit 1
fi
#exit 0

Similar Messages

  • How do you failover the web server?

    I have 2 servers running the web server on them. If one of them fails how do I reroute the users requests to the other one, seamlessly to the user? I am new to using the web server so any help, even remedial would help!! Thanks!

    Ya, thats part of the problem. Right now we are using Sun Cluster to provide a network resource that handles which web server is to handle the request. A virtual ip address so to speak. We'd like to stop using Sun Cluster as it's a bit unstable, ie reboots the cluster randomly without error messages or warnings. We'd like to just use the web server/application server clustering capabilities and eleviate the extra layer of complexity with Sun Cluster. I know Sun Cluster has a Web Server agent to do this, but that is why we're trying to not go down that road. It is starting to sound like we may have to though as buying additional hardware isn't an option.

  • There is a compatibility range mismatch between the Web server and database

    HI,
    Taken backup form production environment through TSM backup utility and restore same db on UAT environment by TSM Utility, after restore got below issue, past i had done many time but working fine this time
    it’s not working. Production environment have SP2010 and sql server 2008 ,UAT have same thing also.
    Server Error in '/' Application.
    There is a
    compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been blocked to due to this incompatibility. This can
    happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and
    build level to return to compatibility range.
    Description: An unhandled exception occurred during the execution of the current
    web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException:
    There is a compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within
    the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and build level to return to compatibility range.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack
    trace below.
    Stack Trace:
    [SPUpgradeCompatibilityException: There is a compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been
    blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the
    database must be upgraded to the same version and build level to return to compatibility range.]
       Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.ValidateBackwardsCompatibility() +542
       Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +63
       Microsoft.SharePoint.SPWeb.InitializeSPRequest() +258
       Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web) +365
       Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +520
       Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) +27
       Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +918
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Bhavik,
    UAT Portal_Contain DB version given below:
    Version ID
    Version
    id
    00000000-0000-0000-0000-000000000000
    12.0.0.4518
    1
    00000000-0000-0000-0000-000000000000
    12.0.0.6219
    3
    00000000-0000-0000-0000-000000000000
    12.0.0.6327
    4
    00000000-0000-0000-0000-000000000000
    12.0.0.6421
    5
    00000000-0000-0000-0000-000000000000
    12.0.0.6510
    6
    00000000-0000-0000-0000-000000000000
    12.0.0.6514
    7
    00000000-0000-0000-0000-000000000000
    14.0.6123.5006
    9
    1A707EF5-45B2-4235-9327-021E5F9B8BB0
    4.1.6.0
    8
    6333368D-85F0-4EF5-8241-5252B12B2E50
    4.1.18.0
    2
    Production Version given below:
    00000000-0000-0000-0000-000000000000
    12.0.0.4518
    00000000-0000-0000-0000-000000000000
    12.0.0.6219
    00000000-0000-0000-0000-000000000000
    12.0.0.6327
    00000000-0000-0000-0000-000000000000
    12.0.0.6421
    00000000-0000-0000-0000-000000000000
    12.0.0.6510
    00000000-0000-0000-0000-000000000000
    12.0.0.6514
    00000000-0000-0000-0000-000000000000
    14.0.6123.5006
    1A707EF5-45B2-4235-9327-021E5F9B8BB0
    4.1.6.0
    6333368D-85F0-4EF5-8241-5252B12B2E50
    4.1.18.0
    I have matched both are the exact same.
    Run the below command on App server:
    Upgrade-SPContentDatabase
    cmdlet Upgrade-SPContentDatabase at command pipeline position 1
    Supply values for the following parameters:
    Identity: Portal_Contain
    Confirm
    Are you sure you want to perform this action?
    Performing operation "Upgrade-SPContentDatabase" on Target "Portal_Contain".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
    (default is "Y"):y
    WARNING: Database [SPContentDatabase Name=Portal_Contain] cannot be upgraded.
    Kindly suggest 
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

  • Communication problem the web server extension (WGATE) failed to receive a

    Hi,
    When a user tries to access his timesheet he get the below error:
    <b>communication problem the web server extension (WGATE) failed to receive a response from the ITS web service</b>
    Only ONE user is getting this error. If everyone get\s the same we can check on the ITS side, but if only ONE user is getting it.
    Please help.
    Regards,
    PK

    HI ALL,
    Thanks for your time. The issue got resolved however without cheking the logs itself. The problem was with the scripfile. All other users and all other scripts were working, except one. And it got recified.
    Regards,
    P. Kumaravel.

  • Connection from the web server to the database which is situated in another machine.

    Thanks for the reply.
    I need to know, whether there shold be a physical connection between the web server and database machine? or can we connect to the database machine through the web, if the database machine has a domain name? if there is a physical connection, we can use the jdbc/odbc connection. but if we are connecting through the web, how can I estblish the connection using a JDBC/ ODBC connection?
    Regards,
    George

    As long as there's a network connection between the two machines, you should be able to make the connection. I'm not sure what the difference between a 'direct connection' and a 'connection through the web' is-- are you actually running a network cable from one machine to another?
    When you cannot make the connection, are you able to do a 'tnsping' on the target database?
    When you say 'connecting through the web', is it possible that you're going through a firewall? If so, the firewall may be blocking the ports you need to communicate on.
    Justin Cave
    ODBC Development

  • Currency Translation at the Web Template level (standard functionality)

    Hi Experts ,
    We are currently working in BI 7.0 env. with source system ECC 5.0.
    We are working for a task where we need to make the BEx  queries enabled for currency translation .
    The requirement is :-
    The user should be enable to give/opt/choose for the follwoing options:-
    Currency type (target currency in which the translation is aimed)
    Exchange Rate ( Standard(M) or other(P) or something else) and
    Key date: The translation will be performed taking the exchange rate on that particular date.
    We do have 2 option to perform the task...
    1:- Either we do it thru currency translation type definition(RSCUR) and then attaching this currency translation for every amount key figure values at each query level. OR
    2:- If we can go and find something at the Web Template level and add/modify the template in such a way so that it gives us the functionality to translate a source currency into a desired one with desired exchange rate type (currently either M or P) and for a specific date.
    At this point of time when we do have numerous sub-areas holding hundreds of queries, we want something which should be available as the modification/addition to standard functionality at the web template level and not at the query level as changing each and every one of them and testing would be a cumbersome process and would be costly and risky at the same time. So we are just wondering if we can find something with option no. 2 and add/modify something in the standard functionality.
    Please ask for any more information required.
    Thanks very much.
    regds.

    Hi Amit,
    You would still need to define the Currency Translation using RSCUR where you would specify
    -the exchange rate type (either fixed or variable)
    -the target currency (either fixed or variable)
    -the reference date
    You don't need to modify any of your queries. You can instead use 'Translate Currency'/[SET_CURRENCY_TRANSLATION] command in WAD & specify the Currency Translation as defined in RSCUR. If you want the target currency & exchange rate type to be driven by user input, you can define these as variables in RSCUR & invoke the variable screen using 'OPEN_VARIABLE_DIALOG' in WAD for user input just before calling 'SET_CURRENCY_TRANSLATION' command.
    --Priya

  • The form cannot be submitted to the Web server either because your computer is offline or because the host server is currently unavailabl. If this problem persists, contact your network administrator.

    Hi,
    When the page is submitted for approval by using SharePoint OOTB Page Approval Workflow, it takes quite long time and prompt error message as below.
    "The form cannot be submitted to the Web server either because your computer is offline or because the host server is currently unavailable.
    If this problem persists, contact your network administrator."
    It only happens in Internet Explorer version 8 and 9. IE version below 8 is not used in environment.
    But it is working in Firefox.
    Please help me on how to fix this issue.
    Thanks.

    Hi Htet,
    Here are some articles with the same issue message, you can check the setting of Link Translation rule in the ISA from below.
    http://sharepointontop.blogspot.com/2012/06/form-cannot-be-submitted-to-web-server.html
    http://bytelab.blogspot.com/2008/03/problem-submitting-infopath-forms-using.html
    http://social.msdn.microsoft.com/forums/en-IE/sharepointcustomizationprevious/thread/84be34b3-b806-49ce-a5c2-b5ad8a1ff09f
    Thanks
    Daniel Yang
    TechNet Community Support

  • How can you display a dynamically loaded vi to the Web Server?

    I am working with LabView 6.1 and the Web Server. I can call a subvi and have it display on a remote machine using a browser with no problem. But what I would like to do is dynamically load and run a vi and have it display on the remote computer using only a browser. I have tried a small example of a front panel that invokes the run vi method (and fp.open prop) on another vi when a button is pressed, but the invoked vi is displayed only on the local computer. Is there any way of viewing dynamically loaded vi's on a remote machine without having a copy of LabView running on it?

    If i understand your question correctly, you want to monitor vi that are dynamically loaded on a remote machine without having LabVIEW installed on the machine from witch you want the monitor. I don't think it's possible how ever a good reference book would be Internet applications in LabVIEW. You can find it on BARNES&NOBLE.
    Hope i could help

  • How can I make the web server work on port 80 and not 443. I can only access my website using https.

    On a Mac Mini server with OS X Lion 10.7.2, I am unalbe to get the web server working on port 80. It switches automatically to port 443 (https).
    This situation complicates the access to FileMaker Web publishing, as I don't want my clients having to use https.
    How can I change that? Does anyone know?
    Thanks for any reply

    in the server: I checked the SSL certificate. Tried several configuration.
    Well, that's a problem for a start.
    Your port 80 connection should NOT use SSL. Port 80 is the standard HTTP port, not HTTPS and most applications that connect to port 80 will not expect to use SSL
    If you want to run a site under both HTTP and HTTPS then you create two sites, one on port 80 without SSL and one on port 443 with SSL

  • Setting a password at the web gallery level

    Hi,
    I would like to host multiple password-protected albums in my web gallery but don't want to require my viewers to enter a password for each album they visit. Is there some way I can set password protection at the web gallery level and make all albums accessible to those who successfully authenticate?
    thank you!

    No, not with iPhoto. That can be done with iWeb. You password protect a single site and can have multiple photo pages, i.e. slideshows, in that site. The just provide the URL to the site along with the password and user name to use.
    It's so easy to create the photo page/slideshow in iWeb by dragging the album of the photos you want to use into the iWeb photo page like this.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Imp:How to find out whether client authentication Enabled on the Web Server

    Hi,
    I am trying to find out whether the Client Authentication Enabled on the Web Server or not.
    Reason for doing this, if we have two certificates in the key store which will authenticate the Web Server, JSSE Authentication will always take the first cert from the keystore. If the first Certificate is Expired, it will fail while doing the HandShake.
    So if I can find out whether Client Authentication is Enabled or not, then I can prompt a dialog for the user to select the Certificate for the Hand Shake.
    Thanks in advance for any Response,
    Krish.

    AUTH_TYPE will tell you only if it SSL or not. It won't say whether the Client Certificates Required for SSL Connection.
    Also, AUTH_TYPE is not part of the Http Headers.
    If there is any other solution, greatly appreciated.
    Thanks
    Krish.

  • Problem in starting the web-server after configuring .so on AIX

    I am trying to configure a .so file in iplanet fasttrack web server 4.1 on AIX 4.3. I have build the .so file on IBM AIX 4.3. But while starting the web-server it failed to start.It fails when I include the following in obj.conf "Init fn="test-init" config="ConfigFile". While starting web-server I got the following :
    server terminated (signal 11): watchdog is restarting it
    failure: server initialization failed
    Any pointers on this would be helpful.

    I got similar errors in the past when the web server process was running in the background. Sometimes shutting down WAS does not work.
    Before you start WAS ensure that no java process is running or better try rebooting.

  • Probloms in starting the web server

    i am a peoplesoft dba. i am trying to install peoplesoft internet architecture.
    the O.S is windows 2000, database is oracle, application server is using Tuxedo
    6.5. the web server is weblogic 6.12. i have installed all the components and
    am able to log on to the peoplesoft application in 3-tier mode.
    now i am trying to set-up the 3-tier web connection. i have created a domain -
    VISTDEV. the JSL port is 9000, HTTP port is 80. when i am starting the PIA service
    through --- startPIA.cmd under my domain, i am getting the following error:
    <Dec 26, 2003 12:24:19 PM CET> <Notice> <Management> <Loading configuration file
    .\config\VISTDEV\config.xml ...>
    <Dec 26, 2003 12:24:25 PM CET> <Notice> <WebLogicServer> <Starting WebLogic Admin
    Server "PIA" for domain "VISTDEV">
    <Dec 26, 2003 12:24:44 PM CET> <Notice> <Management> <Application Poller not started
    for production server.>
    <Dec 26, 2003 12:24:44 PM CET> <Notice> <WebLogicServer> <ListenThread listening
    on port 8080>
    <Dec 26, 2003 12:24:44 PM CET> <Emergency> <WebLogicServer> <Unable to create
    a server socket for port: 443. java.net.BindException: Address in use: JVM_Bind
    Perhaps another process is using port 443.>
    <Dec 26, 2003 12:24:44 PM CET> <Emergency> <WebLogicServer> <The WebLogic Server
    is no longer listening for connections. You should probably restart it.>
    <Dec 26, 2003 12:24:44 PM CET> <Alert> <WebLogicServer> <Server shutdown has been
    requested by system>
    <Dec 26, 2003 12:24:44 PM CET> <Alert> <WebLogicServer> <The shutdown sequence
    has been initiated.>
    the DOS window closes after that. i am surprised how the port 8080 is coming into
    picture.
    can you please help in troubleshooting.

    Hi,
    I suppose you have set the SSL port to 443 however, it looks like port 443 is
    already in use by another process.
    Regards
    Mayur
    "blue_jay" <[email protected]> wrote:
    >
    i am a peoplesoft dba. i am trying to install peoplesoft internet architecture.
    the O.S is windows 2000, database is oracle, application server is using
    Tuxedo
    6.5. the web server is weblogic 6.12. i have installed all the components
    and
    am able to log on to the peoplesoft application in 3-tier mode.
    now i am trying to set-up the 3-tier web connection. i have created a
    domain -
    VISTDEV. the JSL port is 9000, HTTP port is 80. when i am starting the
    PIA service
    through --- startPIA.cmd under my domain, i am getting the following
    error:
    <Dec 26, 2003 12:24:19 PM CET> <Notice> <Management> <Loading configuration
    file
    \config\VISTDEV\config.xml ...>
    <Dec 26, 2003 12:24:25 PM CET> <Notice> <WebLogicServer> <Starting WebLogic
    Admin
    Server "PIA" for domain "VISTDEV">
    <Dec 26, 2003 12:24:44 PM CET> <Notice> <Management> <Application Poller
    not started
    for production server.>
    <Dec 26, 2003 12:24:44 PM CET> <Notice> <WebLogicServer> <ListenThread
    listening
    on port 8080>
    <Dec 26, 2003 12:24:44 PM CET> <Emergency> <WebLogicServer> <Unable to
    create
    a server socket for port: 443. java.net.BindException: Address in use:
    JVM_Bind
    Perhaps another process is using port 443.>
    <Dec 26, 2003 12:24:44 PM CET> <Emergency> <WebLogicServer> <The WebLogic
    Server
    is no longer listening for connections. You should probably restart it.>
    <Dec 26, 2003 12:24:44 PM CET> <Alert> <WebLogicServer> <Server shutdown
    has been
    requested by system>
    <Dec 26, 2003 12:24:44 PM CET> <Alert> <WebLogicServer> <The shutdown
    sequence
    has been initiated.>
    the DOS window closes after that. i am surprised how the port 8080 is
    coming into
    picture.
    can you please help in troubleshooting.

  • Step by Step of how to Install and configure the Web Server Core 2008 R2

    I encoutred a couple of problems installing a Web Server Core 2008 R2 edition including the remote connection and for people who are encountring the error :
    "The WinRM client cannot complete the operation within the time specified" or the error : " Could not connect to the specified
    computer. Details: Unable to connect to the remote server "   I think those couple of video will be helpfull,
    so I decided to record and share this experience with you by producing the server core from A  to Z to avoid the headache that I encountred
    during my experience. The lab environment is vmware but you can use hyper v or even physical lab if you want as  the steps are the
    same
    http://www.youtube.com/playlist?list=PLzayUN5B2cXMoyziV4oUs94P6EZT6QVmc
    watch?v=5z1NiWUJdGU  Wipe generation
    watch?v=Q3BoLkWWAC4  hard disk preparation
    watch?v=lOPvy-cn0Uk  server core installation
    watch?v=gTnOUJfRkDg  configure the web server
    watch?v=0ofvknXMNsc  install .net framework in the webserver
    watch?v=K4ADBzZeM6E  install the web server role
    watch?v=oGHC0sbe17Y  remote control the server
    watch?v=SpzAsRkjV40  continue the remote configuration
    watch?v=XjPD8U_y29I  Create and alias for the web server
    watch?v=Pim1T6z6DJM  Configure a Win 7 machine to control
    Enjoy  the vids
    The complexity resides in the simplicity Follow me at: http://smartssolutions.blogspot.com

    Hi MASNSN,
    Thanks for your sharing =)

  • Uploading a file to the web server

    How can i upload a file to the web server using JSP.

    hello sir,
    Could U even tell me performance which one is better.
    U have mentioned that Multipartrequest is Complex for Beginers,
    but as far as performance is concerned which is better.
    If Taglib is used is it error Free , as I do not know much abt taglib.
    have just read a little abt it , have never created my own Custome Tag.
    Could U just Guide me which is the best site where I could get know a little abt Taglib.An easy tutorial where I could read and start working on My application.
    I have been given a Deadline. So Please help me man.
    If U have the source Code for Uploading of a File Please Cut Paste it.
    I have to finish the project on time .
    Please
    With Regards
    Eklavya

Maybe you are looking for