Problem of using OCFS2 as shared storage to install RAC 10g on VMware

Hi, all
I am installing a RAC 10g cluster with two linux nodes on VMware. I created a shared 5G disk for the two nodes as shared storage partition. By using OCFS2 tools, i formatted this shared storage partition and successfully auto mounted it on both nodes.
Before installing, i use the command "runcluvfy.sh stage -pre crsinst -n node1,node2" to determine the installation prerequisites. Everything is ok except an error "Could not find a suitable set of interfaces for VIPs.". By searching the web, i found this error could be safely ignored.
The OCFS2 works well on both nodes, i formatted the shared partition as ocfs2 file system and configure o2bc to auto start ocfs service. I mounted the shared disk on both nodes at /ocfs directory. By adding an entry into both nodes' /etc/fstab, this partition can be auto mounted at system boots. I could access files in shared partition on both nodes.
My problem is that, when installing clusterware, at the stage "Specify Oracle Cluster Registry", I enter "/ocfs/OCRFILE" for Specify OCR Location and "/ocfs/OCRFILE_Mirror" for Specify OCR Mirror Location. But got an error as following:
----- Error Message ----
The location /ocfs/OCRFILE, entered for the Oracle Cluster Registry(OCR) is not shared across all the nodes in the cluster. Specify a shared raw partition or cluster file system that is visible by the same name on all nodes of the cluster.
------ Error Message ---
I don't know why the OUI can't recognize /ocfs as shared partition. On both nodes, using command "mounted.ocfs2 -f", i can get the result:
Device FS Nodes
/dev/sdb1 ocfs2 node1, node2
What's the possible wrong? Any help is appreciated!
Addition information:
1) uname -r
2.6.9-42.0.0.0.1.EL
2) Permission of shared partition
$ls -ld /ocfs/
drwxrwxr-x 6 oracle dba 4096 Aug 3 18:22 /ocfs/

Hello
I am not sure how far this following solution is relevant to your problem (regardless when it was originally posted - may help someone who is reading this thread), here is what I faced and here is how I fixed it:
I was setting up RAC using VMWare. I prepared rac1 [installed OS, configured disks, users, etc] and the made a copy of it as rac2. So far so good. When, as per the guide I was following for RAC configuration, I started OCFS2 configuration, faced the following error on RAC2 when I tried to mount the /dev/adb1:
===================================================
[Root @ *rac2* ~] # mount - t ocfs2 - o datavolume, nointr / dev / sdb1 / ocfs
ocfs2_hb_ctl: OCFS2 DIRECTORY corrupted WHILE reading uuid ocfs2_hb_ctl: OCFS2 DIRECTORY corrupted WHILE reading uuid
mount.ocfs2: Error WHEN attempting TO run / sbin / ocfs2_hb_ctl: "Operation not permitted" mount.ocfs2: Error WHEN attempting TO run / sbin / ocfs2_hb_ctl: "Operation not permitted"
===================================================
After a lot of "googling around", I finally bumped into a page, the kind person who posted the solution said [in my words below and more detailed ]:
o shutdown both rac1 and rac2
o in VMWare, "edit virtual machine settings" for rac1
o remove the disk [make sure you drop the correct one]
o recreate it and select *"allocate all disk space now"* [with same name and in the same directory where it was before]
o start rac1 and login as *"root"* and *"fdisk /dev/sdb"* [or whichever is/was your disk where you r installing ocfs2]
Once done, repeat the steps for configuring OCFS2. I was successfully able to mount the disk on both machines.
All this problem was apparently caused by not choosing "allocate all disk space now" option while creating the disk to be used for OCFS2.
If you still have any questions or problem, email me at [email protected] and I'll try to get back to you at my earliest.
Good luck!
Muhammad Amer
[email protected]

