How card ASM disk path to the physical drive on AIX?

Hello world
I work on a plug-in for Oracle Enterprise Manager 10 g 2 on AIX 5.3 which monitors storage bays and supports databases in addition to the "emrep" database ASM One of the metrics of this plug-in is populated by the result of a korn shell script. Directly, the script runs on the AIX host (connected to the storage array cable CF via HBA ports) and retrieves the mapping for - disk - logical disk - LUN - ASM.

Now, I was able to get the mapping to physical disk - logical disk - LUN, but could not map drive ASM. I googled a lot for no idea, but did not find the answer to this specific problem.

Now, I have the list of physical disks used for the DSO by the command:

LSPV

hdisk0 0001c22ac8d664ca rootvg active
hdisk1 0001c22aa51f496a Oracle active
hdisk2 0001c22ac478263a zero active
hdisk3 0001c22ac472549a Oracle active
hdisk4 0001c22ac4725d6a Oracle active
hdisk5 none None
hdisk6 none None
hdisk7 none None
hdisk8 none None
hdisk9 none None
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdisk14 none None
hdisk15 none None
hdisk16 none None

Hdisk5-16 discs are ASM disks and there are currently of no PVID.

I also have the list of ASM disks by the command:

ls-l/dev | grep oracle

CRW - rw - 1 oracle dba 22, 6 12 may 00:02 asm_rd10_1a
CRW - rw - 1 oracle dba 22, 10 Apr 21 07:27 asm_rd10_1b
CRW - rw - 1 oracle dba 22, 7 May 09 13:53 asm_rd10_1c
CRW - rw - 1 oracle dba 22, 8 May 09 13:53 asm_rd5_1a
CRW - rw - 1 oracle dba 22, 4 12 may 00:02 asm_rd5_1b
CRW - rw - 1 oracle dba 22, 9 APR 21 07:28 asm_rd5_1c
CRW - rw - 1 oracle dba 22, 12 12 may 00:02 asm_xbb2_rd10_1a
CRW - rw - 1 oracle dba 22: 11 Apr 24 07:34 asm_xbb2_rd10_1b
CRW - rw - 1 oracle dba 22, 13 May 09 13:53 asm_xbb2_rd10_1c
CRW - rw - 1 oracle dba 22, 16 12 may 00:02 asm_xbb2_rd5_1a
CRW - rw - 1 oracle dba 22, 14 Apr 24 07:34 asm_xbb2_rd5_1b
CRW - rw - 1 oracle dba 22, 15 May 09 13:54 asm_xbb2_rd5_1c

Now, I'm looking for a way to map these two lists with each other and had no luck so far.
Oracle provides this information somewhere in the OEM installation structure or y at - it a command in AIX that could provide a way to map the ASM disks on the physical disks?

Any help on this is greatly appreciated. Thanks in advance...


FYI: ASMLib driver is not present on the system.

I am not familiar with aix, but I think you can get the major and minor numbers as follows:

ls-l/dev/asm_rd_10_1a
CRW - rw - 1 oracle dba 22, 6 12 may 00:02 asm_rd10_1a
ls-l/dev/hdisk5
CRW - rw - 1 root root 22, 6 12 may 00:02 hdisk5

the numbers would be 22 and 6.

That's just a guess, on HP - UX, it's like that, but it will be a little tricky

Tags: Database

