Oracle ASM - Adding did devices

So I am trying to follow the instructions found here: [http://wikis.sun.com/display/SunCluster/Oracle+ASM+With+Sun+Cluster+Support+for+Oracle+RAC|http://wikis.sun.com/display/SunCluster/Oracle+ASM+With+Sun+Cluster+Support+for+Oracle+RAC]
When I perform the dd command, I am treated with the following output:
bash-3.00# dd if=/dev/zero of=/dev/did/rdsk/d12s6 bs=1024k count=200
dd: /dev/did/rdsk/d12s6: open: No such device or addressOracle cannot see these devices and utilize them for ASM. Any thoughts?

I've tried a bunch of different formats.. The latest, is per the book "Oracle Storage Management: Under-the-hood & Practical Deployment Guide".
partition> print
Current partition table (unnamed):
Total disk cylinders available: 32766 + 2 (reserved cylinders)
Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0                0         (0/0/0)            0
  1 unassigned    wm       0                0         (0/0/0)            0
  2     backup    wu       0 - 32765       40.00GB    (32766/0/0) 83880960
  3 unassigned    wm       0 -     2        3.75MB    (3/0/0)         7680
  4 unassigned    wm       4 - 32765       39.99GB    (32762/0/0) 83870720
  5 unassigned    wm       0                0         (0/0/0)            0
  6 unassigned    wm       0                0         (0/0/0)            0
  7 unassigned    wm       0                0         (0/0/0)            0Still, no go... I am choosing the SMI option when labeling.

Similar Messages

  • Oracle ASM installation and raw device options

    I am looking to install Oracle ASM on Linux Red Hat AS 4 (ia64) using Oracle 10.2.0.3.
    A general question I have regarding prerequisites for ASM using raw devices. It appears there are 2 options for dealing with RAW devices.
    1. Use the ASM library driver
    or
    2. simply bind the devices to raw devices (and then install a new $OH with an ASM instance)
    Is there a recommendation from Oracle, industry best practices, expert opinions on which way to go?
    If I understand correctly it sounds like option 2 will require an ASM $OH and instance. Is that right or do both option require this?
    Can someone provide guidance as to which option I should use, an Oracle whitepaper, a recommendation, instructions or something.
    Any help or insight is provided as to which option I should use.
    Thank you.
    echardrd

    OK. Perhaps I am a little condused then. From what I read Oracle ASM recommends the use of RAW devices for ASM storage devices. What I have is a new LUN presented to my database server from the SAN. I assumed that the LUN needs to be mounted in some fashion on the server, but my SA tells me in order to mount it, would require the use of a filesystem. If we put a filesystem(NTFS, ext, etc) on the LUN prior to mounting it, will ASM be able to use it? If ASM can use a device that has a filesystem on it will this add unneccessary overhead (I/O)?
    I guess my question is for ASM should I
    1. use a RAW partition or a filesystem? Does it matter?
    2. Will RAW have better I/O performance?
    3. How do i make the LUN presentation from the SAN a usable RAW device to my database server? Any steps or guidance would be helpful since my SA and I can not seem to bridge this gap.
    Thanks.

  • Oracle ASM doesn't like my Xen xvd* devices...

    I have 3 VMs all running OEL, sitting on top of a physical host. On the physical host, I have configured Linux multipathing to approx. 20 SAN luns.
    I am presenting the multipath device files, the entities in /dev/mapper, up to each VM. However, when my colleague, the Oracle consultant, goes to make use of the /dev/xvd* files I present, Oracle ASM errors out and tells him, I believe, that the device is not a valid partition, or does not have partitions. Something along those lines.
    (Note: normally Xen prevents you from presenting a disk device read-write to multiple VMs, but I override this functionality with a '!' flag in the VM's config file).
    We've never had this problem when doing multipathing on physical servers. We just tell Oracle ASM about the files in /dev/mapper/, and it goes on its merry way.
    What, if anything, can I do to get Oracle ASM happy with the /dev/xvd* files in the guest OS? (The files that correspond to the files in /dev/mapper/* on the physical OS.)

    user9095995 wrote:
    I am presenting the multipath device files, the entities in /dev/mapper, up to each VM. However, when my colleague, the Oracle consultant, goes to make use of the /dev/xvd* files I present, Oracle ASM errors out and tells him, I believe, that the device is not a valid partition, or does not have partitions. You need to fisk the /dev/xvdX devices first to give them a valid partition table. Once you've done that, you can then expose them to ASM as /dev/xvdX1 for example.

  • How to get the ASM to OS device name mapping

    Hi all,
    This seems to be an often answered question, but usually the answers specify what to do on the OS (e.g. run oracleasm etc) and/or in the ASM database running on the ASM Host (select * from V$...).
    In our situation have plug-ins collecting data from Agents. Plugins collect data from Oracle db/ASM targets and from storage arrays.
    Back on the OMS we want to be able to report on the ASM to OS device name mapping. To report, we use either the default metadata UI (i.e. data from the sysman.mgmt_emx_... tables) or we have a BI Publisher report that queries the OEM Repository Database (and can join the ECM tables from the different plug-ins).
    The link between the ASM path and the OS device name does not seem to be collected by either the Oracle DB/ASM plug-in, nor by any other plug-in (Host/Storage/...).
    It would be easy to go to Linux and run a few commands, but we need to support multiple platforms, like AIX, Solaris x86, Windows as well.
    A complicating factor is that ASM can be installed in different configurations, e.g. using ASMlib or using udev...
    I really suspect this wheel has been invented before?! Or is it really a matter of having multiple OS-specific low-level scripts and adding a bunch of instance parameters for allowing the user to specify all OS-specific path/utility names etc?
    Any suggestions welcome... :-)
    Many thanks,
    Ed

    Google is your best friend ;-)
    Those are standard CGI variables, must be available in PHP/ASP(X)/JSP/your-favorite.
    Anyway, try this:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    /** Creates a table showing the values of all the CGI variables.
    * Part of tutorial on servlets and JSP that appears at * http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ * 1999 Marty Hall; may be freely used or adapted. */ public class ShowCGIVariables extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); String[][] variables = { { "AUTH_TYPE", request.getAuthType() }, { "CONTENT_LENGTH", String.valueOf(request.getContentLength()) }, { "CONTENT_TYPE", request.getContentType() }, { "DOCUMENT_ROOT", getServletContext().getRealPath("/") }, { "PATH_INFO", request.getPathInfo() }, { "PATH_TRANSLATED", request.getPathTranslated() }, { "QUERY_STRING", request.getQueryString() }, { "REMOTE_ADDR", request.getRemoteAddr() }, { "REMOTE_HOST", request.getRemoteHost() }, { "REMOTE_USER", request.getRemoteUser() }, { "REQUEST_METHOD", request.getMethod() }, { "SCRIPT_NAME", request.getServletPath() }, { "SERVER_NAME", request.getServerName() }, { "SERVER_PORT", String.valueOf(request.getServerPort()) }, { "SERVER_PROTOCOL", request.getProtocol() }, { "SERVER_SOFTWARE", getServletContext().getServerInfo() } }; String title = "Servlet Example: Showing CGI Variables"; out.println(ServletUtilities.headWithTitle(title) + "\n" + "
    " + title + "\n" + "\n" + "\n" + "CGI Variable Name
    Value"); for(int i=0; iNot specified"; out.println("
    " + varName + "
    " + varValue); } out.println("
    "); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doGet(request, response); } }

  • I think sync just deleted all my data when I added a device

    Summary:
    1, Added new device,
    2, device did not pull down information it pushed up to sync server
    3, sync server did contain a few mb of data now it contains 19kb
    Please help,
    I added a device using my "Firefox Sync Key" not the three sets of numbers as i did not have access the the original machine that had my profile on it.
    I checked the sync status, and I had a few mb on the history, bookmarks, pref, etc...
    Once my new device had sat there for a while I went back in to check the data usage and it appears that the new device over wrote all my sync data? Sync size is now about 19 kb?
    Please help as i did have some information information up there.
    Tell me what I can do please?
    Thanks,
    Derry

    Thanks, i've tried these, did not work
    in "How do I set up Firefox Sync?" > "Get the code on another computer"
    This is applicable to me:
    But i did not have the device with me, so i entered my user name/password and "Firefox Sync Key" which i had taken from the original device.
    As soon as i completed this I checked "view quota": it said a few mb.
    After about 10 min I checked again and it said 19kb.
    I just tried the reset ensuring merge data was selected.
    And still nothing.
    Thank you for your quick reply.
    Derry

  • How to Install Oracle ASM 11gR2 In Oracle Linux 6.5

    Hi
    I want to install oracle ASM in oracle linux 6.5 .
    Can any one helps me to find a paper with above subject?
    Thanks

    Theses steps only if You want to use ISCSI. This is fine to get the howto:
    If You ar running in VM Ware Boxes:
    Add the following to the *.vmx file for the virtual machine:
    disk.EnableUUID = "TRUE"
    Restart the vm machine and the /dev/disk/by-id/scsi**** should be visible.
    That's a nasty one - without this ISCSI just doesn't work
    chkconfig iscsi on
    iscsiadm -m discovery -t st -p 192.168.146.100
    iscsiadm -m node -T iqn.1991-05.com.microsoft:iscsi-asm-target   -p 192.168.146.100 -l
    192.168.146.100 <=== IP Number of ISCSI Host
    iqn.1991-05.com.microsoft:iscsi-asm-target <== Name of ISCSI Server, you get this as output from discovery command
    Now, you must make sure that the devices belong to oracle.
    Take a look at this link:
    http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.php#make_scsi_devices_trusted
    Add the following to the "/etc/scsi_id.config" file to configure SCSI devices as trusted. Create the file if it doesn't already exist.
    options=-g
    /sbin/scsi_id -g -u -s /block/sdc <== for all ISCSI devives
    vi /etc/udev/rules.d/99-oracle-asmdevices.rules
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1a9a1ce9b75e35f63", NAME="asm1-disk1", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18af9aa132d316eca", NAME="asm1-disk2", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b5bd65a6089784ae", NAME="asm1-disk3", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b0098f974c463139", NAME="asm1-disk4", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18b94be6b8e64ae1a", NAME="asm2-disk1", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1ba97827387889d2f", NAME="asm2-disk2", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c19344e120143d71a6", NAME="asm2-disk3", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b088599c1a9a0a7f", NAME="asm2-disk4", OWNER="asm", GROUP="dba", MODE="0660"
    RESULT=="360003fff419213c1b088599c1a9a0a7f" <=== That is returned by /sbin/scsi_id -g -u -s
    Reload:
    /sbin/udevcontrol reload_rules
    /sbin/start_udev
    Now you have your devices read, belonging to oracle:
    ls -al /dev/asm*
    Next go to oracle download click on list all and get:
    Oracle Grid Infrastructure 11g Release 2 (11.2.0.1.0) for Linux x86-64
    After extracting this you are ready to go.
    When starting the install process you get an option to "change path", here select /dev.
    In my test systems I use to set "external" for dataprotection.
    Regards
    Christian

  • Provisioning - adding a device

    Hi,
    Today, I tried to install the app in my friend's iPhone (OS 3.1) - but was unsuccessful. I added the device at the Dev Central, pulled down the provisioning profile, installed it in XCode. The organizer did not like - saying that "there is no provisioning profile for the phone".
    Can it be because the S/W version on the phone is 3.1 (7C144)? My iPodTouch is 3.1 (7C145) and I am able to install the app on it.
    Do I need to go to Snow Leopard to support iPhones on OS 3.1?
    Sam

    1. After creating the PP, I dragged it into XCode - as the instructions said. But the organizer did show it also.
    2. I added the device and then created the profile.
    I am going to re-try in a while and then report back.
    Thx for the response.

  • I/O error when adding quorum device

    Hi all, i'm in the process of building a two-node 3.2 Sun cluster using two HP DL380 servers. I seem to have managed to get the sun cluster 3.2 s/w installed on both nodes but i'm having problems adding a quorum device.
    Using either scsetup or clquorum, i get the following error:
    # /usr/cluster/bin/clquorum add d4
    clquorum: (C192716) I/O error.
    Does anyone know what this means?
    Thanks in advance,
    Stewart
    ******** Here are my devices ***********
    # /usr/cluster/bin/cldevice list -v
    DID Device Full Device Path
    d1 nfst1:/dev/rdsk/c1t0d0
    d2 nfst1:/dev/rdsk/c3t0d0
    d3 nfst1:/dev/rdsk/c2t5006016A106023E0d4
    d3 nfst1:/dev/rdsk/c2t50060162106023E0d4
    d3 nfst2:/dev/rdsk/c2t50060160106023E0d4
    d3 nfst2:/dev/rdsk/c2t50060168106023E0d4
    d4 nfst1:/dev/rdsk/c2t5006016A106023E0d3
    d4 nfst1:/dev/rdsk/c2t50060162106023E0d3
    d4 nfst2:/dev/rdsk/c2t50060160106023E0d3
    d4 nfst2:/dev/rdsk/c2t50060168106023E0d3
    d5 nfst1:/dev/rdsk/c2t5006016A106023E0d2
    d5 nfst1:/dev/rdsk/c2t50060162106023E0d2
    d5 nfst2:/dev/rdsk/c2t50060160106023E0d2
    d5 nfst2:/dev/rdsk/c2t50060168106023E0d2
    d6 nfst1:/dev/rdsk/c2t5006016A106023E0d1
    d6 nfst1:/dev/rdsk/c2t50060162106023E0d1
    d6 nfst2:/dev/rdsk/c2t50060160106023E0d1
    d6 nfst2:/dev/rdsk/c2t50060168106023E0d1
    d7 nfst1:/dev/rdsk/c2t5006016A106023E0d0
    d7 nfst1:/dev/rdsk/c2t50060162106023E0d0
    d7 nfst2:/dev/rdsk/c2t50060160106023E0d0
    d7 nfst2:/dev/rdsk/c2t50060168106023E0d0
    d8 nfst1:/dev/rdsk/c2t5006016A1060235Dd3
    d8 nfst1:/dev/rdsk/c2t500601621060235Dd3
    d8 nfst2:/dev/rdsk/c2t500601681060235Dd3
    d8 nfst2:/dev/rdsk/c2t500601601060235Dd3
    d9 nfst1:/dev/rdsk/c2t5006016A1060235Dd2
    d9 nfst1:/dev/rdsk/c2t500601621060235Dd2
    d9 nfst2:/dev/rdsk/c2t500601681060235Dd2
    d9 nfst2:/dev/rdsk/c2t500601601060235Dd2
    d10 nfst1:/dev/rdsk/c2t5006016A1060235Dd1
    d10 nfst1:/dev/rdsk/c2t500601621060235Dd1
    d10 nfst2:/dev/rdsk/c2t500601681060235Dd1
    d10 nfst2:/dev/rdsk/c2t500601601060235Dd1
    d11 nfst1:/dev/rdsk/c2t5006016A1060235Dd0
    d11 nfst1:/dev/rdsk/c2t500601621060235Dd0
    d11 nfst2:/dev/rdsk/c2t500601681060235Dd0
    d11 nfst2:/dev/rdsk/c2t500601601060235Dd0
    d12 nfst1:/dev/rdsk/c2t5006016830220BA0d0
    d12 nfst1:/dev/rdsk/c2t5006016130220BA0d0
    d12 nfst2:/dev/rdsk/c2t5006016930220BA0d0
    d12 nfst2:/dev/rdsk/c2t5006016030220BA0d0
    d13 nfst2:/dev/rdsk/c1t0d0
    d14 nfst2:/dev/rdsk/c3t0d0
    Cluster DID Devices ===
    Device Instance Node Status
    /dev/did/rdsk/d10 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d11 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d12 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d14 nfst2 Ok
    /dev/did/rdsk/d2 nfst1 Ok
    /dev/did/rdsk/d3 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d4 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d5 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d6 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d7 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d8 nfst1 Ok
    nfst2 Ok
    /dev/did/rdsk/d9 nfst1 Ok
    nfst2 Ok

    Hi All,
    I have a very similar problem, maybe someone has seen it ?
    I'm trying to finish installation of Sun Solaris 3.2 on two Sun-Fire-V240s (HBAs are QLogic QLA2342) over SPARC Solaris 10.
    When I get to the stage of adding a quorum disk to Sun Cluster 3.2:
    # scconf -a -q globaldev=d24
    the following error is received:
    scconf: Failed to add quorum device (d24) - unable to scrub the device.
    I ran the commands:
    # scdidadm -r
    # scdidadm -i
    # scdidadm -L
    Where the d24 is as follows:
    # scdidadm -L
    24 SRV-00-003:/dev/rdsk/c5t128d41 /dev/did/rdsk/d24
    24 SRV-00-049:/dev/rdsk/c5t128d41 /dev/did/rdsk/d24
    # ls -ls /dev/did/rdsk/d24
    2 lrwxrwxrwx 2 root root 42 Apr 7 13:40 /dev/did/rdsk/d24 -> ../../../devices/pseudo/did@24:24,24s7,raw
    Format describes the disk as:
    Current Disk = c5t128d40
    <StoreAge-rbarak_vol40_clu-#12 cyl 98 alt 2 hd 4 sec 512>
    /pseudo/vhba@0/vsd@80,28
    I Googled the net, and beside references to disks bigger than 1 GB, I couldn't find any relevant suggestions.
    Anyone has any experience with this "unable to scrub the device" error ?
    Thanks,
    Ron.

  • Need help in Oracle ASM

    Hello Experts,
    My name is Rohan and I'm working as Oracle DBA now I came accross the ASM and I want to learn it.
    I have basic knowledge of Oracle ASM and I have also configured/created an instance with the help of DBCA.
    Now for the better understandings I want to create the same with Command line.
    Will anybody please give me the proper tutorial for the same?????
    I am using oracle 11.2.0.3 on windows.
    Thanks in advance.

    Hello,
    Need your help again.
    I have successfully created the diskgroup and mounted
    please find the logs below:
    asmtool -list
    NTFS                             \Device\Harddisk0\Partition1              100M
    NTFS                             \Device\Harddisk0\Partition2            99900M
    NTFS                             \Device\Harddisk0\Partition3           376938M
    ORCLDISKDATA                     \Device\Harddisk1\Partition1             1022M
    ORCLDISKDATA1                    \Device\Harddisk2\Partition1             1022M
    C:\Windows\system32>sqlplus / as sysasm
    SQL> select DISK_NUMBER,path from v$asm_disk;
    DISK_NUMBER PATH
              1 \\.\ORCLDISKDATA
              0 \\.\ORCLDISKDATA1
    SQL> select NAME,STATE,TYPE,TOTAL_MB,FREE_MB from v$asm_diskgroup;
    NAME                           STATE       TYPE     TOTAL_MB    FREE_MB
    DATA                           MOUNTED     NORMAL       2044       1942
    Now I am connected to sysdba and firing the command to create database it's showing me the following error :
    create database testdb
    ERROR at line 1:
    ORA-15000: command disallowed by current instance type
    How to troubleshot this problem?
    PFB the create database script :
    create database rohan
      logfile   group 1 ('+DATA\disk1\redo1.log') size 10M,
                group 2 ('+DATA\disk1\redo2.log') size 10M,
                group 3 ('+DATA\disk1\redo3.log') size 10M
      character set          WE8ISO8859P1
      national character set utf8
      datafile '+DATA\disk1\system.dbf'
                size 50M
                autoextend on
                next 10M maxsize unlimited
                extent management local
      sysaux datafile '+DATA\disk1\sysaux.dbf'
                size 10M
                autoextend on
                next 10M
                maxsize unlimited
      undo tablespace undoTBS
                datafile '+DATA\disk1\undo.dbf'
                size 10M
      default temporary tablespace temp
                tempfile '+DATA\disk1\temp.dbf'
                size 10M;

  • Oracle ASM slower?

    I setup two databases on the same server one configured to use Oracle ASM and the other just sitting on top of an LVM2 volume using the same set of disks. They are both configured exactly the same, but on the ASM database it takes 7 minutes to run a simple count on a large table and 2 minutes on the other. I noticed that when running the query on the ASM db the CPU usage stays very low, but on the other it goes to 100%. Is there some sort of tuning I need to do on the ASM side?

    Am using ASM extensively.. and no, it is not slower. If it seems to be, you need to pop the hood, inspect the setup and configuration and implementation - as it is likely flawed.
    On Linux, if you want to use ASM properly, then assign block devices directly to ASM. Do not put LVMs and cooked file systems and other software layers in between.
    From a Linux perspective: the only software layer that, IMO, can be below ASM is multipath. And if you're not using HBAs and external storage, or srp devices and Infiniband storage, then multipath is not needed and ASM should deal directly with the disks as block devices.

  • Oracle ASM Disks Question

    Hi,
    We have two Linux hosts accessing EMC SAN LUNs and we have Oracle ASM Disks created on those devices. Both the Linux Hosts (server1/2)are in once Dell Blade Chassis1 and one of the Server we are planning to move to a different Dell Chassis(2) to have redundency in case of Chassis1 faliure. But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array. I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. During this period EMC LUNs will not be visible to server2 and I would like to what will happen to ASM disks on the server2 and how to I accomlish this goal? Any detailed steps please? This is a production system with oracle 11g running.
    This is the output of emc powerpath devices (LUNs) which is same on both the hosts.
    [root@server2 ~]# powermt display dev=all | grep emc
    Pseudo name=emcpowerl
    Pseudo name=emcpowerj
    Pseudo name=emcpowerf
    Pseudo name=emcpowerk
    Pseudo name=emcpowerg
    Pseudo name=emcpowerh
    Pseudo name=emcpowerm
    Pseudo name=emcpoweri
    [root@server2 ~]#
    This are the ASM disks on both the hosts:
    [root@server2 ~]# oracleasm listdisks
    DATA01_F1
    DATA01_G1
    DATA01_H1
    DATA01_I1
    FRA01_L1
    LOG01_J1
    LOG01_K1
    [root@server2 ~]#
    Thanks in advance.

    808306 wrote:
    But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array.This does not sound correct to me. WWNs are global - not local. If the WWN is foo123 on server1 for EMC LUN1, why would it not also be foo123 on server2 for EMC LUN1? When you move to server3 or install server3, why would EMC LUN1 not have a WWN of foo123 on server3?
    I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. Using Powerpath perhaps - using multipath, not. New devices (LUNs) can be made visible by the kernel my refreshing multipath - no reboot required. If existing LUNs are going to be changed - yes, a single reboot will be needed. But not multiple (unless you have a driver issue with stale connections not being reset on the storage server side).
    This is the output of emc powerpath devices (LUNs) which is same on both the hosts.We dropped Powerpath a long time ago. There were compatibility issues between it and AsmLib kernel drivers. Powerpath taints the Linux kernel and limits kernel upgrade flexibility. I refuse to run it on our new clusters. I use multipath instead - the very same s/w used by some of the largest clusters (with Pentabyte storage) in the world. The comfort factor using Open Source drivers (and certified for that kernel version) is significantly higher than installing 3rd party kernel driver binaries - and having to deal with a 2nd party when it comes to o/s and kernel support.

  • Oracle ASM disk to WWID

    Anyone know of a way to take an Oracle ASM disk (i.e. oracle ORCL:TEST_ASMDATA006) and finding the wwid of the underlying LUN? We are running 11.2.0.3 EE on redhat 5.8 with asmlib installed. Our current thought is we can take major minor and back track to multipath.conf file which we manually maintain when we add a lun. Would prefer a more direct way to do this if there is one.
    Thanks
    Steve

    You can query the physical device of a ASMLib volume using:
    /etc/init.d/oracleasm querydisk -p ASMVOL
    Then query the WWID:
    scsi_id -g -u -s /block/sda

  • Oracle ASM Disk Name Lenght Limit

    Hi,
    Does anyone know wheter or not oracleasm has a maximum disk name lenght limit, I have a situation where "#oracleasm listdisks" shows the same name for 5 of my disks and seems to have truncated the last character from the disk name.
    So, now my ASM Diskgroup is not starting up because it sees that there are "missing" disks, but they are not missing, they are just listed with the same Disk Name.
    Commands used to create the disks:
    oracleasm createdisk RAC_DATA146_500GB_DISK001 /dev/emcpowerek1
    oracleasm createdisk RAC_DATA146_500GB_DISK002 /dev/emcpowerem1
    oracleasm createdisk RAC_DATA146_500GB_DISK003 /dev/emcpowerej1
    oracleasm createdisk RAC_DATA146_500GB_DISK004 /dev/emcpowerel1
    oracleasm createdisk RAC_DATA146_500GB_DISK005 /dev/emcpowerei1
    Now, see the output when I do a querydisk:
    [root@birac01 ~]# oracleasm querydisk /dev/emcpowerek1
    Disk "/dev/emcpowerek1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
    [root@birac01 ~]# oracleasm querydisk /dev/emcpowerem1
    Disk "/dev/emcpowerem1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
    [root@birac01 ~]# oracleasm querydisk /dev/emcpowerej1
    Disk "/dev/emcpowerej1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
    [root@birac01 ~]# oracleasm querydisk /dev/emcpowerel1
    Disk "/dev/emcpowerel1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
    [root@birac01 ~]# oracleasm querydisk /dev/emcpowerei1
    Disk "/dev/emcpowerei1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
    So, it looks like the version of oracleasm that I'm running has a name lenght limit? IS this possible?
    [root@birac01 ~]# rpm -qa | grep oracleasm
    oracleasm-support-2.0.3-1
    oracleasm-2.6.9-55.ELsmp-2.0.3-1
    oracleasmlib-2.0.2-1
    Can anyone please help?
    Regards
    Stephan
    Edited by: user1675141 on Mar 22, 2011 2:10 AM

    Oracleasmlib does not seem to advertise such information. As such it might be a poor design that it is not verifiying user input.
    According to http://download.oracle.com/docs/cd/E11882_01/install.112/e17212/storage.htm#CWLIN294
    +"The disk names that you specify can contain uppercase letters, numbers, and the underscore character. They must start with an uppercase letter."+
    The Oracle ASM assistant documentation shows:
    +"A volume name of Oracle ASM can be a maximum of 11 alphanumeric characters; dashes are not allowed. The first character must be alphabetic"+
    Why are you using such long volume and device names in first place? I would abbreviate the names and make them shorter. The url above will also show you information about configuring multipath and udev.
    You could try to query device names using:
    /etc/init.d/oracleasm querydisk -p VOL1
    and rename volumes using:
    /etc/init.d/oracleasm renamedisk /dev/sdb1 VOL1
    Edited by: Dude on Mar 22, 2011 5:19 AM

  • Oracle ASM will support without installing ASMlib in Oracle11g r2 RAC

    Dear Expert,
    We want to use the Oracle ASM for Oracle11g r2 RAC.
    Can shared storage(SAN) raw partitions support for ORACLE ASM for storage of OCR,VOTING and DATABASE and ARCHIVE LOGS???
    In Oracle10g RAC
    ASM is capable of referencing disks as raw devices or by using the ASMLib software.
    IS there any alternative for ASMLib in Oracle11g RAC or it's mendatory!!!
    plz help for clear the understanding of Oracle ASM with Oracle11g r2 RAC.
    Regards
    Hitesh Gondalia
    Edited by: hitgon on Aug 11, 2011 2:20 AM
    Edited by: hitgon on Aug 11, 2011 2:23 AM

    hitgon wrote:
    Dear Expert,
    Can shared storage(SAN) raw partitions support for ORACLE ASM for storage of OCR,VOTING and DATABASE and ARCHIVE LOGS???
    In Oracle10g RAC
    ASM is capable of referencing disks as raw devices or by using the ASMLib software.
    IS there any alternative for ASMLib in Oracle11g RAC or it's mendatory!!!
    plz help for clear the understanding of Oracle ASM with Oracle11g r2 RAC.
    Regards
    Hitesh Gondalia
    Edited by: hitgon on Aug 11, 2011 2:20 AM
    Hi,
    It's not mandatory to use ASMLib (not all systems can run ASMLib), you can use raw device or block device for ASM
    Cheers

  • Oracle ASM Lib

    I have installed Oracle ASM Libraries on Red Hat Linux and configured ASM. Now recently we applied OS security patches for Linux and it upgraded the kernel version, so the ASMLib module is not starting now, and ASM Libraries are not available for this Kernel version.
    How to handle that, is it possible to start ASM instances without ASMLib Module is running?
    Edited by: ManoRangasamy on Feb 23, 2012 2:31 PM

    ManoRangasamy wrote:
    The storage that we are using is Fiber via HBA (created LUNs)Dual port HBAs?
    I just have a question, instead of configuring UDEV or ASMLib, if we change the disk string to "/dev/*". will that work, what will be the problem if we configure like this.
    udev is already "installed" - it is part of the kernel.
    Also, you likely have dual port HBAs. Which means 2 I/O paths exist to a LUN. The kernel will therefore see 2 scsi devices for that single LUN.
    ASM does not support multiple paths to a single device. It will read the same disk label via 2 scsi devices. It needs to see that LUN as a single device.
    This is where multipath (also standard install for enterprise kernels) comes into play. It detects the multiple paths to the same LUN and creates a single logical device for that multi path LUN.
    So the kernel will for example see devices +/dev/sdk+ and +/dev/sdl+ as the 2 paths to the same LUN. ASM does NOT support this - and these device names can change each time when you reboot the server. So you cannot rely on the device names being the same either.
    multipath handles these dynamic device names via WWIDs and will (for example) create +/dev/dm-1+ as the multipath device and also create a logical alias for it (you control this name via the config file) - e.g. +/dev/mpath/DATA_LUN1+.
    You point ASM's discovery string to +/dev/mpath/*+.
    No ASMLib needed. Standard Linux. Using the very same software as used in HPC (High Performance Computing) Linux clusters of over a 1000 nodes.. In fact, this s/w was specifically developed for HPC cluster. It works. It is robust. It is Open Source.
    A Linux RAC or database server using SAN/NAS type storage, should be using udev and multipath. And I would seriously question the stability and robustness of using a configuration that does not use standard HPC and enterprise Linux components.

Maybe you are looking for

  • Strange issue with table control in dialog programming! Please help!

    Hello everyone:             I have a table control on screen painter and I have atleast 10 rows on display when user calls the screen. If I have 15 columns then ofcourse user has to scroll down to see extra rows. I have line selection set to "single"

  • ICloud password not saving in Mail?

    Since updating to Mavericks my iCloud password will not save into my account in Mail. I enter it in the Account Preferences and Save it and then it dissapears. It also askes for the password every time i restart Mail. This is pretty annoying and i'm

  • Output from Web, Printing OR Export to Excel

    Hi. A minimum requirement for GoLive of our Web project is that there should be some way of outputting the result of the query, and for the time being we can live with it being EITHER printing OR Export to Excel. (Output to Excel means output to 'pro

  • I have signed into adobe, but unable to click on the create PDF icon? Why?

    Has anyone else encountered this problem? if so how did you resolve it?

  • Desk-top/Yosemite

    Why do I keep getting Messages Agent wants to use the "log in"keychain, and asks for keychain password. How secure is this?