Oracle VM and Clustering

Hi All,
Is it possible to set up cluster database using Oracle VM?
Regards,
DBA

Hi,
The VM Guest is currently restricted to be:
* paravirtualized
* OEL 5.1
* 32-bit linux
The OEL 5.1 "PV Large x86" template that is available on [http://www.oracle.com/technology/products/vm/templates.html], should do it for a RAC node. It contains the oracle-validated RPM.
More restrictions/requirements apply for the remaining components; see the white paper for the full list.
The database templates are for single instance only.
A fresh RAC install on a cluster of VMs is more straight foreward.
Cheers
Edited by: mmeijn on Oct 7, 2008 4:35 PM

Similar Messages

  • Oracle Clusterware and Oracle Real Application Clusters Install Guide

    I've downloaded the latest "Oracle Database - Oracle Clusterware and Oracle Real Application Clusters Install Guide - 10g Release 2 (10.2) for HP-UX PA-RISC" (part no. B14202-01) dated August 2005 from OTN. I'm getting the following error when opening the pdf file in Adobe Reader:
    "Cannot extract the embedded font 'PEPPLC+Palatino-Italic'. Some characters may not display or print properly."
    When I print the manual, I get blank pages throughout the document which, in my opinion, should contain text and don't. Specifically pages 1-11, 2-5, 2-19, 2-24, 2-33, 3-5, 3-19 to name a few. When I go to those pages within the pdf file in Adobe Reader, I get the error: "There was a problem reading this document (114)."
    Can you verify this problem on your end. Also, how do I get a good copy of this document?

    Hi!
    Apologies for the delay in responding to you. Please try the documentation library, part B19306-01 at URL: http://www.oracle.com/technology/documentation/database10gR2.html. Search for the part B14202-01 and click: pdf at top right. Part B14202-01 documentation pdf is currently displaying and printing on this end. The blank pages at the end of each main topic are inserted on purpose.
    Another link to part B14202-01, on OTN is under the OEM, Oracle Enterprise Manager 10g Release 2 (10.2): http://www.oracle.com/pls/db102/portal.portal_db?selected=21
    Thank you for your comments and feedbacks. Its much appreciated.
    Main OTN, documentation URL: http://www.oracle.com/technology/documentation/index.html
    Regards,
    Chao

  • Oracle 9i and RAC

    The client will be using Oracle9i as their database (which has Real Application Clustering), and also Oracle9iAS as their application servers. Their architecture is 3-tier, and development will be done on the J2EE platform. They are using Oracle's JDeveloper for development.
    One of the potential risks that we found is that the client is planning to place most of the business logic (they define it roughly as "anything that requires data manipulation on the database") on the database servers. These will be programmed in PL/SQL. This was advised by Oracle consultants, saying that PL/SQL on the database server will perform better than Java entity beans deployed on the application server. Only very little business logic will be programmed as Java beans on the application servers. The client feels that logically this is still 3-tier and Oracle's Real Application Clustering will ensure scalability of the database servers.
    Looking at this approach, we feel this is not very much 3-tier anymore, because the business logic is tightly coupled with the database. We foresee that there will be issues with independence of business logic and database access layers, flexibility, portability, modularity, maintainability and scalability.
    What we would like to find out is:
    - We'd like to hear your opinions on this approach of placing business logic on the database and using PL/SQL to code it.
    - What are the risks of using this approach?
    - What are the alternatives (entity beans? session beans? Java Data Objects?)
    - How proven is Oracle Real Application Clustering and how much will it help client in this situation?

    The client will be using Oracle9i as their database (which has Real Application Clustering), and also Oracle9iAS as their application servers. Their architecture is 3-tier, and development will be done on the J2EE platform. They are using Oracle's JDeveloper for development.
    One of the potential risks that we found is that the client is planning to place most of the business logic (they define it roughly as "anything that requires data manipulation on the database") on the database servers. These will be programmed in PL/SQL. This was advised by Oracle consultants, saying that PL/SQL on the database server will perform better than Java entity beans deployed on the application server. Only very little business logic will be programmed as Java beans on the application servers. The client feels that logically this is still 3-tier and Oracle's Real Application Clustering will ensure scalability of the database servers.
    Looking at this approach, we feel this is not very much 3-tier anymore, because the business logic is tightly coupled with the database. We foresee that there will be issues with independence of business logic and database access layers, flexibility, portability, modularity, maintainability and scalability.
    What we would like to find out is:
    - We'd like to hear your opinions on this approach of placing business logic on the database and using PL/SQL to code it.
    - What are the risks of using this approach?
    - What are the alternatives (entity beans? session beans? Java Data Objects?)
    - How proven is Oracle Real Application Clustering and how much will it help client in this situation? Oracle consultants are paid to promote the product so the recommendation is not surprising.
    if the app needs to be a 3-tier then it makes sense to put the business logic in app server. the advantage here is
    you can clone the app server to scale for users/sessions (plus the scalability from the oracle RAC) that is a double whammy.
    eventhough pl/sql is advantageous in terms of performance, it constrains you to oracle.
    if the business logic is database independent. so you can switch to any other database.
    the other alternative is writing the java code and publishing it as pl/sql procedures in the database. this is the middle path
    approach, if you want to port the app to another database vendor, you can do with minimal effort (compared to rewriting the pl/sql).
    the predomoinant factor in a web app is how are you going to manage persistance of a user session.
    container managed persistence or database managed persistence, the choice of the level of sophistication at the web app level determines which way you
    want to go. to give persistence feature you might have to put the logic in beans and put the beans in app server.
    why do they need RAC for scalability?? they could create multiple clones of app server and have them work load managed , i guess that would be far cheaper than having to spend money on RAC hardware/software.
    if 99.99% availibility is the concern then RAC makes business sense...
    a few thoughts, which i hope you will find useful.
    Mukundan.

  • Rebuild Oracle 11g R1 clustered DB

    I have oracle 11g R1 clustered(two nodes) on Linux boxes, with ASM. Now the cluster is down due to lost connection to SAN. We might not be able to restore the SAN the way as it was, meaning we lost all datafiles(diskgroup). I can not start cluster, asm and DB.
    We have backup(rman and export) from production. I'm trying to find the best way to rebuild this clustered database.
    Thank you for your help!
    Hanping

    I have oracle 11g R1 clustered(two nodes) on Linux boxes, with ASM. Now the cluster is down due to lost connection to SAN. We might not be able to restore the SAN the way as it was, meaning we lost all datafiles(diskgroup). I can not start cluster, asm and DB.Where the backup is exist? is it also in disk groups or local file system?
    We have backup(rman and export) from production. I'm trying to find the best way to rebuild this clustered database.After setting up everything like, creating disk groups, You can go with two options. However you have backup of RMAN & EXPORT
    1) export/import
    You can create a RAC database using DBCA and then import the dumpfile.
    2) RMAN.
    You can restore the database on one node, later you can covnert this database as RAC

  • What is Oracle ACFS and ADVM

    Hi, I am trying to get my head around exactly what Oracle ACFS and ADVM are in relation to ASM ( the Oracle manuals are less than clear ! )
    Q1. To my mind, ACFS extends the ability of ASM to manage and present file systems which are not simply provided from a single server but where a file system itself could be distributed over a cluster of servers - is that correct ?
    Q2. ADVM on the otherhand is stumping me a bit. I know that ACFS sits on top of ADVM but I am trying to workout what ADVM gives you above the usual volume management capability of ASM in the first place ?
    Q3. What is ASMLib for ?
    Q4. I believe oracleasm is the command line interface to ASMLib - is that correct ?
    any help would be warmly appreciated,
    Jim

    In regards to OCFS and ACFS. I understand that they are different Cluster File systems, both developed by Oracle but with OCFS being the older open source, general purpose Cluster File System and ACFS being the licensed one they have developed in 11gR2 for GRid Infrastructure / ASM to use.
    OCFS and ACFS are separate products by different teams for different purposes. One should not compare the two as they have different pros and cons.
    Q1. Is ACFS, Oracle's default for Grid Infrastructure ( ASM + Clusterware ) from 11.2 onwards ? The image you previously referred to would appear to show this ( or does the box showing the use of a 3rd party file system include OCFS as a possibility ? )
    I believe that it shows that ASM is modular with defined call interfaces allowing 3rd party integration - and that this has no bearing to OCFS specifically.
    Q2. The same image appears to show RAC only using ACFS. Again is this the default from 11.2 onwards ?
    ACFS is recommended when using ASM and a cluster file system is needed. You do not need any additional moving parts to have a clustered file system. But this does not mean that other cluster file systems are not supported.
    Q3. Prior to 11.2 what did RAC use as it clustered file system ? Was it OCFS or were there a number of options ?
    In the days of OPS (Oracle Parallel Server), a cluster was build on raw devices (seen by all nodes), with the o/s providing a DLM (Distributed Lock Manager) to allow concurrent access by different processes on different servers to the same disks.
    This was very clunky and had minimal management tools. I recall requesting a DBA to add another scsi disk to a tablespace and he accidentally entered the disk size to add as 2MB instead of 2GB. The disk was toast as we had no means to reclaim the rest of the storage, and removing the disk from the tablespace was not possible. OPS also had other issues like a TCP Interconnect and so on.
    When RAC was introduced, Oracle addressed a lot of the OPS cons. Like requiring a 3rd party DLM. Like having the DBA directly dealing with raw scsi devices. Like using TCP for the Interconnect. Etc.
    ASM was introduced to do the storage management for the database stack. Oracle RAC has an underlying component called the cluster (CRS) stack - and this specifically needs cluster storage for the OCR and Voting files (no db storage). As ASM was part of the db stack, you had to use something else for the CRS stack's storage. That something else being OCFS for example, or a raw scsi devices, etc.
    With 11gr2 Oracle extended ASM to support the CRS stack and provide for storage for the CRS. Which is why one now installs ASM with CRS (and it runs as the o/s grid user), and not with the db s/w (running as the oracle user). As part of the feature set of providing CRS storage, cluster file system storage is also provided (for example, to install the db stack in a single shared cluster Oracle home).
    ASM's new features simply continued the trend of reducing CRS/RAC dependency on 3rd party components - even if said 3rd party (external) component happens to be from a different division from the same company and called OCFS.
    By the same token, the entire CRS/RAC s/w stack has been further modularised, allowing you to integrate your own stuff with it. You can for example use CRS to run a series of Apache web servers as a cluster, with load balancing, redundancy and failover. Or if you feel the need, build your own cluster file system driver for ASM.

  • Oracle Real Application Clusters

    hi all
    i am using oracle database 11g Release2 and Oracle Linux enterprise edition.
    can anyone guide me why we need to use Oracle Real Application Clusters and plz
    guide me how to install or configure all these?
    and someone told me we needed 10Gb Gigabyte Ethernet.
    how to go for 10GB by using LoopBack?
    i am using vertualbox and i checked the loopback is only 1GB so how to go for 10GB
    i posted my thread here
    Oracle Real Application Clusters
    but someone suggested me to for this forum so i posted here.
    so if i am wrong plz forgive me.

    nisha wrote:
    hi all
    i am using oracle database 11g Release2 and Oracle Linux enterprise edition.
    can anyone guide me why we need to use Oracle Real Application Clusters and plz
    guide me how to install or configure all these?
    and someone told me we needed 10Gb Gigabyte Ethernet.
    how to go for 10GB by using LoopBack?
    i am using vertualbox and i checked the loopback is only 1GB so how to go for 10GB
    i posted my thread here
    Oracle Real Application Clusters
    but someone suggested me to for this forum so i posted here.
    so if i am wrong plz forgive me.You can check the following link to learn why RAC is used:
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/admcon.htm#i1058057
    Moreover, I've a step by step RAC installation guide on vmware, but it's for 10gR2. However, you can check it and have a basic knowledge of the main steps
    http://kamranagayev.wordpress.com/2011/04/05/step-by-step-installing-oracle-10g-rac-on-vmware/

  • Converting to Oracle Real Application Clusters from Single-Instance Oracle

    Is there any notes at metalink for
    Converting to Oracle Real Application Clusters from Single-Instance Oracle Databases
    We should have 10g DB on ASM to make it RAC?

    With Oracle Database 10g Release 2, $ORACLE_HOME/bin/rconfig tool can be used to convert Single instance database to RAC. This tool takes in a xml input file and convert the Single Instance database whose information is provided in the xml. You can run this tool in "verify only" mode prior to performing actual conversion. This is documented in the RAC admin book and a sample xml can be found $ORACLE_HOME/assistants/rconfig/sampleXMLs/ConvertToRAC.xml. Grid Control 10g Release 2 provides a easy to use wizard to perform this function.

  • Oracle Versions and RAC

    We are considering running Oracle 10g and 11g RAC on the same cluster.. wondering if anyone has tried it before ? If yes, any recommendations ?
    Thanks,
    G

    user10255282 wrote:
    Cost is the big factor. We have certain environments that have no intention of moving to 11.. but some do. Cost moves around. This is simply trading one kind of cost for another. Especially if all environments are covered by an Oracle Support contract. Then the cost is not Oracle related.
    But that ultimately is a PHB decision.
    Instead of buying dedicated RAC clusters for the offending ones.. its a thought to run 2 versions on the same servers... ofcourse with the higher CRS.However, yes you can run run a mix ... as Dan says, not necessarily recommended. MUST use highest available CRS and be very careful that the CRS supports all version of the DB.
    (And plan on having your interconnect flooded.)
    I highly recommend testing the bejazis out of it to verify your shop can indeed handle the configuration.

  • CAC or smart card use with Oracle database and web server

    I've been asked to smart card (CAC) enable our Oracle web server and database access. We currently use CAC to access many of our other applications.
    Where can I find the following information
    Oracle software required (and is it an additional cost)
    How to integrate Oracle App server (web server) with CAC.
    How would I need to change the database users accounts to be CAC enabled rather than database users accounts.
    Thanks
    steven jackson
    [email protected]
    614-692-9768

    Virtualisation is not certified for Oracle RAC on Windows.
    +Certified Software on Oracle VM [ID 464754.1]+ note states:
    Oracle Real Application Clusters (RAC)
        Oracle 10.2.0.4 and up (10gR2) and 11.1.0.7 and up (11gR1) and 11gR2 RAC for Linux x86 and Linux x86_64 certified on Oracle VM
            Guest OS: Oracle Linux 5.1 (and above) RHEL 5.1 (and above) for Linux x86 / Linux x86_64
            Paravirtualized (PV) mode only (Guest OS and drivers)
            Only supported on Oracle VM 2.1.2 and above
            Live-migration of an Oracle RAC VM is supported with Oracle VM 2.2.1 and above.
            Previous versions are not supported. Please refer to this link for best practices.
            Over-committing CPUs is not recommended, but supported with the following restrictions:
                The total amount of VCPUs allocated to guest domains (running Oracle RAC guests), should not exceed
                two times (2x) the amount of real CPUs / cores in the Oracle VM server.
                The amount of VCPUs allocated to a single guest domain should not exceed the amount of real CPUs /
                cores in the Oracle VM server.
                Maintain Oracle VMs default VCPU allocation for dom-0: Oracle VM will allocate 1 VCPU for each real CPU or core to dom-0.
                CPU pinning is only recommended for hard partitioning. If no hard partitioning is required, CPU pinning should not be used.
            Static support only (dynamic support is being planned):
                Dynamic resizing of guest virtual machine is not supported (VCPU, memory and I/O)
                Virtual Machine Pause/Restore of an active Real Application Cluster virtual machine is not supported.

  • Rac and clustering setup

    Hi all,
    I want to know abt RAC and clustering.Can any one describe me abt these two things.
    I got two instances running in 2 AIX machines of size 25 gb each. im zero in this. can any one help me regarding this
    first of all i do no what is RAC and Clustering
    Regards
    Elamaran

    2 instances (or more) will indeed be reading and writing to the same database files. When one instance fails, the other one takes over. Therefore availability is ensured.
    look here fore info on RAC:
    http://download-uk.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm

  • Toplink cache and clustering and load balancer

    Hi All:
    I have an application deployed on AIX platform. This is developed using struts, toplink and session ejbs.
    Oracle 10g is installed on two AIX machines and these are in cluster. My j2ee application is deployed on oracle 10g app server.
    I will be having loadbalancer in the front of this cluster. Even now with out loadbalancer , with oracle app server clustering I am observing the request sharing between two servers.
    My problem is that as I am using the toplink and it uses the cache, what will be the impact on my application on below scenerios.
    1. user A connects to machine 1 and reads object using toplink. At the same time user B connects to machine 2 and also reads the same object. User A will update the same object and commit it. User B will use this object and will put this as a child of some parent object and commit the parent.
    I mean to say that due to different two machines, cache will not be in sync and this may cause a major problem.
    Please provide your input to this.
    Thanks,
    Viral

    Viral,
    This is what ORM and more specifically TopLink help you solve.
    What you need to do is configure TopLink to use your appropriate locking mechanisms. I recommend optimistic but in some cases pessimistic locking is appropriate too.
    Optimistic locking will detect if the second machine attempts to modify an object that has already changed on the database. There is also support to force the UnitOfWork to verify that the optimistic locking field(s) have not changed when using the concurrent object in another relationship.
    UnitOfWork.forceUpdateToVersionField(Object, boolean)
    http://download-west.oracle.com/docs/cd/B14099_04/web.1012/b10491/oracle/toplink/sessions/UnitOfWork.html#forceUpdateToVersionField(java.lang.Object,%20boolean)
    This method will allow you to detect if the instance you are about to use has been modified by another transaction with or without updating its version field.
    Cache sync (coordination) is intended to minimize stale cache conditions but locking is the only way to guarantee it is handled at the database level.
    Doug

  • Oracle Coherence and OSB caching

    Hi Guys,
    I have a few queries regarding Oracle Coherence.
    1. Is OSB business Service Caching internally uses Oracle Coherence.
    2. If answer to above question is YES, then can I install Weblogic without Oracle Coherence.
    3. Again if answer to above question is YES, will OSB caching work without Oracle Coherence and if yes, then How?
    4. Can we create clustered weblogic domain without oracle coherence.
    Regards

    Thanks Durga/Abhinav,
    The links clarify a lot.
    Now what i need to know more is that when i installed Weblogic server (default configuration) and created a OSB server as managed server in wls domain. I could use the OSB caching in business services without any issue. However, there is no coherence server under "Coherence Server" in weblogic console. How the caching is working in OSB when i havn't configured any coherence server on weblogic?
    Regards

  • Oracle, Null and empty Strings

    Currently I'm facing problems with a class, which contains a String, which
    is set to "" (empty String).
    When the class is persistent, oracle writes null to the table column
    (which seems to be common oracle behaviour) and when retrieving the class,
    the field is set to null as well, giving me a lot of null-pointer
    exceptions.
    Anyway ... I can cope with that (just a lot of extra work)
    far worse is the problem, wenn searching objects, that have this field set
    to "" oder null.
    Oracle can't find the records because JDO creates Querys "where
    string=null" or "where string=''" , where oracle expects "where string is
    null" to find the records.
    Is there a workaround or solution ?

    Yeah, that would work as well, thx, but since I have to cope with
    null-Strings now everywhere in my program, it doesn't hurt just to forbid
    empty strings on the program side.
    In future times I'll test on Oracle first, then porting to DB/2 - this way
    I suppose work is far less to garant compability.
    Nevertheless ... having to set the bankcode into quotes is a kodo bug in
    my opinion.
    Kodo knows the type of classfields (in this case string) and shouldn't
    send the parameter as a BigDecimal to the database.
    Given that, and having only bankcodes of null (only neccesary when using
    Oracle), the method would look like:
    public Collection getAccounts (String bankCode)
    throws Exception
    return getAccounts (Account.class, "bankcode=="+bankcode);
    which is how a transparent persistent layer, um, should be , um , I mean
    ... just transparent ;-D
    Marc Prud'hommeaux wrote:
    Stefan-
    Couldn't you just do something like:
    public Collection getAccounts (String bankCode)
    throws Exception
    String filter;
    if (bankCode == null || bankCode.length () == 0)
    filter = "(bankCode == null || bankCode == "")";
    else
    filter = "bankCode == "" + bankCode + """;
    return getAccounts (Account.class, filter);
    If I understand the problem correctly, this should work for all the
    databases.
    In article <[email protected]>, Stefan wrote:
    What operations are you performing to cause this SQL to be issued? You
    say you are having trouble removing objects, but this is clearly not a
    DELETE statement. Is this the SQL that is issued when looking up
    objects by identity?I'm not removing objects, I was removing just quotes from parameters ;-)
    A string column... is it also represented as a string field in your class?Yeah ... just to give you an impression of the code:
    First we have a class, representing a bank account:
    public class Account {
    private AccountMgr myAccountMgr;
    private String bankCode;
    private String id;
    Note, that in nearly all cases bankCode will be a number or null.
    I have a second class "AccountMgr", which does all of the persistant stuff
    (seaching, making persistent etc.)
    This class has two methods, one versatile (protected) to retrieve accounts
    by a given filterString and one who just returns accounts by bankCode,
    building the expected filterstring. Here is my current working version:
    public class AccountMgr {
    public Collection getAccounts(String bankCode) throws Exception {
    if (bankCode!=null) {
    if (bankCode.equals("")) {
    throw new Exception("check code, bankCode='' not allowed to get
    same behavior from DB2 and Oracle");
    // if set, quote the bankCode
    bankCode="""+bankCode+""";
    return getAccounts(Account.class,"bankCode=="+bankCode);
    protected Collection getAccounts(Class accountClass, String filterAdd)
    throws Exception {
    PersistenceManager pm = MyHelper.getPersistenceManager();
    String filter="";
    if (filterAdd!=null && !filterAdd.trim().equals("")) {
    filter+=filterAdd + " && ";
    filter += "myAccountMgr==_accMgr";
    Query query = pm.newQuery(accountClass, filter);
    query.declareParameters("AccountMgr _accMgr");
    return (Collection) query.execute(this);
    As you can see, in the first method I have to set the bankCode into
    quotes, when it's not null.
    This is because otherwise a filter like "bankCode=1234" will be translated
    in a way, where 1234 is send as a BigDecimal to the database:
    [...] executing statement <4239745>: (SELECT [...] FROM JDO_ACCOUNT t0
    WHERE t0.BANKCODE = ? : [reused=1;params={(BigDecimal) 1234}]
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Select query differences between oracle 9 and oracle 8.

    Hi,
    I have a problem using the select query between oracle 7 and oracle 9i I don't have the same result :
    ex:
    With oracle7
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP 'CHAMP
    champ1 champ2
    With Oracle 9
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP1' 'CHAMP2'
    champ1 champ2
    So Can someone tell me how to solve this problem ? Is there a parameter in oracle 9 to set?
    Thanx.

    Whenever you are posting anything over internet forums like this - you should be very careful about not just posting the details which requires to solve the problem - also should be sensible about your question.
    This is not at all desired when you are posting such question. It may be because - you may not well aware of the fact.
    My suggestion is -> First Go through the basics Of SQL in general.
    Then go for any specific product like Oracle/ SQL Server/ Sybase etc.
    And, finally learn the advanced commands of that DB.
    You asked it - may be you thought the difference in output in terms of lines. But, that is not your actual output. That is the graphical display part only.
    Anyway,
    You can get the quite familier output by first type the following command ->
    set lin 310Regards.
    Satyaki De.

  • What is the Diffrence between Oracle 11 and 11i

    What is the Diffrence between Oracle 11 and Oracle11i ?.
    With Rgds
    Arun J.Isaac

    Oracle 11i is internet based and run with java platform where we can see the applets downloading alongwith oracle forms and it refreshes all the jar files in oracle default directory.
    Oracle 11 is not intergrated with Java its an Oracle standalone platform.
    Regards,
    Arumugam S.

Maybe you are looking for