Similar Messages

  • Considering shared storage for Oracle RAC 10g

    Hi, guys!
    My Oracle RAC will be run on VMware ESXI 5.5. So, both 2 nodes and shared storage are on VM. Don't blame for this, I dont have another choice.
    I am choosing shared storage for Oracle RAC. I am choosing between NFS and ISCSI server, both can be done in RedHat linux or FreeNAS.
    Can u, guys, help me to do the choise?
    RedHat or FreeNAS
    ISCSI or NFS
    Any help will be appreciated.

    JohnWatson написал(а):
    NFS is really easy. Create your zero-filled files, set the ownership and access modes, and point your asm_diskstring at them. Much simpler than configuring an iSCSI target and initiators, and then messing about with ASMlib or udev.
    I recorded a public lecture that (if I remember correctly) describes it here, Oracle ASM Free Tutorial
    I will be using OCFS2 as cluster FS. Does it make any difference for NFS vs ISCSI?

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Problem about use OCFS2 install clusterware

    hi,all :
    i set two disk use OCFS2, one for OCR, another for voting disk,i format the two disk on rac1 ,and mout on rac1 and rac2
    [root@rac2 ocfs2]# mkfs.ocfs2 -b 4K -C 32K -N 2 -L ora_votingdisk /dev/sdb1 
    [root@rac2 ocfs2]# mkdir /opt/votingdisk
    [root@rac2 ocfs2]# chown oracle.oinstall /opt/votingdisk/
    [root@rac2 ocfs2]# mount -t ocfs2 /dev/sdb1 /opt/votingdisk/
    [root@rac2 votingdisk]# mkfs.ocfs2 -b 4K -C 32K -N 2 -L ora_OCR /dev/sdc1
    [root@rac2 votingdisk]# mkdir /opt/OCRfile
    [root@rac2 votingdisk]# chown oracle.oinstall /opt/OCRfile
    [root@rac2 votingdisk]# mount -t ocfs2 /dev/sdc1 /opt/OCRfile/and i use response file to installl crs
    n_storageTypeOCR=2
    s_ocrpartitionlocation="/opt/OCRfile"
    s_ocrMirrorLocation=""
    n_storageTypeVDSK=2
    s_votingdisklocation="/opt/votingdisk"and install successed,but when i run root.sh ,both fail on each node,and here is error info,i do not know why?
    [root@rac2 opt]#  /opt/ora/product/10.2.0/crs_1/root.sh
    WARNING: directory '/opt/ora/product/10.2.0' is not owned by root
    WARNING: directory '/opt/ora/product' is not owned by root
    WARNING: directory '/opt/ora' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up NS directories
    PROT-1: Failed to initialize ocrconfig
    Failed to upgrade Oracle Cluster Registry configurationand i checked the log output
    [root@rac2 client]# cat ocrconfig_8035.log
    Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
    2011-07-29 23:26:53.612: [ OCRCONF][5408976]ocrconfig starts...
    2011-07-29 23:26:53.613: [ OCRCONF][5408976]Upgrading OCR data
    2011-07-29 23:26:53.614: [  OCROSD][5408976]utopen:6'': OCR location /opt/OCRfile configured is not valid storage type. Return code [37].
    2011-07-29 23:26:53.614: [  OCRRAW][5408976]proprinit: Could not open raw device
    2011-07-29 23:26:53.614: [ default][5408976]a_init:7!: Backend init unsuccessful : [37]
    2011-07-29 23:26:53.615: [ OCRCONF][5408976]Exporting OCR data to [OCRUPGRADEFILE]
    2011-07-29 23:26:53.615: [  OCRAPI][5408976]a_init:7!: Backend init unsuccessful : [33]
    2011-07-29 23:26:53.615: [ OCRCONF][5408976]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
    2011-07-29 23:26:53.615: [  OCROSD][5408976]utopen:6'': OCR location /opt/OCRfile configured is not valid storage type. Return code [37].
    2011-07-29 23:26:53.615: [  OCRRAW][5408976]proprinit: Could not open raw device
    2011-07-29 23:26:53.615: [ default][5408976]a_init:7!: Backend init unsuccessful : [37]
    2011-07-29 23:26:53.616: [  OCROSD][5408976]utopen:6'': OCR location /opt/OCRfile configured is not valid storage type. Return code [37].
    2011-07-29 23:26:53.616: [  OCRRAW][5408976]proprinit: Could not open raw device
    2011-07-29 23:26:53.616: [  OCRAPI][5408976]a_init:6b!: Backend init unsuccessful : [37]
    2011-07-29 23:26:53.616: [ OCRCONF][5408976]Failed to initialized OCR context. error:[PROC-37: Oracle Cluster Registry does not support the storage type configured]
    2011-07-29 23:26:53.617: [ OCRCONF][5408976]Exiting [status=failed]...Edited by: 859340 on 2011-7-29 上午12:59

    instead this dot ( . ) on oracle.oinstall
    [root@rac2 votingdisk]# chown oracle.oinstall /opt/OCRfileuse colon ( : )
    [root@rac2 votingdisk]# chown oracle:oinstall /opt/OCRfile

  • Is there any doucment to install RAC 10G R2 with vmware shared storage?

    Hello Guys,
    Is there any documentation or how to available to install Oracle RAC 10G R2 on windows 2000 platform with 2 nodes and using vmware software for shared disk purpose.
    Please let me know the link. I will be really greatful to you. There is a document available for windows 2003 but couldnt find any for windows 2000.
    Regards,
    Imran Baig

    Hello Guys,
    I was reading this article on link http://www.dizwell.com/prod/node/25 it says the following
    "If you had a physical machine with two network cards installed and a second hard disk with absolutely nothing else on it, you could achieve a RAC using a physical machine"
    I am in procesof installing 2 nodes RAC and have configure network requirements on each node. I am struck with shared disk storage... can i acheive a shared diak storage by adding an other hardrive to one of the nodes? Please help...
    Regards,
    Imran

  • How to change permissions on shared storage to install Oracle RAC on vmware

    Hello:
    - I am trying to install Oracle RAC using vmware.
    - But when I try to change permissions for the shared storage,
    the owner and group of the shared storage does not change.
    - Has some else installed Oracle RAC onto vmware ?
    - I am using Oracle RAC 10.2.0, solaris 5.10 x86
    Thanks
    Jlem

    I have successfully installed RAC on vmware following this article, maybe you can give it a try,
    Oracle 10g RAC On Linux Using VMware Server
    http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php

  • Cheap shared storage for test RAC

    Hi All,
    Is there cheap shared storage device is available to create test environment RAC. I used to create RAC with vmware but environment is not much stable.
    Regards

    Two options:
    The Oracle VM templates can be used to build clusters of any number of nodes using Oracle Database 11g Release 2, which includes Oracle 11g Rel. 2 Clusterware, Oracle 11g Rel. 2 Database, and Oracle Automatic Storage Management (ASM) 11g Rel. 2, patched to the latest, recommended patches.
    This is supported for Production.
    http://www.oracle.com/technetwork/server-storage/vm/rac-template-11grel2-166623.html
    Learn how to set up and configure an Oracle RAC 11g Release 2 development cluster on Oracle Linux for less than US$2,700.
    The information in this guide below is not validated by Oracle, is not supported by Oracle, and should only be used at your own risk; it is for educational purposes only.
    http://www.oracle.com/technetwork/articles/hunter-rac11gr2-iscsi-088677.html
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Dec 10, 2012 10:59 AM

  • Shared storage setup for 'RAC' env

    Hi All ;
    Good Morning !
    My vmware machine version is  : 10.
    Could you please share  how do we configure  shared storage setup in vmware ?

    Did you even tried :https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=oracle%2Brac%2Bvmware%2Bworkstation+

  • Having Problem on using WRT 600 N Storage.

    Hello everyone:
    I'm using the WRT600N Wireless, and decided to use the Storage today.
    But after I setup the harddrive( connection is ok, and I can see the harddrive on the 192.168.1.1 page), I'm having problem on " how to connect to the harddrive by using my computer"?
    Is there any ip address which I can use for connecting?
    and I also setup the Media Server, and I can see the server by using my PS3, but I cannot see any files inside(I already copy some different types of movies inside).
    Please help me. thanks! 

    In order for it to work, you have to plug in a new hard drive with no data on it and format it using LELA.  I found that I will avoid the USB "feature" and stick with my shared drive.  It's 500% faster and I can take my hard drive anywhere without worrying I can't use it later with the router. 

  • Problem with multiple instances of shared printers being installed on client computers when the spooler service is started

    Hello,
    We have Windows Server 2012 and clients using Windows 8.  We've been having some printer problems for awhile now that I haven't been able to figure out for the life of me.  The main problem is the fact that printers are installed on computers automatically
    once the drivers are installed.  The side-effect of multiple instances of each printer showing up is very annoying but I suspect fixing the initial problem will resolve this secondary one.
    Here is the rundown:
    We add the shared printers on logon to the clients using the GPO thus installing the drivers locally.
    Whenever the spooler on the client is restarted with the drivers installed, all of the
    shared printers that were previously installed get duplicated 5 more times (for a total of 6 instances of each shared printer) on the "Devices and Printers" page.  This happens
    all the time.
    Removing them only fixes the issue temporarily, as soon as the spooler or computer is restarted, it seems these shared printers are somehow found on the network and the duplicates return.
    Two of these printers are located on different clients, installed locally and shared while the other three are all installed on a server and shared through it.  The issue is the same on all of them.
    Cleaning the spooler completely (registry and files from C:\system32\spool) fixes the issue temporarily as well since, as soon as the drivers are reinstalled, the issue occurs again.
    I've tried many things (disabling the GPO, editing the GPO, printer shares, registry, etc.) and searched tirelessly online for a cause and solution but I'm stumped.  Does anybody have any idea what might be causing this problem and how to resolve it?
    Thanks for your time!
    Update #1: I just tried adding the NoNetCrawling option in the registry found in this article -> http://support.microsoft.com/kb/320138/en-us
    I couldn't find the same for Windows 8 unfortunately.  I also tried disabling network discovery and all other sharing options to no avail.
    Update #2: I tried isolating the computer to a different subnet and restarting the spooler and, sure enough, the issue didn't occur.  This proves that the issue is network share related.  Also, as soon as I change the IP back to the regular domain
    subnet one, the multiple printer instances re-appeared again.
    Update #3: I just tried doing the same thing but on the server where the printers are installed and shared and, sure enough, despite being in a different subnet, the issue occurred.  This leads me to believe there is a setting on this server at fault.
     Question is, which one?

    We have deployed a brand new Active Directory domain for a customer. ALL the servers without exception are Windows 2012 R2 and all clients are Windows 8.1 32bit VDI clients.
    The issue that we have is around network printers. 
    We are deploying 4 printers  from a Windows 2012 R2 Server via the print management/Deploy Printer and assigning that to a GPO. The printers are deployed to the Computers which should mean that the users get all 4 printers which they then should be allowed
    to set their default and personal settings for that printer.
    Our printers are deployed like this:
    1. Created security group
    2. Assigned VDI computers to the security group
    3. Created GPO to reflect security group
    4. Modify GPO to do security filtering based on computer group membership
    5. Deployed 4 x printers through Print Management to the GPO on a per machine basis
    However, on the users Devices and Printers screen we are not seeing the 4 printers. For some users
    they see duplicates of all 4 printers so e.g they can have upwards of 8 or more. Other users have no printers displayed whatsoever. The next time they log off or restart they then have a different amount of printers displayed.
    If they try and set the default then it will set and the next time they check the default may have moved to another printer even without logging off or back on.
    Now, where this gets strange is within an application such as MS Word 2013 or Notepad if they use the file and print menu the printers will be listed, even if the user has no printers displayed in Devices and Printers. If the users selects a printer then they
    can then print OK.
    If we check HKCU\Printers||Connections then the CORRECT 4 printers are showing as to what is being deployed via the GPO so I know that the Windows 8.1 terminals are receiving the correct printers from the GPO.
    To try and correct this over the course of the week we have deployed the printers via Group Policy Preferences to the user and then the PC to no avail. Currently we are using the Print management\Deployed Printers to deploy all 4 printers to the computer via
    the Computer GPO.
    I believe that this issue is related to the display somehow in Devices and Printers rather than a GPO or print server issue as we can see via the registry the clients are receiving the 4 correct mentioned printers as shown in the registry. 
    FYI: We only have around 30 users and all users are getting this problem. All users are receiving the same GPO's and have the same few apps installed, Office 2013, Adobe Reader etc.
    What we want is for the computers to receive all 4 printers. All users should be able to use all 4 printers but the user should be able to select their particular default, depending where they are located or what they are printing that particular day. Their
    particular default should persist after reboot. (We have 2 x Copiers and 2 x HP Laserjets) All users have redirected documents and desktop but the rest of the profile is on the VDI and persists after their reboot. The profile is not roaming as the user is
    assigned a particular VDI.
    After a week of scratching our heads with this we are open to suggestions and any would be appreciated.
    We have tried following the issues on this thread to no avail either as they still return.

  • Shared Storage allocation for Oracle 10g RAC

    Hi,
    I am about to implement a Two Node Oracle 10g RAC on Windows 2008 (32-Bit) servers. We are going to use EVA4400 storeage and we have 600 GB for Oracle RAC and database.
    I intend to follow the steps given in RACGuides_Rac10gR2OnWindows.pdf mentioned in Note 811271.1 (RAC Assurance Support Team: RAC Starter Kit and Best Practices (Windows)).
    I would like to know how should I allocated the storage for OCR,Vote, Database and Flash Recovery Area. Meaning how many LUNs and of what size to be created and presented to both the servers. To start with I need to create a 25 GB database. We will be using Raw Device for OCR and Vote and ASM for Database and Flash Recovery Area.
    Please advice.
    Thanks,
    Thiru

    I am about to implement a Two Node Oracle 10g RAC on Windows 2008 (32-Bit) servers. Oracle 10g on Windows 2008 is not supported. Anyway installing a cluster as of today i would use a 64-bit operating system together with a 64-bit database. Everything else is not state-of-the-art anymore.
    As of today i would go with 11g Release 1 (11.1.0.7.0) plus latest patches for Clusterware and ASM. Because you are using Windows 2008 you must use 11g Release 1 for the database as well. Bear in mind that Windows 2008 R2 is at this point in time not supported for 11g R1 or 11g R2 either.
    I would like to know how should I allocated the storage for OCR,Vote, Database and Flash Recovery Area. Meaning how many LUNs and of what size to be created and presented to both the servers. This is said in the installation documents. Rule of thumb: At least three LUNs of 2 GB for OCR and three LUNs of 2 GB for Voting disk.
    To start with I need to create a 25 GB database. We will be using Raw Device for OCR and Vote and ASM for Database and Flash Recovery Area.According to Oracles recommendations: Two disk groups: one for database files, the other for the flashback area.
    But your setup may be different (more disk groups,....)
    Ronny Egner
    My blog: http://ronnyegner.wordpress.com

  • When installing clusterware, shared storage trouble

    I was trying to install clusterware. When I typed location of OCR, I got error below:
    Oracle Cluster Registry (OCR) is not shared across all the nodes in the cluster
    Then, I found I can not mount ocfs2 on both nodes at the same time. But I can mount it on any one of nodes if it is umounted on the other one.
    Can you anyone give me a hand?
    Environment is as following:
    - OS: Oracle Linux 5 (update 4)
    - Openfiler 3 + ocfs2
    - Oracle 10gR2

    Hi;
    Please see:
    http://kr.forums.oracle.com/forums/thread.jspa?messageID=4254569
    Oracle 10g RAC install- OPEN FAIL ON DEV
    Oracle Cluster Registry (OCR) is not shared across all the nodes . . .
    After OCFS2 install/configure ~ Shared storage check check fails
    Problem of using OCFS2 as shared storage to install RAC 10g on VMware
    Regard
    Helios

  • Shared storage check failed on nodes

    hi friends,
    I am installing rac 10g on vmware and os is OEL4.i completed all the prerequisites but when i run the below command
    ./runclufy stage -post hwos -n rac1,rac2, i am facing below error.
    node connectivity check failed.
    Checking shared storage accessibility...
    WARNING:
    Unable to determine the sharedness of /dev/sde on nodes:
    rac2,rac2,rac2,rac2,rac2,rac1,rac1,rac1,rac1,rac1
    Shared storage check failed on nodes "rac2,rac1"
    please help me anyone ,it's urgent
    Thanks,
    poorna.
    Edited by: 958010 on 3 Oct, 2012 9:47 PM

    Hello,
    It seems that your storage is not accessible from both the nodes. If you want you can follow these steps to configure 10g RAC on VMware.
    Steps to configure Two Node 10 RAC on RHEL-4
    Remark-1: H/W requirement for RAC
    a) 4 Machines
    1. Node1
    2. Node2
    3. storage
    4. Grid Control
    b) 2 switchs
    c) 6 straight cables
    Remark-2: S/W requirement for RAC
    a) 10g cluserware
    b) 10g database
    Both must have the same version like (10.2.0.1.0)
    Remark-3: RPMs requirement for RAC
    a) all 10g rpms (Better to use RHEL-4 and choose everything option to install all the rpms)
    b) 4 new rpms are required for installations
    1. compat-gcc-7.3-2.96.128.i386.rpm
    2. compat-gcc-c++-7.3-2.96.128.i386.rpm
    3. compat-libstdc++-7.3-2.96.128.i386.rpm
    4. compat-libstdc++-devel-7.3-2.96.128.i386.rpm
    ------------ Start Machine Preparation --------------------
    1. Prepare 3 machines
    i. node1.oracle.com
    etho (192.9.201.183) - for public network
    eht1 (10.0.0.1) - for private n/w
    gateway (192.9.201.1)
    subnet (255.255.255.0)
    ii. node2.oracle.com
    etho (192.9.201.187) - for public network
    eht1 (10.0.0.2) - for private n/w
    gateway (192.9.201.1)
    subnet (255.255.255.0)
    iii. openfiler.oracle.com
    etho (192.9.201.182) - for public network
    gateway (192.9.201.1)
    subnet (255.255.255.0)
    NOTE:-
    -- Here eth0 of all the nodes should be connected by Public N/W using SWITCH-1
    -- eth1 of all the nodes should be connected by Private N/W using SWITCH-2
    2. network Configuration
    #vim /etc/host
    192.9.201.183 node1.oracle.com node1
    192.9.201.187 node2.oracle.com node2
    192.9.201.182 openfiler.oracle.com openfiler
    10.0.0.1 node1-priv.oracle.com node1
    10.0.0.2 node2-priv.oracle.com node2-priv
    192.9.201.184 node1-vip.oracle.com node1-vip
    192.9.201.188 node2-vip.oracle.com node2-vip
    2. Prepare Both the nodes for installation
    a. Set Kernel Parameters (/etc/sysctl.conf)
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    b. Configure /etc/security/limits.conf file
    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536
    c. Configure /etc/pam.d/login file
    session required /lib/security/pam_limits.so
    d. Create user and groups on both nodes
    # groupadd oinstall
    # groupadd dba
    # groupadd oper
    # useradd -g oinstall -G dba oracle
    # passwd oracle
    e. Create required directories and set the ownership and permission.
    # mkdir –p /u01/crs1020
    # mkdir –p /u01/app/oracle/product/10.2.0/asm
    # mkdir –p /u01/app/oracle/product/10.2.0/db_1
    # chown –R oracle:oinstall /u01/
    # chmod –R 755 /u01/
    f. Set the environment variables
    $ vi .bash_profile
    ORACLE_BASE=/u01/app/oracle/; export ORACLE_BASE
    ORA_CRS_HOME=/u01/crs1020; export ORA_CRS_HOME
    #LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL
    #LANG=”en_US”; export LANG
    3. storage configuration
    PART-A Open-filer Set-up
    Install openfiler on a machine (Leave 60GB free space on the hdd)
    a) Login to root user
    b) Start iSCSI target service
    # service iscsi-target start
    # chkconfig –level 345 iscsi-target on
    PART –B Configuring Storage on openfiler
    a) From any client machine open the browser and access openfiler console (446 ports).
    https://192.9.201.182:446/
    b) Open system tab and update the local N/W configuration for both nodes with netmask (255.255.255.255).
    c) From the Volume tab click "create a new physical volume group".
    d) From "block Device managemrnt" click on "(/dev/sda)" option under 'edit disk' option.
    e) Under "Create a partition in /dev/sda" section create physical Volume with full size and then click on 'CREATE'.
    f) Then go to the "Volume Section" on the right hand side tab and then click on "Volume groups"
    g) Then under the "Create a new Volume Group" specify the name of the volume group (ex- racvgrp) and click on the check box and then click on "Add Volume Group".
    h) Then go to the "Volume Section" on the right hand side tab and then click on "Add Volumes" and then specify the Volume name (ex- racvol1) and use all space and specify the "Filesytem/Volume type" as ISCSI and then click on CREATE.
    i) Then go to the "Volume Section" on the right hand side tab and then click on "iSCSI Targets" and then click on ADD button to add your Target IQN.
    j) then goto the 'LUN Mapping" and click on "MAP".
    k) then goto the "Network ACL" and allow both node from there and click on UPDATE.
    Note:- To create multiple volumes with openfiler we need to use Multipathing that is quite complex that’s why here we are going for a single volume. Edit the property of each volume and change access to allow.
    f) install iscsi-initiator rpm on both nodes to acces iscsi disk
    #rpm -ivh iscsi-initiator-utils-----------
    g) Make entry in iscsi.conf file about openfiler on both nodes.
    #vim /etc/iscsi.conf (in RHEL-4)
    and in this file you will get a line "#DiscoveryAddress=192.168.1.2" remove comment and specify your storage ip address here.
    OR
    #vim /etc/iscsi/iscsi.conf (in RHEL-5)
    and in this file you will get a line "#ins.address = 192.168.1.2" remove comment and specify your storage ip address here.
    g) #service iscsi restart (on both nodes)
    h) From both Nodes fire this command to access volume of openfiler-
    # iscsiadm -m discovery -t sendtargets -p 192.2.201.182
    i) #service iscsi restart (on both nodes)
    j) #chkconfig –level 345 iscsi on (on both nodes)
    k) make the partition 3 primary and 1 extended and within extended make 11 logical partition
    A. Prepare partitions
    1. #fdisk /dev/sdb
    :e (extended)
    Part No. 1
    First Cylinder:
    Last Cylinder:
    :p
    :n
    :l
    First Cylinder:
    Last Cylinder: +1024M
    2. Note the /dev/sdb* names.
    3. #partprobe
    4. Login as root user on node2 and run partprobe
    B. On node1 login as root user and create following raw devices
    # raw /dev/raw/raw5 /dev/sdb5
    #raw /dev/raw/taw6 /dev/sdb6
    # raw /dev/raw/raw12 /dev/sdb12
    Run ls –l /dev/sdb* and ls –l /dev/raw/raw* to confirm the above
    -Repeat the same thing on node2
    C. On node1 as root user
    # vi .etc/sysconfig/rawdevices
    /dev/raw/raw5 /dev/sdb5
    /dev/raw/raw6 /dev/sdb6
    /dev/raw/raw7 /dev/sdb7
    /dev/raw/raw8 /dev/sdb8
    /dev/raw/raw9 /dev/sdb9
    /dev/raw/raw10 /dev/sdb10
    /dev/raw/raw11 /dev/sdb11
    /dev/raw/raw12 /dev/sdb12
    /dev/raw/raw13 /dev/sdb13
    /dev/raw/raw14 /dev/sdb14
    /dev/raw/raw15 /dev/sdb15
    D. Restart the raw service (# service rawdevices restart)
    #service rawdevices restart
    Assigning devices:
    /dev/raw/raw5 --> /dev/sdb5
    /dev/raw/raw5: bound to major 8, minor 21
    /dev/raw/raw6 --> /dev/sdb6
    /dev/raw/raw6: bound to major 8, minor 22
    /dev/raw/raw7 --> /dev/sdb7
    /dev/raw/raw7: bound to major 8, minor 23
    /dev/raw/raw8 --> /dev/sdb8
    /dev/raw/raw8: bound to major 8, minor 24
    /dev/raw/raw9 --> /dev/sdb9
    /dev/raw/raw9: bound to major 8, minor 25
    /dev/raw/raw10 --> /dev/sdb10
    /dev/raw/raw10: bound to major 8, minor 26
    /dev/raw/raw11 --> /dev/sdb11
    /dev/raw/raw11: bound to major 8, minor 27
    /dev/raw/raw12 --> /dev/sdb12
    /dev/raw/raw12: bound to major 8, minor 28
    /dev/raw/raw13 --> /dev/sdb13
    /dev/raw/raw13: bound to major 8, minor 29
    /dev/raw/raw14 --> /dev/sdb14
    /dev/raw/raw14: bound to major 8, minor 30
    /dev/raw/raw15 --> /dev/sdb15
    /dev/raw/raw15: bound to major 8, minor 31
    done
    E. Repeat the same thing on node2 also
    F. To make these partitions accessible to oracle user fire these commands from both Nodes.
    # chown –R oracle:oinstall /dev/raw/raw*
    # chmod –R 755 /dev/raw/raw*
    F. To make these partitions accessible after restart make these entry on both nodes
    # vi /etc/rc.local
    Chown –R oracle:oinstall /dev/raw/raw*
    Chmod –R 755 /dev/raw/raw*
    4. SSH configuration (User quivalence)
    On node1:- $ssh-keygen –t rsa
    $ssh-keygen –t dsa
    On node2:- $ssh-keygen –t rsa
    $ssh-keygen –t dsa
    On node1:- $cd .ssh
    $cat *.pub>>node1
    On node2:- $cd .ssh
    $cat *.pub>>node2
    On node1:- $scp node1 node2:/home/oracle/.ssh
    On node2:- $scp node2 node2:/home/oracle/.ssh
    On node1:- $cat node*>>authowized_keys
    On node2:- $cat node*>>authowized_keys
    Now test the ssh configuration from both nodes
    $ vim a.sh
    ssh node1 hostname
    ssh node2 hostname
    ssh node1-priv hostname
    ssh node2-priv hostname
    $ chmod +x a.sh
    $./a.sh
    first time you'll have to give the password then it never ask for password
    5. To run cluster verifier
    On node1 :-$cd /…/stage…/cluster…/cluvfy
    $./runcluvfy stage –pre crsinst –n node1,node2
    First time it will ask for four New RPMs but remember install these rpms by double clicking because of dependancy. So better to install these rpms in this order (rpm-3, rpm-4, rpm-1, rpm-2)
    1. compat-gcc-7.3-2.96.128.i386.rpm
    2. compat-gcc-c++-7.3-2.96.128.i386.rpm
    3. compat-libstdc++-7.3-2.96.128.i386.rpm
    4. compat-libstdc++-devel-7.3-2.96.128.i386.rpm
    And again run cluvfy and check that "It should given a clean cheat" then start clusterware installation.

  • To use NFS mount as shared storage for calendar

    hi all,
    Colocated IM deployment <<To ensure high availbility, Oracle Calendar Server is placed on Cold Failover Cluster. Cold Failover Cluster installation requires shared storage for ORACLE_HOME and oraInventory.
    Q: can NFS mount be used as the shared storage? has anyone tried it? thanks

    Hi Arnaud!
    This is of course a test environment on my laptop. I WOULD NEVER do this in production or even mention this to a customer :-)
    In this environment I do not care for performance but it is not slow.
    cu
    Andreas

  • WRT610N Shared Storage

    I recently purchased a WRT610N and have been having some problems setting up the USB shared storage feature.  I have a 1.5 Terabyte Seagate drive that I have created two partiions on (I had read elsewhere in the forums that the WRT610N only handled partitions/dirves up to 1 TB).  Both partitions are NTFS with the first one being 976,561 GB and the second one being 420,700 GB. Both drives show up in the "Disk" section of the admin console and I can create/define a share for the larger of the two partitions without any problems. 
    The first of my problems comes when I try to create/define a share for the smaller partition.  I can create a share but the admin console does not save the access privleges that I assign to it.  Despite setting them up in the admin console they don't show up when I go back and look (in both the detail and summary views) the Access rights show as blank.  I do not have this issue with the larger partition where I can add and later view groups in the Access section.
    The second problem comes when I try to attach to the larger share from a network client.  I can look at the shares if I use ..........Start - Run - and Type \\192.168.1.1.  If I enter in my admin User ID and password, I can see the new share on the WRT610N.  When I try to double click on it, I am then pompted again for a Username & Password,  When I try to re-enter the admin user ID and password, the logon comes right back to me with "WRT610n\admin" populated in the User ID field.  From there it won't accept the admin password.  There are no error messages.
    Help with either problem would be appreciated.

    When you select your Storage partition and open it, and if it ask you for the Username and Password, thats the username and password is of your storage drive, Might be you must have set some password for your storage drivers.
    Login to your Routers GUI. and click on the Storage Tab and Below you will find the Sub tab "Administration" click on it, if you wish you can Modify the "admin" rights, Like change the password or else you can Create your Own User and password. So whenever you login to your Storage Partition, and it ask for the username and password then you can input that username and password and click OK. This way you will be able to access your Storage Driver. 

