Apache2 failover in Solaris 10:possible?

Hi,
I've been handed a pointy-haired boss type task here.
How do I take two close to identical Apache2 SAMP (Solaris 10, Apache2, Mysql 5, PHP 5, set up per the BigAdmin SAMP article) to act as one?
I was able to get the MySQL databases on the two machines to syncronize automatically (via the clustering options in the my.cnf file), and I can sync the web root file systems automatically using rsync, so the two machines are esentially serving up the same pages.
However, they are serving up https documents, and if the dns records are changed when one machine loses it's heartbeat, well, the certificate on the other machine is different (different DNS names were registered to each certificate) from the first machine, and then a client web browser obviously complains at that point...(and for good reason!).
Would the situation be any different if I were to rescind one certificate from our certificate provider, and then get a second certificate corresponding to the same domain name as the first? Would most certificate vendors even allow you to do this?
Is there a better way to set up this cluster? I checked into Sun Cluster 3.2, but it seems like overkill for this situation, and we don't have network attached storage like Sun recommends in their configuration documents for Sun Cluster. I don't have the budget to throw the big guns, hardware wise, at this one (unfortunately).
Didn't realize that a failover cluster was part of the original specs, but now we have a real world client demanding this... :(
Thanks!

You will need to have a single SSL Certificate for both servers then set up a load balancer,
either using DNS round robin or with a hardware/software LB.
If you need to keep both web services available - you can set up virtual hosts with the appropriate certificates.
FYI - the Certificates are tied to the calling web Url "http://www.xxx.yyy" and not the host ID. so you can used the same certificate on any number of hosts.
There are tools available to keep the htdocs in sync such as rdiff-backup