Similar Questions

  • Need to know how to describe something to confirm the physical ESX servers have 2 good trails in the SAN

    Hello

    I wanted to know "how to do something to confirm the physical ESX servers have 2 good trails in the SAN script" via power Cli script.

    Kindly help me for the script

    Thank you

    KR

    Try the following lines

    Get-VMHost | Get-ScsiLun |
        Select @{N="Hostname";E={$_.VMHost.Name}},
        CanonicalName,
        @{N="Active Paths";E={($_ | Get-ScsiLunPath | where {$_.State -ne "dead"}).Count}}
    

    It will show the number of deaths per LUN non-chemins

  • Windows xp professional... cannot download adobe reader... not going to path to the c: drive

    Professional window for work stuff xp computer... can not download adobe reader... not going to path to the C: drive...

    Hi jonb96517806,

    Restart your system and then try to download/install Reader using this link Adobe - Adobe Acrobat Reader DC Distribution.

    Kind regards
    Nicos

  • My C: drive is 4 GB SSD & has no space. How to install adobe reader on the D: drive?

    My C: drive is 4 GB SSD & has no space. How to install adobe reader on the D: drive?

    Download Player 11 Offline Installer link below

    http://get.Adobe.com/reader/Enterprise/

    and then install launch by double click on the exe.

    You will see 3 buttons on the user interface of the installation and the first button is 'Change Destination Folder'

    By clicking on it, you can change the installation location.

    I hope this helps.

  • PowerEdge T-420 with Perc 310 - how do controller ports relate to the physical disks

    I understand that Perc 310 has two connectors for SAS, each controller has four ports.  However, I can't end on how they relate to real disk slots in the bottom of basket.

    We will have four disks raid 1 + 0, and I want to make sure they are properly prepared so that if a channel controller fails it has the right mix of disks on the other channel continues to run.

    Thank you

    Sorry NickC_UK

    It would be 0-7 on the SAS and SAS b 8-15.

  • How to install a new hard drive and create recovery disks before installing the new drive?

    HP Pavilion Dv5 - 2077 cl/entertainment laptop
    Product #: WQ799UA #ABA
    Windows 7 64 bit

    Hello-

    So for a while now, I get a blue screen randomly, popping up all the time and some time, who is going to "clear my physical memory" or something and then restart after like 30 seconds. I posted in the forums, once it all started and support told me to run tests and finally told me that my hard drive has been the reason for these constant errors. Then I backed up everything, in anticipation of a real accident.

    I'm about to order a new hard drive from Newegg.com, and I would like to know if it is difficult to replace a hard drive in a laptop, or if I should have Geek Squad do it for $50. In addition, I don't think I have the disk for the operating system that came with my computer, how do I order that HP and how much is it?

    And, last but not least, is there a message or a video with instructions on how to install a hard drive and operating system?

    Here is the hard drive Im currently looking, if could let me also know if this would be my laptop and if it's a good idea that would be great:

    Thank you very much.

    Hello

    Yes, that's exactly what you do

    Kind regards

    DP - K

  • How to change default paths in the Finder

    Hello world

    I would like to create a partition on the hard drive to separate the BONES of my personal data (documents, pictures, movies, music, etc.).

    How can I change the paths by default for Documents, Images, Photos in the Finder so that they "point" the the new structure in the other partition?

    Thanks for any idea!

    Mathieu.

    I don't know much on El Capitan. You used to be able to do with symbolic links that look like aliases, but are certainly not aliases.

    Some of these things you can do with the applications themselves. iTunes (and probably all) allow you to store media or even your entire library in a different location.

  • How to activate predictive text on the physical keyboard on x 2 Android Slate10

    Hello

    I just bought a 10 x 2 with 4.3 installed Android slate. I want to know how to disable the predictive entry that appears when I use the physical keyboard (or the called party base).

    When I use the Tablet without the base. The predicitve entry does not appear because I disabled it under "language settings &", but it seems that the same setting does not apply when I connected the tablet at the base.

    Help, please. The pop-up window is really annoying and kill my otherwise wonderful experience with this tablet.

    For example when I want google information on this product, I typed Slate10 but won't allow not predictive entry hit me beyond Slate1, because they do not have Slate10 on the list so I had to hit a space and come back to put in the '0'.

    Thank you.

    Kind regards

    Irene

    Hi, I had just accidentally discovered the solution!
    'Shift + Enter' will toggle the prediction of input when you use the keyboard/base.

  • Is there an easy way to identify the type of disk required by the optical drive in my computer? How to identify DVD + compared to a DVD player?

    At home, my wife and I have two computers four desktop computers and laptops.  I often bring the laptop I got from my employer to use when I travel or work at home. Is there an easy way to identify the type of optical drive required by the optical drive in a computer?  How to identify DVD + compared to a DVD player?  I have never the disk right when I need to burn something.  Thank you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/which-CD-or-DVD-format-should-I-use

    Should which CD or DVD format I use

    The above should help you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD

    General information on CD burning.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to apply join types in the physical layer

    Hi all

    In Oracle Bi Admin tool, I've imported the views in the physical layer, and tried to reach points of view, now can we change the type of join in the physical layer?
    sound off for me, how can I register the type of join as "left outer" or "right outer" participates in the physical layer.

    can you pls help me, awating for your answers

    Kind regards
    Mary

    Hi Mary,

    In fact, you do not specify such information until the layer of logic (MDB). Just pretend that your physical join is an inner join for the moment. Put the tables in the MDB layer. Then look at the MDB joins. You will see that they are created as complex joins in the MDB layer, it is a best practice in the MDB layer. You will also notice a drop down which allows you to change the join of inner left outside/right external/full outer.

    Hope that helps!

    -Joe

  • I get a warning message that the disk space on the C drive is low. Is there a way to disable the messeage? How? and it is advisable to do so?

    Low warning message indicating the space on the C drive. The message can be disabled? How? should I do?

    Hello

     I suggest you to refer to this link and check if it helps:

    http://support.Microsoft.com/kb/285107

    It will be useful.

  • How to deselect a path in the path Panel?

    I usually deselect a path by clicking on an empty area in the path Panel. But what path Panel is full (more than 30 channels fill the path Panel), unchecking a selected path is impossible.

    I can't hide the path selected by pressing 'Ctrl + Shift + H', but who just hide the path temporarily.

    I have a solution: select the time with the two layers and move them into move tool, the selected path will be deselected. But it's the inconvenience, and two layers that I select and move may not be useful.

    Is there a better solution?

    I think that the Panel of the path must have a quantity of area empty without worrying about the paths.

    Hello

    What version of photoshop are you using?

    If you have the shape or the access/pen selected tools path, hitting the enter/return key opinion to dismiss the paths?

    If you have selected another tool you might be able to press A button by pressing enter/return key to dismiss the paths.

  • How to make Vista partition on the HARD drive as first with recovery CD

    Hello

    I want to format and retrieve information from my 'Vista' (C: / /) partition, which is the first. But when I choose the option "Format and recover to a first partition on your hard disk (without RE) ' the computer began to recover in" Type of Partition: windows NT NTFS (ID: 07) "whose size is only 1.50 GB.

    In the middle of the process, it shows not 'enough space on a disk.

    Question: How to make a 'vista' first partition? What is 'the first partition' in the second formatting option and recover the system?
    Thank you for your answers

    Hello

    Sorry, but you will not be able to do. I know it's a bad situation but if you use the first option that the whole HARD disk will be formatted and C new partition created. Second option, that you can not use at all. I tested it with my Satellite A100.

    I called Toshiba and they said that Toshiba work on new recovery options and new notebooks will have the best recovery option. Something like old installation expert ghost mode.

    I know it's wrong, but unfortunately there is nothing to do.

  • How can I get rid of the Flash Drive password?

    I recently bought a 16 GB USB key. When I plugged it in (Win 7 Ultimate) it came as improved storage and I created passwords.
    Now I can't use it on Vista and Xp computers. On vista I right click and select unlock, but nothing happens. On XP it appears as removable disk, and when I click on it it ask to insert the disc.

    How can I get rid of the password - in win 7 icant have a blank password for it

    Toshiba flash drive?

  • A satellite will not start - how to back up data from the HARD drive?

    Hello
    My laptop won't turn. How can I take backup of internal hard drive?

    Please read my writing as soon as POSSIBLE

    If you n t have access to your saved data remove the laptop HARD drive, connect it to the other PC as external device and you should have access to all stored data if the HARD drive is not defective.

    What you need is USB 2.0 IDE 2.5 HD enclosure disk hard drive / external case/Box.

Maybe you are looking for