Maybe you are looking for

  • BAPI_GOODSMVT_CREATE using inbound delivery with HU

    I have a program that uses BAPI_GOODSMVT_CREATE to GR Post the inbound delivery.  The inbound delivery is created thru ASN.  But I encounter error message BORGR 637 "Inbound delivery cannot be packed".  This error occurred because item packing status

  • Cannot find class during Method Profiling

    Hi, I used JRockit Mission Control tool 3.0 for method profiling. After RCP application is started, i create a new template and added the following class file to that template : "org.eclipse.draw2D.Figure but "can't find class : org.eclipse.draw2D.Fi

  • DataLoad using @XREF

    I have two cubes, 'Planning' and 'AllData',I want to using @XREF to tranfer data from 'Planning' to 'AllData' cube. Following is the code I'm using FIX(Current_Year) Budget = @XREF(Planning_L_Alias); ENDFIX; But it is running of more than 2-hrs, I ki

  • Time Machine - Lost Data

    Embarrassingly, I am seeking assistance to retrieve lost data which was originally backed up with the use of Time Machine on my external hard drive. In an effort to clean my iMac (2008) to make it go faster, I backed up its entire contents with the u

  • LR2 - burn to original image

    Hi all, I am sure in the LR2Beta I could burn the changes made back into the original JPG image if I wanted (off a right click?). This was quite useful. However, I have bought LR2 and this function appears to have gone. I can export an image - but if