Similar Messages

  • Kernel panic with Apache2, NCA and Solaris 10 x86

    Hi,
    I'm trying to configure Apache2 on Solaris 10 with Network Cache Accelerator.
    All the config in /etc/nca is in place.
    pargs -e <process id> shows the LD_PRELOAD for ncad_addr.so
    pldd <process id> whos ncad_addr.so.1 as loaded
    BUT
    pfiles <process id> still shows AF_INET for the interface instead of AF_NCA
    AND
    the /var/nca/log doesn't grow when the page is accessed
    AND
    after a couple of accesses the machine panics and reboots.
    Any suggestion what to look at next (beside the obvious?)
    Thanks,
    R.

    Usually third party software is to blame for Kernal Panics.
    Try removing com.sophos.kext.sav 9.2.0 / com.sophos.nke.swi 9.2.0, (all Sophos kernel extensions) and then restart your MacBook.
    If you're having difficulty, try the following:
    Open the Terminal app (Applications > Utilities) then triple click the following line, copy and paste the following after the "$ " prompt:
    cd /Library/Application\ Support/Sophos/he/Installer.app/Contents/MacOS/
    and hit return.
    when the "$ " prompt returns, triple click copy and paste the following:
    sudo ./InstallationDeployer --remove
    ...and hit return, then enter your admin password when prompted (you will not see any typing) and hit return once more.  You will see a bunch of commands fly by and when the "$ " prompt returns it should be gone.
    Personally, I am not a fan of Chrome. Issues with the browser certainty aren't uncommon. You should check out the following article on how Google's Chrome Web Browser Is Killing Your Laptop Battery.
    Good luck!

  • Build for solaris 8 on solaris 10 - possible?

    I want to build/compile an application for solaris 8, but I only have access to a machine running solaris 10. Can I compile for solaris 8 on a solaris 10 machine, and if so, what do I have to do to make it work?

    The short answer is generally no.
    The long answer is that it can be done but you will need to make sure that on the Solaris 10 machine you only use functions/headers/libraries that are available on Solaris 8 otherwise they will not be found and the software won't work.
    alan

  • Solar power - possible, or waste of time?

    I've got a 13" Macbook Pro and every so often when out and about I run out of charge after a couple of hours when I can't connect to the mains (I use a lot when importing photographs and editing whist on site).  Does anyone know if the various solar power devices are any good, and if so can you recommend a good one for me to get (ideally one I can carry with me in a pack and doesn't take up a lot of room - I know I don't want much!), or any other ideas on how to get more power when needed??
    Many thanks

    Small portable solar arrays tend to have pretty low output. The backpacks linked above put out 4 watts — less than a sixth of what your MBP's AC adapter delivers to a shut-down, no-peripherals-connected MBP whose battery is fully or almost fully discharged. So you could charge your battery with one, but it might take all of a long, sunny day, or even longer. Those backpacks are designed to charge cell phones, not notebook computers.
    A better solution for your purposes would probably be an external battery pack or two:
    http://www.google.com/search?client=safari&rls=en&q=MagSafe+external+battery+pac k&ie=UTF-8&oe=UTF-8

  • Mixed linux-solaris-array possible?

    Hello,
    we want to swap our server from solaris to Linux. Now I try to build an array with primary centos and secondary solaris server for testing. If I use the centos for primary if get the "Can't contact the server" errormessage. If I use the solaris for primary my admin username was not accepted.
    Any idea?

    Centos is not a supported OS (even though it's based on RH).
    You can have mixed OSes in an array as long all the servers are the same version of SGD.
    Are you using DNS and fqdn for you servers? what does
    $ tarantella status --verbose
    show for each?

  • Storedge 3510 failover configuration with 1 host

    I people.
    I'm new to the storedge configuration.
    I have a Sun storedge 3510 - 2 controllers with 2 x host port fc and 1x drive port each.
    I want to do a simple configuration - connect 1 host to the storedge with failover.
    It's correct to connect the 2 controllers using the drive port - because i want failover?
    It's possible to use only 1 pci single FC adapter in the machine?
    I will connect the machine with the storedge usinge 1 fibre cable,
    I will use the host port FC1. And to do the failover I will connect the 2 controllers
    using the drive port fc3 e fc2. - THIS IS CORRECT?
    My problem is who to connect the cables and who to configure the storedge. I'm
    already connected to the COM Port.
    Another thing i have in the first controller amber light - this is a hardware problem?
    And wath is the best configuration to use with 3510 storedge, one host, and failover?
    Thank you. I need this help for now.. Please.

    Isn't it wonderful when people respond?
    I, too, am running into the same scenario. We have a single 3510FC that is connected to a single host through two controller cards. The drives are configured as a single logical drive under RAID-5. We want to have this configuration multi-pathed for redundancy, not throughput, even though controller cards NEVER fail. [sarcasm] We will be using Veritas VxVM DMP for redundancy.
    Unfortunately, I can only ever see the logical drive/LUN on one controller. The main connection is channel 0 of the primary controller. Whenever I try to configure it to simultaneously be on channel 5 of the secondary controller, the 3510 won't let me do it. I can't figure out how to get the LUN to be assigned to two host channels when one is on the primary controller and one is on the secondary controller.
    I find this to be absurd. Controllers fail. That's all that there is to it. Yet the design of the 3510 (and the 3310 as well) seem to fight like hell whenever you want to spread the logical drives across physical controllers.
    What's the solution to this one, guys?

  • Oracle post failover transaction commit error

    I have a problem on trasaction after database failover.
    Solaris 8, WLS 6.1 sp3, Oracle 8.1.7 (2 Oracle instances, one is primary and
    another is standby), JDK 1.3.1
    We found this problem in Oracle (Net 8 connection time) failover test.
    Here is what we did.
    During the load, we shut down the primary Oracle server (box).
    All in-flight transactions were wrong, this is ok.
    When new requests came in, WebLogic begin to refresh the connections.
    Because the primary Oracle server was down, it took about 70 seconds to
    refresh a connection (due to the socket timeout value) and redirect to the
    standby Oracle. This is fine.
    After a while, all connections were refreshed and all connected to the
    standby serever.
    When I opened WebLogic console to monitor the in-flight transaction, I found
    some transactions are doing committing and never finished.
    At this time most of the transaction can go through but few of them through
    an exception (attached at the end). This error could never gone although the
    frequency was not high. The strange thing is I checked the database, the
    data was committed.
    I've tried Oracle OCI driver and thin driver, both had this problem. Is
    there anyone can help me on that?
    Thanks,
    Wenji
    <Jan 28, 2003 1:49:57 PM EST> <Error> <EJB> <Exception during commit of
    transaction Name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    nBean.processDataPacket(com.bankframe.bo.DataPacket)],Xid=28502:685f84a9ba5b
    1ed8(192232),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,sec
    onds since begin=122,seconds
    left=60,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=ended,assign
    ed=prod-srv2),SCInfo[prod+prod-srv2]=(state=pre-prepared),properties=({weblo
    gic.transaction.name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    nBean.processDataPacket(com.bankframe.bo.DataPacket)],
    weblogic.jdbc=t3://10.161.46.31:7101}),OwnerTransactionManager=ServerTM[Serv
    erCoordinatorDescriptor=(CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+, R
    esources={})],CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+):
    javax.transaction.SystemException: Timeout during commit processing
    at
    weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
    nsactionImpl.java:243)
    at
    weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
    Impl.java:189)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
    at

    Wenji Tong wrote:
    Thanks, Joe!
    Things could be more complicate. I did some tests to find the details of the
    problem. Here are the results.Hi,
    This is developing into a bigger problem than I can solve informally in newsgroups,
    so I suggest that you open an official support case with this information.
    Joe
    >
    >
    1. I've done a test. In this test, I shut down the Oracle and also stop the
    load. After all threads and connection returned to the pool and all
    transactions done (roll back or abandoned), I started load again. I still
    could find this error. That means this error is not related to any in-flight
    transactions.
    2. After all connectioin failed over, this error was still not gone. The
    frequency was not high, but it was always there.
    3. In WebLogic console, monitor in-flight transaction, I saw some
    transactions were doing committing, but never finished if there was no load.
    When I saw an error printed in log, one of the committing transaction gone
    but there came out another transaction doing the commit and can't be
    finished. I'm not sure if it was related to WebLogic console's bug.
    4. Increase the transaction timeout can fix this problem. Unfortunately, we
    can't increase the transaction timeout anymore due to our business
    requirements.
    I hope those information will be helpful.
    Thanks,
    Wenji
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    Wenji Tong wrote:
    I have a problem on trasaction after database failover.
    Solaris 8, WLS 6.1 sp3, Oracle 8.1.7 (2 Oracle instances, one is primary
    and
    another is standby), JDK 1.3.1
    We found this problem in Oracle (Net 8 connection time) failover test.
    Here is what we did.
    During the load, we shut down the primary Oracle server (box).
    All in-flight transactions were wrong, this is ok.
    When new requests came in, WebLogic begin to refresh the connections.
    Because the primary Oracle server was down, it took about 70 seconds to
    refresh a connection (due to the socket timeout value) and redirect tothe
    standby Oracle. This is fine.
    After a while, all connections were refreshed and all connected to the
    standby serever.
    When I opened WebLogic console to monitor the in-flight transaction, Ifound
    some transactions are doing committing and never finished.
    At this time most of the transaction can go through but few of themthrough
    an exception (attached at the end). This error could never gone althoughthe
    frequency was not high. The strange thing is I checked the database, the
    data was committed.
    I've tried Oracle OCI driver and thin driver, both had this problem. Is
    there anyone can help me on that?
    Thanks,
    WenjiHi. It seems that Oracle failover is not perfect. Our transactioncoordinator
    is supposed to have control of the transaction. If a failover occurs while
    a transaction is pending, the coordinator should still have the ability toroll
    back the tx. Apparently there are cases where the failover causes an open
    transaction to be committed, in such a way that even if the coordinatorhas
    decided to roll it back, it can't. These may be when the failover occurswhile
    we are waiting for the commit call to return. We either get an exceptionor
    we get no return from the commit() call so we try to roll back and fail.The
    actual commit succeeded, but we never knew.
    Joe
    <Jan 28, 2003 1:49:57 PM EST> <Error> <EJB> <Exception during commit of
    transaction Name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    >nBean.processDataPacket(com.bankframe.bo.DataPacket)],Xid=28502:685f84a9ba5b
    >1ed8(192232),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,sec
    onds since begin=122,seconds
    left=60,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=ended,assign
    >ed=prod-srv2),SCInfo[prod+prod-srv2]=(state=pre-prepared),properties=({weblo
    gic.transaction.name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    nBean.processDataPacket(com.bankframe.bo.DataPacket)],
    weblogic.jdbc=t3://10.161.46.31:7101}),OwnerTransactionManager=ServerTM[Serv
    >erCoordinatorDescriptor=(CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+, R
    esources={})],CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+):
    javax.transaction.SystemException: Timeout during commit processing
    at
    weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
    nsactionImpl.java:243)
    at
    weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
    Impl.java:189)
    atweblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
    at

  • Modernizing Solaris 6 to 8 maybe 10

    Hi
    We have a very old Sun Enterprise E5500 running Solaris 5.6. This server serves up Oracle 7.3.4.0.1 with distributed parallel query and Spartial options PL/SQL Release 2.3.4.0.0 and Cobol and is used for distribution services.
    I'm looking for options to modernize this environment and are asking for any input from Oracle Support or user forums for any reasonable suggetions.
    Some options that I was thinking are building a branded zone on our M3000 running Solaris 10 update 10 but I don't think Solaris 6 can be branded like Solaris 8 or 9. Furthermore Solaris 6 is a 32 bit OS I believe and so would be the applications.
    Second, I am wondering if I can simply shutdown the databases, backup and restore to a fresh non-global Solaris 10 zone and tweak user accounts and add printers and test if ths would work.
    Lastly, I am considering upgrading the base OS up to Solaris 8 but I do not know if this is possible either.
    Can  anyone advise if there would be any other venues that I can approach in modernizing our environment?
    Please advise
    Jeff

    Upgrading to a more up-to-date version of Solaris is possible. Your machine supports Solaris till the version 10.
    Using a brand zone (Solaris 8 or 10 only) is possible but the problem is the same as to migrate to Solaris 10 directly : is your software environment able to run with a different version of Solaris and/or with a more recent version of the applications ? This is the main problem. Moving the database is not the only point to check, you should also do the same with the codes you used in your database and scripts. This is more complex that just to do a export and import operation.
    You should also check if the target software and OS are still supported/available and for how many time.
    I suggest you to check with the application forums first if this is possible. You can then check at least the OS side.

  • Configuration snmp Solaris 9 and 10

    I installed netsnmp in Solaris 9 x86, the configuration archive is very
    vacant has few commentaries and almost no configuration, alguem can
    give one to me help of as to use the command snmpwalk in the Solaris?
    Another doubt is if I can substitute the archive of configuration of
    the net-SNMP of the solaris for one of linux? the net-SNMP in linux
    allows to use an addressing of arvore MIB pra execution of scripts, in
    the solaris is possible?

    In snmpd.conf file add these entries.
    rocommunity public
    syslocation "System administrators office"
    syscontact "System administrator"
    sysservices 72
    And then start snmpd .Then to do a snmpwalk juz use
    ~#snmpwalk -c public -v 1 localhost
    Assuming that you have compile and configure with SNMP v1 support

  • Load Balancing and Failover with 10G Standard Edition

    Hi,
    I am new to Oracle Replication and need some help setting up replication for load balancing and failover. Is this possible using Oracle 10G Standard Edition? I plan on having all updates done on the master site and both databases will be for reads. In case of failure of the master site, I would need to be able to failover to the other database.
    Also, if anyone knows of any documention for Basic Replication in 10G, please let me know.
    Thanks.

    Simple nnapshot replication of data would require significant manual effort to configure to load balance or failover. One the load balancing side, you would generally be limited to to static load balancing-- assigning half the users to one machine and the other half of the users to the other machine, regardless of who is actively using the machine. Failover would be a significant manual effort, particularly to bring the failed machine back into the cluster. You would be implementing the guts of multi-master replication.
    Frankly, if you actually have a system which is valuable enough to need load balancing and disaster recovery, I'm going to wager that it will be far cheaper even in the short run to buy more boxes and/or enterprise edition licenses than to try to implement this sort of thing yourself. In the long run, it will be far cheaper, since it will be far easier to maintain. Building all this yourself would probably be penny wise and pound foolish.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How do you install the NT domain connector onto the Directory Server Integrated Edition 5.0 for Solaris?

    The NT installation lists the NT Domain connector as an option. The Solaris version doesn't. I spoke briefly with a project manager at Sun who said putting an NT Domain connector onto a Directory Server on Solaris was possible, but I'm not sure how.

    You'll have to install the NT connector on an NT machine. The Join Engine that joins this connector can reside on Solaris.

  • ASA active/active failover back to back

    Hi,
          for HA  I want to connect 4 ASA's in active/active failover with each ASA having two contexts.
    The reason I need this is to separate two domains. Each domain has the ASA pair in active/active failover.
    Is this possible and what would you need to do it  ie a switch or two in between ?
    I know you need switches or vlans to do the LAN side as the failover context needs to be in the same network. So I'm assuming you would need to do something similar between the 4 ASA's ???
    Would you put 2 switches trunked together carrying two vlans, one for each context ?
              -| CTX1 |-          ?         -| CTX1 |-
              -| CTX2 |-          ?         -| CTX2 |-
                   |  |                                |  |
              -| CTX1 |-          ?         -| CTX1 |-
              -| CTX2 |-          ?         -| CTX2 |-
    Thanks in advance.

    Your latest attachment is pretty close to what I was thinking.
    I would add a second interface on each ASA to the switches.
    So (considering the "Inside" interfaces of ASA1 for example) it would have one physical interface allocated to context 1 and connected to a port in VLAN2 and a second physical interface allocated to context 2 and connected to a port in VLAN 3.
    An alternative would be to stick with a single physical interface and allocate subinterfaces (on a trunk) to each context.
    You could further add redundancy by creating Etherchannels (with either the physical or logical interface approach).

  • OID Failover

    Can you have failover in LDAP.ORA with 2 OIDs on separate servers. I have the following entry in my LDAP.ORA:
    DIRECTORY_SERVERS= (bngweb:389:636, gpenk2:389:636)
    and SQLNET.ORA has this:
    NAMES.DIRECTORY_PATH= (LDAP)
    We were hoping to avoid using TNSNAMES.ORA. However, I find that if the first OID server is not up (bngweb), then a client gets no connection. No failover to gpenk2. If I add a TNSNAMES as the second option in SQLNET.ORA it will failover.
    Is it possible to get failover just by using 2 separate OID servers? I know there are hardware options and Adv. Repl. but I was hoping to keep it simpler and avoid a TNSNAMES.ORA.
    null

    http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14084/deploy.htm#sthref97
    Replication is more HA than failover. I'd go for:
    1) RAC
    2) Replication with cold failover
    3) Replication
    4) cold failover
    In that order

  • [SOLVED]: Install OracleSolaris 11 on the DELL laptop

    Hi, ALL,
    I don't know if this question belongs here, but here goes...
    I downloaded an Oracle Solaris 11 image and trying to install the system on my DELL Inspiron laptop.
    The machine boots up but in the console mode. I can communicate with the installer up to the point where it shows text GUI screen and says:
    Welcome To Oracle Solaris
    Thanks for choosing to install Oracle Solaris!
    At the point keyboard is dead. I can't press F2, I can't press ESC. I can't communicate with the installer thru the keyboard.
    Now, I'm assuming that since I didn't boot to the GUI installer, the installer does not support the video card I have in the laptop as explained in the installer documentation.
    And so I have 2 questions:
    1. Is my assumption correct? If yes, what are the chances that this install will boot the GUI/GNOME after the install? I successfully installed Linux on this machine...
    2. How do I work around the keyboard issue?
    Thank you for any pointer you guys can give.

    Hi, Pascal,
    My disk has GPT label and my partitions was made with "parted".
    Can fdisk/format understand this kind of scheme?
    Now, when in parted I typed "help mkpart", I did see the "solaris" as possible "fs-type". So could you tell more of what is not supported? Or maybe it is only in mkpartfs?
    [EDIT]
    Here is my partitioning scheme for reference:
    Partition table: GPT
    Number - 1, Start - 1MiB,     End - 3MiB,       Size - 2MiB,             File System - ,                    Name - grub, Flags - bios_grub
    Number - 2, Start - 3MiB,     End - 131MiB,     Size - 128MiB,        File System - ext2,              Name - boot, Flags -
    Number - 3, Start - 131MiB,  End - 2000MiB,    Size - 1869MiB,     File System - linux-swap(v1), Name - swap, Flags -
    Number - 4, Start - 2000MiB, End - 250000MiB, Size - 248000MiB, File System - ext4,              Name - rootfs, Flags -
    All partitions are primary ones.
    [/EDIT]
    [EDIT2]
    I just tried to run "format -> fdisk". It looks like fdisk does not understand GPT partition scheme. Any other idea?
    [/EDIT2]
    [EDIT3]
    The first hit on Google for "oracle solaris install gpt" gives Partitioning Your System - Installing Oracle Solaris 11.1 Systems. According to section "
    Guidelines for Partitioning a System During an Interactive Installation", "existing GPT partitions or DOS partitions are retained by default and displayed by the installer" but it simply not true.
    When I double click the installer, and go to step 2, all I see is one disk marked as "EFI Header Indicator". There is no partitions on that screen. And the text says: either use the whole disk or partition the disk.
    [/EDIT3]
    Thank you.

  • Reporting who could access a system

    Hi
    I need to be able to generate a report on which users could have accessed a given system in a given timeframe (ie. the last 2 weeks), I have been through the menus and I can't seem to find any report-type that fits this requirement.
    Is it possible to do this, if so, which direction should I proceed? I'd imagine that it is a combination of running the reconcile on regular intervals and logging the accountIds that is returned, and afterwards generate a audit report with the desired info.
    I'm running IDM 7.1 and my resource is Solaris and possibly shell-script adapters (for Linux and FreeBSD).
    Any pointers and help is greatly appreciated.
    Regards
    Thomas

    Alex
    We have load balancing on the ITS servers but last year the number of users who tried to logon was double that of the concurrent number of users for the load balancing.  Is there a way of setting the load balancing to allow no more that the maximum number its load balanced for?
    We have staged pay change notifications according to grade so we don't experience this high load at any other time.
    Thanks
    Diane

Maybe you are looking for

  • GL Account Doucment Currency Balance

    Hi We have GL Account with Account Currency PLN. There is currently no balance for PLN however there is a balance of 117.19 EUR. What is the best way to zero this amount? Thanks

  • Firefox using/changing printer preferences in Windows 7 Pro

    I have a workstation printing to a Kyocera copying machine that is on the network. When she prints from Firefox, it sends the print request to the wrong cassette. I have reset the printer information in about:config. Removed and re-installed the netw

  • Computer or External Music Storage

    I currently and have always used the hard drive in the computer to store and play my music (I have 49 GB worth) The other day someone told me its not smart to do that and I should store my music on an external hard drive as it would free space on the

  • Query about the Cache in browser Netscape

    The Page you are trying to view contains POSTDATA that has expired from cache. If you resend the data, any action the form carried out (such as a search or online purchase) will be repeated. To resend the data, click OK, Otherwise, click Cancel.

  • Why cant my ipod touch 4g play music with headphones?

    my ipod is not playing music when i plug in headphones but it works when i dont have headphones..i need help