Mapping shared disk mount in Linux

Hi ,
We are using shared disk for our SOA clustered environment, everything is working fine, even disk sharing between two servers are fine,issues is when ever we reboot servers,mounting node 1 disk to node2 always disappearing, i have to manually mount disk in node 2, is there any way to automate to mount the disk after reboot in node 2.
OS : OEL 5.4(64bit).
11G SOA/WLS

hi,
it's a bit not clear to me - would you please describe how you managed to map other drives/volumes?
please post
listing of /dev/mapper/*
content of /etc/rc.local
Are you using multipath or ASMlib?

Similar Messages

  • Shared disk (SAN EVA 4400) configuration for ASM on linux RHEL5

    Hi all,
    I want to install RAC database (oracle 10g on RHEL5). Now we are configurind shared storage for the both servers (nodes). In disk configuration (SAN on EVA 4400) we have created the volume group for the disk to use for ASM and present the disk group to the servers. Actually when we check the server we cannot see the disk (shared storage).
    [root@cdr-analysis01 ~]# ls /dev/cciss/ -lR
    /dev/cciss/:
    total 0
    brw-r----- 1 root disk 104, 0 Jul 1 2009 c0d0
    brw-r----- 1 root disk 104, 1 Jul 1 14:29 c0d0p1
    brw-r----- 1 root disk 104, 2 Jul 1 14:29 c0d0p2
    brw-r----- 1 root disk 104, 3 Jul 1 14:29 c0d0p3
    brw-r----- 1 root disk 104, 4 Jul 1 2009 c0d0p4
    brw-r----- 1 root disk 104, 5 Jul 1 14:29 c0d0p5
    brw-r----- 1 root disk 104, 6 Jul 1 14:29 c0d0p6
    brw-r----- 1 root disk 104, 7 Jul 1 2009 c0d0p7
    brw-r----- 1 root disk 104, 8 Jul 1 14:29 c0d0p8
    (they are local disks not the shared disk)
    My questions are:
    - How to mount the disk to be seen in the server
    - How to configure the disk for ASM is there any document for this. In my knowledge the disk to use for ASM doesn't need to be formated with a file system and shouldn't see when we run the df command.
    Does anybody can help me as it's very urgent for us.
    Thank you
    Raitsarevo

    Hi all,
    NOw the disk is presented to server. but my actual problem is how to create shared partition of this disk for the servers.
    Our actual status is we have created one volume group with 500 Gb in the sun and this volume group is called vg_oradata. we will use this storage for OCR, voting disk and the databse file (ASM). A si know from documentation i have to create one shared partition for OCR, one shared partition for Voting disk and another for database.
    That i want to do is creating for example :
    ocr_partition (25 Gb) : for OCR
    vote_partition (25 Gb): for Voting disk
    oradata_part1 (150 Gb): for database (ASM)
    oradata_part2 (150 Gb): for database (ASM)
    oradata_part3 (150 Gb): for database (ASM)
    My problem is how to create this partition because when i'm trying to create it from Logical Volume Manager of Linux i cannot find them in to servers.
    I mean i'm new in system administrator and our SAN vendors also doesn't know how to it in LInux system.
    Could you help me please if possible.
    My system is Linux Red Hat Enterprise 5 and i'm going to use Oracle 1Og RAC.
    Thank you
    Lucienot

  • Which Shared Disk on Linux

    Hi RACers,
    I have followed the technical paper by Jeffrey Hunter re. RAC on Linux/Firewire and I got it to work. Trouble is, it's a bit unstable. Sometimes the servers see the disk and most times they don't! Ugh!
    So, I really want to swap out the Firewire drive for something a little more usable and reliable.
    I don't need/can't afford something enterprise class. All I need is something low end but still something that provides a proper shared disk enclosure that supports RAC/Linux.
    Any ideas about products and model numbers?
    Thanks in advance.

    Yep, when I was buying the hardware I wanted to use that drive, but they're very hard to find nowadays. I ended up going for the LaCie 250Gb drive. I've not had any of the problems that other users have cited with this drive (so far that is), but it could be the drive that's the problem in my set-up.
    I've had my RAC config up and running and left it alone for a few days, then it crashes for no good reason. Rebooting gets me into a loop of neither server being able to see the drive. Sometimes they hang on boot up when it gets to 'setting up local disks'. Other times the boot up breezes past 'probing for new hardware' when I've already run kudzu and have the drive connected and powered on.
    For each day I've had this configuration up, I've spent a week or more trying to get it working. I've re-installed everything from scratch 3 times now and it's getting old. I just need something more stable. Even if I could identify another source of the OneTouch II, I'm not sure spending the money would be worth it, when I could get something else that's closer to what a business would use. I just don't know what the options are here, hence my question.
    Sorry for the slight rant, but I need to work on a RAC set-up and having spent a lot of money and even more time on this, I'm still dead in the water. Grrrrr! :-)

  • HELP Required in Copying  file on to a shared disk.

    Hi all,
    I am seriously struggling to copy a file on to a shared disk using java code. It is a web application and i am supposed to move a file from server to a shared folder on some other system. I can ping the system on to which i need to copy the file. I can manually copy the file on to that disk from the server. But i am unable to do it through Java code. It would be very help ful, if some one can help me on this with a piece of code.
    I have administrator access on the server on which application is running.
    Deepthi.

    Can't you mount the remote share into the local filesystem? Say, by mapping a network drive, or using nfs/smbfs filesystem types? Then you should be able to copy the file as if it was local.
    Brian

  • Mapping to disk on Airport Extreme's USB port from G5 over Ethernet

    I just set up my Airport Extreme network, with multiple machines (Windows XP, Vista, Mac G5, iPad and iPod Touch) sharing the internet connection via both Ethernet and WiFi without any problem.
    My XP and Vista machines are connected via WiFi, and I was asked to supply the shared disk's password, and once I provided it, I was able to see the drive attached to the USB port on the Extreme.
    My Mac G5 is connected to the Airport via Ethernet. It never asked me for the shared disk's password, adn I could not see the drive in Finder.
    Any suggestion on how to map to the shared drive over Ethernet will be greatly appreciated. Thanks! /Kenny

    Any suggestion on how to map to the shared drive over Ethernet will be greatly appreciated.
    It really shouldn't make any difference whether the G5 is connected by Ethernet or wireless, the AirPort Disk should be "visible" in the Finder sidebar.
    If not already, be sure that you have either or both "Connected servers" & "Bonjour computers" enabled in Finder Preferences > Sidebar.

  • Setting up a shared disk for Time Machine

    Folks,
    I have a 24" Al iMac with an external 750GB disk allocated to time machine.
    This machine has a single account with administrative privileges "me".
    I have a second 20" snow iMac that I would like to backup to the same disk.
    It has 4 accounts, one of which has administrative privileges (also called "me").
    How do I need to configure sharing on the Al iMac to allow time machine on the snow iMac to see the drive on the Al iMac, and be able to backup/restore to this volume?
    I have searched the forums here but cannot seem to find this information.
    Thanks in advance.
    - ljm

    Turn on Filesharing in the "Sharing" preference pane on both computers (You might want to specify which users have access via filesharing). Then on the snow imac connect to your Aluminum imac and mount the external drive so you can access it. Go to the TM settings and select the Aluminum imac's drive that's now shared and mounted, and start the initial backup. It will create a "sparsebundle" disk image on the backup drive and use that for the snow imac's backup. Everytime it writes to the image, it will mount it over the network and do a backup, and then eject it. Sometimes it wont back up to the image if you're not connected to the Aluminum mac, so to solve this, select the mounted shared drive as a "login item" in the snow imac's user preferences (for each user). This will create the connection on login, and backups should proceed accordingly.
    Message was edited by: Topher Kessler

  • Extreme + Shared Disk through a NAT?

    Hi,
    I've done a search on this topic but can't find a thread that answers my question - so I beg forgiveness if this has been asked and answered many times...
    I've got an Extreme base station hosting a shared disk for a small business LAN. It works great.
    This past weekend I put in a D-Link router into one of the offices to help reduce traffic noise (I've got an Ethernet-based interface for outboard automation and it was previously very laggy). The router does exactly what I need it to - except I can't use the Airport Disks menu to mount the Airport Disk.
    The Disk shows up in the menu but returns a "Connection Failed" dialog box. I can connect to the Disk directly through Finder > Go > Connect to Server
    I'm thinking some ports need to be opened up.
    Anyone know where I can find that info?
    Or perhaps something else is going on?
    Thanks.
    - patrick

    Duane wrote:
    Please describe exactly how the D-Link and AirPort Extreme base station (AEBS) are connected.
    Hi Duane,
    Thanks for taking this on...
    PowerMac & Control Surface (both static IP) -> D-Link (NOT DHCP, in the 10.0.0.1 range)
    then
    DLink -> Netgear GigaE 20-port switch
    the AEBS goes:
    AEBS -> same Netgear switch
    then
    Netgear Switch -> Firewall/Router (static IP in 192.168.1.1 range) -> DSL
    Are you trying to go through the D-Link to get to the disk attached to the AEBS?
    Yup. Punch through the D-Link to the AEBS.
    Is the D-Link configured so that it's DHCP server is enabled or disabled?
    Disabled.
    - pi
    Message was edited by: Patrick Inhofer

  • How to see new disk in oracle linux 5

    Dear,
    i am using oracle VM and created 2 guest OS (both Olx5) i also created a shared disk and assigned to both linux servers.
    question: how can i see the disk in each server. using fdisk -l it just shown the one there before.
    in HPUX we have ioscan to detect new devices. is there away to check for new disk in oracle linux.
    Thanks in advance.
    Tom

    fdisk -l shows only existing partitions. So if your new disk has not partition created it will be not shown in the output.
    AFAIK there is not such command which will list all devices but there are several ways how to find the devices. All informations you can find in /proc directory (fdisk -l reads /proc/partitions when device is not passed as argument).
    You can find devices (local disks) for example using following commands (hope it helps):
    cat /var/log/dmesg |egrep 'sd[a-z]: s|hd[a-z]: h'
    cat /proc/diskstats |egrep -v 'ram|fd'|awk {'print $3'}

  • SQL 2008 R2 cluster installation failure - Failed to find shared disks

    Hi,
    The validation tests in the SQL 2008R2 cluster installation (running Windows 2008 R2) fails with the following error. The cluster has one root mount point with multiple mount points :
    "The cluster on this computer does not have a shared disk available. To continue, at least one shared disk must be available'.
    The "Detail.txt" log has alot of "access is denied" errors and here is just a sample. Any ideas what might be causing this issue?
    2010-09-29 12:54:08 Slp: Initializing rule      : Cluster shared disk available check
    2010-09-29 12:54:08 Slp: Rule applied features  : ALL
    2010-09-29 12:54:08 Slp: Rule is will be executed  : True
    2010-09-29 12:54:08 Slp: Init rule target object: Microsoft.SqlServer.Configuration.Cluster.Rules.ClusterSharedDiskFacet
    2010-09-29 12:54:09 Slp: The disk resource 'QUORUM' cannot be used as a shared disk because it's a cluster quorum drive.
    2010-09-29 12:54:09 Slp: Mount point status for disk 'QUORUM' could not be determined.  Reason: 'The disk resource 'QUORUM' cannot be used because it is a cluster quorum drive.'
    2010-09-29 12:54:09 Slp: System Error: 5 trying to find mount points at path
    \\?\Volume{e1f5ca48-c798-11df-9401-0026b975df1a}\
    2010-09-29 12:54:09 Slp:     Access is denied.
    2010-09-29 12:54:09 Slp: Mount point status for disk 'SQL01_BAK01' could not be determined.  Reason: 'The search for mount points failed.  Error: Access is denied.'
    2010-09-29 12:54:10 Slp: System Error: 5 trying to find mount points at path
    \\?\Volume{e1f5ca4f-c798-11df-9401-0026b975df1a}\
    2010-09-29 12:54:10 Slp:     Access is denied.
    2010-09-29 12:54:10 Slp: Mount point status for disk 'SQL01_DAT01' could not be determined.  Reason: 'The search for mount points failed.  Error: Access is denied.'
    2010-09-29 12:54:10 Slp: System Error: 5 trying to find mount points at path
    \\?\Volume{e1f5ca56-c798-11df-9401-0026b975df1a}\
    2010-09-29 12:54:10 Slp:     Access is denied.
    Thanks,
    PK

    Hi,
    We were asked by the PSS engineer to give the following privileges the account used to install SQL Server - i am referring to the user domain account as apposed to the SQL service account. These privileges were already applied to the
    SQL service account prior to the SQL installation. Assigning these privileges to the user account resolved the issue.
      Act as Part of the Operating Sywstem = SeTcbPrivileg
      Bypass Traverse Checking = SeChangeNotify
      Lock Pages In Memory = SeLockMemory
      Log on as a Batch Job = SeBatchLogonRight
      Log on as a Service = SeServiceLogonRight
      Replace a Process Level Token = SeAssignPrimaryTokenPrivilege
    Thanks for everyones assistance.
    Cheers,
    PK

  • Cannot connect to USB shared disk

    The other day got my new Airport Extreme-n and up unitl now it has worked solidly. The most annoying problem is accessing shared USB disks. I have attached a USB disk to the ABE and it is recognized. Then, enabled disk sharing with a simple disk password for testing purposes. The is as far as the documentation goes however.
    I am guessing the Airport Disk Utility is supposed to mount these shared USB disks. The only thing I am seeing is "NO Disk Found"
    The disk has been formatted in both HFS and FAT32 and still the same results, nothing. I even accessing the shared disk through a windows share and sometimes I can but it will not let me add or retrieve files.
    Ant help would be great. Thank you.

    Unfortunately this has become a known issue in the meantime and Apple is supposed to be working on it. Usually this happens when the APExtreme gets disconnected from your computer (e.g. power loss or taking your mobile mac to another location). The following is not really a solution but better then nothing:
    1) Connect your USB HD directly to your computer and wait for recognition and mounting
    2) Disconnect properly
    3) reconnect the USB HD to your APE
    4) it should be recognised
    5) hope for a soon software-update

  • Path to windows shared disk

    Hi,
    what would be a typical path to mount a windows shared drive as a device? I suppose I have to choose SMB/cifs but then? SHould it look lije this:
    //SERVERNAME/SHAREDFOLDERNAME or use the IP like this 192.168.5.555/SHAREDFOLDERNAE

    Thank-You Jason and Changhai,
    i think i've found the problem.
    i do not have enough memory for the second node.
    i am running OUL 5 2.6.9-42.0.0.0.1.ELsmp with PV
    and could see the shared disks in vm.cfg on both nodes. if i shutdown node1 and startup node2 i could see the shared disk.
    Thanks for your helps.

  • How can i make my local disk mounted peramently

    i want to share my local disk to the network but i have a bad problem....
    the problem is when i reboot my local station i must to mount more time the disk manually,,, can anyone have an idea about how can i share my patition without
    mount it for each reboot, in another word how can i make my disk mounted automatically on reboot
    thanks

    Depending on how it is being shared and how you mount it, you may just need to edit your vfstab file to have the nfs mount made 'permanent'. That, of course, assumes this is being done via nfs!

  • Shared disks for clusterware

    Hi:
    I am setting up Oracle Clusterware. I am trying to set it up on two nodes. This i on AIX and trying the latest version 11gR2. I am selecting the first option ( Install and Configure Grid Infrastructure for a Cluster)
    I am trying to setup shared disk by mounting a file system of one system on the other using NFS.
    Here are my questions.
    I am creating user "oracle" on both the boxes. I am adding all the groups (like dba, oinstall etc.)
    Here are my questions:
    The NFS mount I have which is accessible by both the boxes should be used only for OCR (Oracle Cluster Registry) and Voting Disk (CF). I do not have ASM.
    Is it correct?
    Also
    The Oracle Base(eg : /u01/app/grid ) and Software Location(eg : /u01/app/11.2.0/grid) can be local to each individual nodes
    Is it correct?
    Those are the two questions I have. Also, will this work?
    I have tried to put everything on the shared disk (installation files, OCR, CF, base, inventory etc) but looks like the second box (the one from where I have not installed) is having problem. Because it is trying to change ownership of user and group of a few files when I run orainstRoot.sh and root.sh.
    Please let me know
    Thanks

    Hi,
    The NFS mount I have which is accessible by both the boxes should be used only for OCR (Oracle Cluster Registry) and Voting Disk (CF). I do not have ASM.
    Is it correct?Use documentation of Oracle GI 11.2
    http://docs.oracle.com/cd/E11882_01/install.112/e24614/storage.htm#CDEJIDFB
    Why not use ASM? Since is more safe and have more performance.
    Also
    The Oracle Base(eg : /u01/app/grid ) and Software Location(eg : /u01/app/11.2.0/grid) can be local to each individual nodes
    Is it correct?
    Those are the two questions I have. Also, will this work?For grid infrastructure for a cluster installations, the Grid home must not be placed under one of the Oracle base directories, or under Oracle home directories of Oracle Database installation owners, or in the home directory of an installation owner. During installation, ownership of the path to the Grid home is changed to root. This change causes permission errors for other installations.
    http://docs.oracle.com/cd/E11882_01/install.112/e24614/preaix.htm#BABFCFIH
    Please follow the installation guide, all your question here is easily answered on documentation:
    http://docs.oracle.com/cd/E11882_01/install.112/e24614/preaix.htm
    Regards,
    Levi Pereira

  • Time Capsule - Secured Shared Disk anomaly

    Hi,
    Something quite worrying just happened and I'm unsure whether I can trust the TC to continue using it or whether I should just replace it. The TC is almost 2 years old and until now has reliably served as my DHCP router and Shared Disk with account. From Finder I attempted to mount my private shared folder as normal but the login details were refused. "Connect As" was showing in Finder which shouldn't appear when the account details are stored in Keychain. But sure enough in Keychain the connection details had vanished too. In Airport Utility the Shared Disk Account was nowhere to be found either with only the usual Data folder for Time Machine still visible. I mounted the Data folder and found inside a Users folder containing my missing files - around 400GB of my life's treasure! Thank the lord I seem to be able to access my files and am presently copying everything over to an internal disk on the Mac pro. Oddly enough what was once a restricted access folder requiring username and password now seems to be totally unsecured.
    I share the TC over MobileMe so I can access it on the move. Could there have been a MobileMe event which caused this anomaly? I can't understand how the account data could have been lost, indeed moved inside the Data folder and the keychains appear to have been deleted on all the Macs in the house which use the same MobileMe account.

    ibosie wrote:
    containing my missing files - around 400GB of my life's treasure!
    Are you saying that was the only copy you have?
    If so, count yourself as extremely lucky. Do yourself a favor and begin doing regular backups immediately. At the very least, back up your important, irreplaceable stuff. But do yourself another favor and back up your entire system.
    That may be a bit tricky, as many backup apps (including Time Machine) won't back up a network drive, such as a Time Capsule. See Kappy's post on Basic Backup, complete with links to the web sites of each product. One or more of those will likely work for that.
    While you're at it, make another set of backups, of the important stuff at least, and get it off-site, so you're also protected against fire, flood, theft, and direct lightning strike on your power lines. A portable hard drive is good for that, as are CDs/DVDs. Any of them can be taken to your safe deposit box, workplace, relative's house, etc. And there are services that let you do backups over the internet; since you're a MobileMe subscriber, you can use Apple's Backup app to back up some things to your iDisk automatically.

  • Use storage as shared disk

    We have storage connected to one server using optic port.Can i make shared disk for future install Oracle Clusterware(for 2 node).thanx

    I probably wouldn't use iSCSI in this manner for a production database unless I had no other choice. My biggest issue is that one more piece is added to the configuration that can fail that can affect availability. If that other host goes down, so does the shared storage that is mounted to the database server. I might do this as a short-term solution to get me immediate access to disk, but I would then immediately procure additional disk storage and get that into the configuration as soon as it arrives.
    Cheers,
    Brian

Maybe you are looking for