Query on LUN mapping

Hi forum,

We have MD3200 I array (iSCSI). We have a LUN 1 TB mapped to a host group that contains 2 servers (Linux).

Now, we want to map this LUN on another Windows Server. (but do not want to remove the previous mapping).

Is it possible and if possible will have no impact on performance.

Thanking in advance

J.P. Raynaud

Unfortunately, if I understand you correctly you want to have the LUN to be mapped to Linux servers, and also on a Windows host, which is not a good idea. The reason is when you try to map the same LUN 2 different types of OS you will corrupt your data. What you want to do, is to have a virtual drive for Windows Welcome. This a medium VD would be for Linux and one for Windows and the performance would be great like that as well. I hope that answers your questions.

Tags: Dell Products

Similar Questions

  • Move a virtual machine that has a raw lun mapped to SAN

    Dear all,

    I need expert advice for this case. I have a virtual machine on a host with esxi 4.0, but due to many machines same virtual host we are experiencing memory problems and have decided to move this virtual machine to another host with less VM and less use of resources.

    I plan 1 HR time to perform this task, this virtual machine have two drives one windows partition and the second 20 GB as mapped lun on SAN. So when you move it to another host, what I'll do is tap to stop the virtual machine, go to another host and storage switch to VM folder and add the VM.vmx file to add it to the inventory of the new host. What about the case of raw LUN mapped, how to take care of it.

    Please advise, it is little urgent.

    Thank you

    I guess there is no vCenter at stake here and you have no option for vMotion? The RDM, I would like to stop the virtual machine, detach the RDM LUN, migrating the virtual machine and re - attach the RDM.  As long as the two hosts can see SAN/RDM, you should be good with that.

  • LUN mapping - duplicate Monday in ESXi

    Hello

    We have NetApp array with iSCSI to ESXi 5.0u1 servers.

    I'm trying to see if I can identify the iSCSI devices presented to the server ESXi as LUNS created on NetApp. So far, I was under the impression that this mapping must be one for our Installer, but this doesn't seem to be a case:

    That's what I see in the list of devices on the ESXi server. As you can see, the Monday is the same, but the size is different.

    screenshot.JPG

    Table of NetApp, a single LUN with LUN ID 4 (with 64 GB size) is presented. First initiator group is not used.

    Capture1.JPG

    This means that ESXi server MONDAY mapping is out of sync with NetApp table?

    How would I be able to identify the LUNs then - I thought that Monday would be a unique identifier, but now I'm at a loss.

    We use RDM in virtual mode, if it allows to specify the configuration.

    Thank you!

    The two LUNS have IDS unique naa. This makes the host thinks that those who are in fact different SCSI devices.

    One of your LUN has a duration of vmhba40:C0 name:T0: L4 while the other has vmhba40:C0:T1: L4, they are behind different targets.

    I would first of all check the initiator groups who have included concerned host iqn and check the unit number logic on NetApp, looking for a 8 GB LUN mapped to one of these groups.

    If you have integrated with vCenter VSC, you maybe more comfortable for the task above (I wish :))

    To ensure that you are on the right at a given time (i.e. before removing the LUN mapping or the number of unit logic itself, in which case you think, it is necessary), you may need to compare the serial number LUN with NAA ID reported by ESXi.

    The only way I have found so far is NetApp CLI: lun - x series

    This returns the serial number hexagonal LUN that actually fits NAA ID seen by the host. The drawback here is that you must specify a path for each LUN to check which can be a considerable effort if you have 100 LUNS to check.

    If anyone here knows better, please share!

    WBR

    Imants

  • LUN mapped to VMDK raw conversion

    I tried to convert a raw LUN mapped to a VMDK file on a server without importance. He worked as indicated.

    I'm not trying to do still more improtant servers. I can't find the instructions. I know that I found them here. I tried everything I can think of. Two things must be true.

    The post has been abolished.

    The search engine is bad.

    Anyway, I know that the command was something like that.

    vmkfstools-i & lt; src file & gt; thin d & lt; dest file & gt;

    Can someone point be right show or tell me the proper syntax?

    The order is right.

    But if you have vCenter you can easy to use migration: or a cold datastore migration or a SVMotion (if you have vCenter 4.0) allows you to convert your ROW in a "vmdk" disk

    André

  • Delete the ROW (but not the LUN) mapping file

    I am looking for a test of consistency here.

    I want to delete a ROW of a data store map file but does not affect the LUN.  The original question was that the virtual machine has a physical RDM mapped mode that would fail to vmotion.  vCenter reported that the ROW was not available on the other hosts; We checked that the LUN has been.  I ended up remove the ROW of the vm, quick vMotioning of the virtual machine and add the row as a new disk (virtual mode this time), actually create a new mapping file.  Now, all the works of the feature and the machine can vmotion around the cluster.

    It is now a week now, and all is well.  I would like to go back and remove the original (defective) rdm mapping file.  I've never done this, so I would like someone to check that there is no effect on the LUN it is / was mapped to.

    Furthermore, it's all about vSphere 4.1.  Problem was discovered to plug the hypervisors to ESXi 4.1 800380.  The virtual machine with the issue has been glued on an ESXi 4.1 host 433742.  It was the latest patch.  Machine virtual don't vmotion to other hosts until they were patches, while she probably had nothing to do with patch levels.

    Thank you

    Craig

    Hello

    You cannot delete the ROW from the data store where the virtual machine is running, because it is attached to the virtual machine.

    If you are talking about the old file RDM, which was under the old data store where previously the VM was lying and there is nothing to do with your existing VM that's running, you can remove the same. But if the same RDM file points to the current running VM, then you cannot delete the same.

  • the iSCSI LUN mapping

    How ESXi is mapped LUN vmfs iSCSI extends? The reason why I ask, is that in my opinion, he should do a mapping to make it persistent after a reboot?

    fajarpri wrote:

    @Rikard, similar like that. How ESX knows that Lun0 will extent1 and Lun1 goes to extend2 in this store a data?

    Wouldn't there is possibility that ESX detects Lun1 first than Lun0 and thus risk recognizing as extent1?

    I guess it's a bit 'Internal ESXi', but it should be the NAA or T10 number reported by the SAN and no id LUN itself using ESXi to recognize discs. Given that these numbers never change, there is risk of errors between reboots. I have a vague memory of which is a kind of question on the 3.x versions, but do not these days.

  • Added raw lun mapped as a new hard drive, but VM does not see it.

    ESX 4.0 with two Windows Server 2008 virtual computer running.

    Created with SAN volumes and put at the disposal of the ESX host.

    I went in with my client vSphere virtual machine settings and added a new hard drive > mapped raw lun, stored with VM, physical and everything seems to set up correctly after hitting good. I also increased the size of the other two disks on this virtual machine. I rebooted the VM and connected to the server to find that he does not see the new drive, or he does not see the new size increases for other readers. I rebooted the host and yet, nothing new.

    What have I done wrong? Why these changes are not recognized by the virtual machine?

    After the increase in the size of disk or adding new disks, you must go the the VM Windows disk management and resize or format/partition/boot disks.

    André

  • SQL query for the mapping of a set of prizes to a group of classrooms

    Hi all

    I use Oracle database 11g Release 2.

    I have the following data set:

    Classrooms
    ClassId ClassName ability group
    ------ ----------------------------------------------      --------------     -----------
    Babbage/software Engg Lab 1 24 1
    Basement 2 - block PG 63 1
    3 1 56 1 class
    Class 4 1 24 10
    Class 5 1 24 11
    Class 6 1 35 12
    7 13 42 1 class
    8 14 42 1 class
    9 15 42 1 class
    10 2 35 1 class
    11 3 35 1 class
    12 4 35 1 classroom
    13 5 35 1 class
    14 6 25 1 class
    15 7 25 1 class
    16 1 24 8 class
    17 9 24 1 class
    18 control Sys Lab 1 24
    19 dig & Embd Sys Lab 20 1
    20 PSD & Comm 20 1 Lab
    21 electromechanical system Lab 28 1
    Farabi 22/Web Tech Lab 1 36
    23 gen purpose Lab 40 1
    Shirazi/24dB Tech Lab 1 36
    ADV 25 elect Lab 30 2
    26 16 42 2 class
    27 17 49 2 class
    28 18 56 2 class
    29 19 42 2 class
    30 20 49 2 class
    Class 31 21 35 3
    32 22 35 3 class
    33 20 3 MDA lab

    DegreeBatches
    BatchId BatchName force
    ---------------     ----------------------- --------------
    1 BIT - 11 79
    2 BIT - 12 28
    3 BS (CS)-1 35
    4 BS (CS) 78-2
    5 BE (SE)-1 69
    6. BE (SE) 84-2
    7 BE (SE) 64-3
    8 84 BYTČA-7
    9 43 BYTČA-8
    BEE-1 10, 112
    11 151 BEE-2
    BEE-3 12, 157
    13 BEE-4 157

    I want to map a combination of batch of degree for a class rooms group of such distance that they make full use of the maximum capacity of the class rooms within a group (ideally), or as close to this as possible. Can it be done with a SQL query?

    Any response will be appreciated.

    The SQL Scripts to generate the required tables and populate data is less to:
    CREATE TABLE classrooms (ClassId NUMBER, ClassName VARCHAR2 (50), capacity NUMBER, group NUMBER);
    INSERT INTO the classrooms of the VALUES (1, "Babbage/software Engg Lab', 24, 1");
    INSERT INTO the classrooms of the VALUES (2, 'basement - PG block', 63, 1);
    INSERT INTO the classrooms of the VALUES (3, '1 class room', 56, 1);
    INSERT INTO the classrooms of the VALUES (4, '10 class room', 24, 1);
    INSERT INTO the classrooms of the VALUES (5, '11 class room', 24, 1);
    INSERT INTO the classrooms of the VALUES (6, 'class room 12', 35, 1);
    INSERT INTO the classrooms of the VALUES (7, 'class room 13', 42, 1);
    INSERT INTO the classrooms of the VALUES (8, 'class room 14', 42, 1);
    INSERT INTO the classrooms of the VALUES (9, '15 'class, 42, 1);
    INSERT INTO the classrooms of the VALUES (10, 'class 2', 35, 1);
    INSERT INTO the classrooms of the VALUES (11, 'class room 3', 35, 1);
    INSERT INTO the classrooms of the VALUES (12, 'class room 4', 35, 1);
    INSERT INTO the classrooms of the VALUES (13, 'class room 5', 35, 1);
    INSERT INTO the classrooms of the VALUES (14, 'class room 6', 25, 1);
    INSERT INTO the classrooms of the VALUES (15, '7 class room', 25, 1);
    INSERT INTO the classrooms of the VALUES (16, 'class Room 8', 24, 1);
    INSERT INTO the classrooms of the VALUES (17, 'class room 9', 24, 1);
    INSERT INTO the classrooms of the VALUES (18, 'Control Sys Lab', 24, 1);
    INSERT INTO the classrooms of the VALUES (19, 'Dig & Embd Sys Lab', 20, 1);
    INSERT INTO the classrooms of the VALUES (20, 'DSP & Comm Lab', 20, 1);
    INSERT INTO the classrooms of the VALUES (21, 'system ELECTROMECHANICAL Lab', 28, 1);
    INSERT INTO the classrooms of the VALUES (22, ' Farabi/Web Tech Lab', 36, 1);
    INSERT INTO the classrooms of the VALUES (23, 'Gen purpose Lab', 40, 1);
    INSERT INTO the classrooms of the VALUES (24, ' Shirazi/DB Tech Lab', 36, 1);
    INSERT INTO the classrooms of the VALUES (25, 'Elected Adv Lab', 30, 2);
    INSERT INTO the classrooms of the VALUES (26, 'class room 16', 42, 2);
    INSERT INTO the classrooms of the VALUES (27, 'class room 17', 49, 2);
    INSERT INTO the classrooms of the VALUES (28, '18 'class, 56, 2);
    INSERT INTO the classrooms of the VALUES (29, '19 'class, 42, 2);
    INSERT INTO the classrooms of the VALUES (30, 'class room 20', 49, 2);
    INSERT INTO the classrooms of the VALUES (31, 'class room 21', 35, 3);
    INSERT INTO the classrooms of the VALUES (32, 'room 22', 35, 3);
    INSERT INTO the classrooms of the VALUES (33, 'MDA Lab', 20, 3);

    CREATE TABLE DegreeBatches (BatchId NUMBER, BatchName VARCHAR2 (50), membership NUMBER);
    INSERT INTO DegreeBatches VALUES(1,'BIT-11',79);
    INSERT INTO DegreeBatches VALUES(2,'BIT-12',28);
    INSERT INTO DegreeBatches VALUES (3, 'BS (CS) - 1', 35);
    INSERT INTO DegreeBatches VALUES (4, 'BS (CS) - 2', 78);
    INSERT INTO DegreeBatches VALUES (5,'BE (SE) - 1', 69);
    INSERT INTO DegreeBatches VALUES (6,'BE (SE) - 2', 84);
    INSERT INTO DegreeBatches VALUES (7,'BE (SE) - 3', 64);
    INSERT INTO DegreeBatches VALUES(8,'BICSE-7',84);
    INSERT INTO DegreeBatches VALUES(9,'BICSE-8',43);
    INSERT INTO DegreeBatches VALUES(10,'BEE-1',112);
    INSERT INTO DegreeBatches VALUES(11,'BEE-2',151);
    INSERT INTO DegreeBatches VALUES(12,'BEE-3',157);
    INSERT INTO DegreeBatches VALUES(13,'BEE-4',157);

    Best regards
    Bilal

    Published by: Bilal on December 27, 2012 09:52

    Published by: Bilal on December 27, 2012 10:07

    Bilal, thanks for the nice problem! Another possibility to double check is to write a small PL/SQL function that returns 1 if a duplicate id is found, then equate to 0: "NUMBER of RETURN of Duplicate_Token_Found (p_str_main in VARCHAR2, p_str_trial VARCHAR2). It should analyze the second string and could use p_str_main LIKE '%', | l_id | ', %' for each id. In any case, the query complete (without that) is given below:

    Solution with names
    SQL> WITH rsf_itm (con_id, max_weight, nxt_id, lev, tot_weight, tot_profit, path, root_id, lev_1_id) AS (
      2  SELECT c.id,
      3         c.max_weight,
      4         i.id,
      5         0,
      6         i.item_weight,
      7         i.item_profit,
      8         ',' || i.id || ',',
      9         i.id,
     10         0
     11    FROM items i
     12   CROSS JOIN containers c
     13   UNION ALL
     14  SELECT r.con_id,
     15         r.max_weight,
     16         i.id,
     17         r.lev + 1,
     18         r.tot_weight + i.item_weight,
     19         r.tot_profit + i.item_profit,
     20         r.path || i.id || ',',
     21         r.root_id,
     22         CASE WHEN r.lev = 0 THEN i.id ELSE r.nxt_id END
     23    FROM rsf_itm r
     24    JOIN items i
     25      ON i.id > r.nxt_id
     26     AND r.tot_weight + i.item_weight <= r.max_weight
     27   ORDER BY 1, 2
     28  ) SEARCH DEPTH FIRST BY nxt_id SET line_no
     29  , rsf_con (nxt_con_id, nxt_line_no, con_path, itm_path, tot_weight, tot_profit, lev) AS (
     30  SELECT con_id,
     31         line_no,
     32         To_Char(con_id),
     33         ':' || con_id || '-' || (lev + 1) || ':' || path,
     34         tot_weight,
     35         tot_profit,
     36         0
     37    FROM rsf_itm
     38   UNION ALL
     39  SELECT r_i.con_id,
     40         r_i.line_no,
     41         r_c.con_path || ',' || r_i.con_id,
     42         r_c.itm_path ||  ':' || r_i.con_id || '-' || (r_i.lev + 1) || ':' || r_i.path,
     43         r_c.tot_weight + r_i.tot_weight,
     44         r_c.tot_profit + r_i.tot_profit,
     45         r_c.lev + 1
     46    FROM rsf_con r_c
     47    JOIN rsf_itm r_i
     48      ON r_i.con_id > r_c.nxt_con_id
     49   WHERE r_c.itm_path NOT LIKE '%,' || r_i.root_id || ',%'
     50     AND r_c.itm_path NOT LIKE '%,' || r_i.lev_1_id || ',%'
     51     AND r_c.itm_path NOT LIKE '%,' || r_i.nxt_id || ',%'
     52  )
     53  , paths_ranked AS (
     54  SELECT itm_path || ':' itm_path, tot_weight, tot_profit, lev + 1 n_cons,
     55         Rank () OVER (ORDER BY tot_profit DESC) rnk,
     56         Row_Number () OVER (ORDER BY tot_profit DESC) sol_id
     57    FROM rsf_con
     58  ), best_paths AS (
     59  SELECT itm_path, tot_weight, tot_profit, n_cons, sol_id
     60    FROM paths_ranked
     61   WHERE rnk = 1
     62  ), row_gen AS (
     63  SELECT LEVEL lev
     64    FROM DUAL
     65  CONNECT BY LEVEL <= (SELECT Count(*) FROM items)
     66  ), con_v AS (
     67  SELECT  b.itm_path, r.lev con_ind, b.sol_id, b.tot_weight, b.tot_profit,
     68          Substr (b.itm_path, Instr (b.itm_path, ':', 1, 2*r.lev - 1) + 1,
     69            Instr (b.itm_path, ':', 1, 2*r.lev) - Instr (b.itm_path, ':', 1, 2*r.lev - 1) - 1)
     70             con_nit_id,
     71          Substr (b.itm_path, Instr (b.itm_path, ':', 1, 2*r.lev) + 1,
     72            Instr (b.itm_path, ':', 1, 2*r.lev + 1) - Instr (b.itm_path, ':', 1, 2*r.lev) - 1)
     73             itm_str
     74    FROM best_paths b
     75    JOIN row_gen r
     76      ON r.lev <= b.n_cons
     77  ), con_split AS (
     78  SELECT itm_path, con_ind, sol_id, tot_weight, tot_profit,
     79         Substr (con_nit_id, 1, Instr (con_nit_id, '-', 1) - 1) con_id,
     80         Substr (con_nit_id, Instr (con_nit_id, '-', 1) + 1) n_items,
     81         itm_str
     82    FROM con_v
     83  ), itm_v AS (
     84  SELECT  c.itm_path, c.con_ind, c.sol_id, c.con_id, c.tot_weight, c.tot_profit,
     85          Substr (c.itm_str, Instr (c.itm_str, ',', 1, r.lev) + 1,
     86            Instr (c.itm_str, ',', 1, r.lev + 1) - Instr (c.itm_str, ',', 1, r.lev) - 1)
     87             itm_id
     88    FROM con_split c
     89    JOIN row_gen r
     90      ON r.lev <= c.n_items
     91  )
     92  SELECT v.sol_id,
     93         v.tot_weight s_wt, v.tot_profit s_pr, c.id c_id, c.name c_name, c.max_weight m_wt,
     94         Sum (i.item_weight) OVER (PARTITION BY v.sol_id, c.id) c_wt,
     95         i.id i_id, i.name i_name, i.item_weight i_wt, i.item_profit i_pr
     96    FROM itm_v v
     97    JOIN containers c
     98      ON c.id = To_Number (v.con_id)
     99    JOIN items i
    100      ON i.id = To_Number (v.itm_id)
    101   ORDER BY sol_id, con_id, itm_id
    102  /
    
        SOL_ID S_WT S_PR  C_ID C_NAME          M_WT C_WT  I_ID I_NAME     I_WT I_PR
    ---------- ---- ---- ----- --------------- ---- ---- ----- ---------- ---- ----
             1  255  255     1 SEECS UG Block   100  100     1 BIT-10       35   35
                                                             2 BIT-11       40   40
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   70     4 BSCS-3       40   40
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   85     3 BSCS-2       35   35
                                                             5 BEE-4        50   50
             2  255  255     1 SEECS UG Block   100   95     4 BSCS-3       40   40
                                                             6 BICSE-7      25   25
                                                             7 BESE-3       30   30
                             2 IAEC Building     70   70     1 BIT-10       35   35
                                                             3 BSCS-2       35   35
                             3 RIMMS Building    90   90     2 BIT-11       40   40
                                                             5 BEE-4        50   50
             3  255  255     1 SEECS UG Block   100  100     3 BSCS-2       35   35
                                                             4 BSCS-3       40   40
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   65     1 BIT-10       35   35
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   90     2 BIT-11       40   40
                                                             5 BEE-4        50   50
             4  255  255     1 SEECS UG Block   100  100     3 BSCS-2       35   35
                                                             4 BSCS-3       40   40
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   70     2 BIT-11       40   40
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   85     1 BIT-10       35   35
                                                             5 BEE-4        50   50
             5  255  255     1 SEECS UG Block   100   95     2 BIT-11       40   40
                                                             6 BICSE-7      25   25
                                                             7 BESE-3       30   30
                             2 IAEC Building     70   70     1 BIT-10       35   35
                                                             3 BSCS-2       35   35
                             3 RIMMS Building    90   90     4 BSCS-3       40   40
                                                             5 BEE-4        50   50
             6  255  255     1 SEECS UG Block   100  100     2 BIT-11       40   40
                                                             3 BSCS-2       35   35
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   65     1 BIT-10       35   35
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   90     4 BSCS-3       40   40
                                                             5 BEE-4        50   50
             7  255  255     1 SEECS UG Block   100  100     2 BIT-11       40   40
                                                             3 BSCS-2       35   35
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   70     4 BSCS-3       40   40
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   85     1 BIT-10       35   35
                                                             5 BEE-4        50   50
             8  255  255     1 SEECS UG Block   100  100     1 BIT-10       35   35
                                                             4 BSCS-3       40   40
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   70     2 BIT-11       40   40
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   85     3 BSCS-2       35   35
                                                             5 BEE-4        50   50
             9  255  255     1 SEECS UG Block   100  100     1 BIT-10       35   35
                                                             4 BSCS-3       40   40
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   65     3 BSCS-2       35   35
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   90     2 BIT-11       40   40
                                                             5 BEE-4        50   50
            10  255  255     1 SEECS UG Block   100  100     1 BIT-10       35   35
                                                             3 BSCS-2       35   35
                                                             7 BESE-3       30   30
                             2 IAEC Building     70   65     2 BIT-11       40   40
                                                             6 BICSE-7      25   25
                             3 RIMMS Building    90   90     4 BSCS-3       40   40
                                                             5 BEE-4        50   50
            11  255  255     1 SEECS UG Block   100  100     1 BIT-10       35   35
                                                             3 BSCS-2       35   35
                                                             7 BESE-3       30   30
                             2 IAEC Building     70   65     4 BSCS-3       40   40
                                                             6 BICSE-7      25   25
                             3 RIMMS Building    90   90     2 BIT-11       40   40
                                                             5 BEE-4        50   50
            12  255  255     1 SEECS UG Block   100   95     1 BIT-10       35   35
                                                             3 BSCS-2       35   35
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   70     2 BIT-11       40   40
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   90     4 BSCS-3       40   40
                                                             5 BEE-4        50   50
            13  255  255     1 SEECS UG Block   100   95     1 BIT-10       35   35
                                                             3 BSCS-2       35   35
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   70     4 BSCS-3       40   40
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   90     2 BIT-11       40   40
                                                             5 BEE-4        50   50
            14  255  255     1 SEECS UG Block   100  100     1 BIT-10       35   35
                                                             2 BIT-11       40   40
                                                             6 BICSE-7      25   25
                             2 IAEC Building     70   65     3 BSCS-2       35   35
                                                             7 BESE-3       30   30
                             3 RIMMS Building    90   90     4 BSCS-3       40   40
                                                             5 BEE-4        50   50
    
    98 rows selected.
    
    Elapsed: 00:00:01.42
    

    Published by: BrendanP on January 20, 2013 11:25
    I found the need to deduplicate regular expression:

    AND RegExp_Instr (r_c.itm_path | r_i.path, ',(\d+),.*?,\1,') = 0)

  • LUN mapping

    Please someone can it confirm for me.

    Even though I know that you use unique LUN during the mapping of storage to a host of vSphere, can I use the same logic unit number when mapping to different targets (this is all on iSCSI by the way).

    I mean if I have mapped to storageA LUN0, can I also map to LUN0 in storageB to the same host (integer the same HBA)

    Yes, you can safely

    Follow the guide with more information

    If you have found this information useful, please consider awarding points to 'Correct' or 'Useful'*.

  • SAN LUN mapping

    Hi all

    Just a quick question, in are environment we use ESX 4.0 Update 2. We use a SAN that is connected through fibre channel. I want to know it's possible map SAN LUNS directly to a virtual machine?

    You can do this with NPIV, where your virtual machines get there own virtual fiber HBA and WWN adapters and you then use your San to map LUNS to these WWN. Your esx host must be able to see the SAN for this to work and there are a few prerequisites more.

    Scott Lowe has a good article here: http://blog.scottlowe.org/2009/11/27/understanding-npiv-and-npv/

    and also the configuration of VMware SAN guide.

    Hope this helps,

    Dan

  • Increase in the size of a LUN mapped Raw

    I need to increase the size of a mapped LUN Raw that I connected to one of our servers. I'm unable to increase the size of it on the Hardware tab in the properties of the VM because there aren't any options there to do this, in contrast to the virtual disks. The only information about it is that it is in physical compatibility mode.

    Pointers would be appreciated.

    Hello.

    You will need to do this on the side of SAN storage, using its software.  Once the disc has been increased in size, you can use the native OS utilities (such as diskpart in Windows) to spread the disk inside the VM.

    Good luck!

  • VCB Server LUN mapping

    Hey guys,.

    I'm the 'all round' I.T. guy here at the school where I work. I am employed as a tech but end up doing more than that usually. Basically, I am trying to install a box of Veeam 3 VCB. I have automount disabled etc, and followed the guide VCB, notably by changing the config .js file.

    When I try and make a CF backup using Veeam 3 may not see the LUNS ESX. The VCB is running back 1 x a Brocade Silkworm 200e, then the MSA1500 Emulex card.

    My problem is that I do not know how to present LUNS to the VCB server, as I have never done this before. The Emulex card reports as a link to the TOP and 4 g/b.

    Can I use the HBA Anywhere map software to present LUNS ESX Server VCB? Or is it done by the FC switch using the WWPN?

    Any help would be greatly appreciated. I'm sure once I presented LUNS it will work OK from there.

    See you soon.

    Hi James_08,

    First, you must go to your FC - SW to create a SAN zoning that connects your server VCB to your MSA. Once you made go to your MSA1500 and create a new presentation for the Vmware Datastores to your VCB server. The logic unit number number must be the same for all hosts (if your Datastores LUNS are 10, 11 12, must have the same number LUN to all servers).

    Do not forget to set "automount disable" and "automount scrub" in VCB server by using diskpart.

    Once you have done so, you will have access to your server VCB data warehouses.

    Kind regards.

  • LUN mapping question

    Greetings community, I have a rather weird question I hope one of you can help me with.

    We have a server ESXi (3.5 U4) hosting a Server 2003 Windws running SQL 2005.  This virtual machine using Microsoft iSCSI Initiator to map directly to ONE of our iSCSI for SQL data storage device and record volumes.  We know that this isn't the most effective way to achieve this, where the following question:

    If stop us the virtual machine and and change the LUNS will lose us the data on them to RDM to present directly to the guest?  Windows will recognize the new disks properly?

    Thank you much for the help

    You won't lose any data. just remove it and add it. Windows should simply acknowledge once again with no problems.

    Duncan

    VMware communities user moderator | VCP | VCDX

    -

  • SCVMM and LUN Mapping issue

    Hi all

    We have C7000 blade Gen9 servers and manage through the HP ONEVIEW. We have installed HYPER V and in addition, we have 2 virtual machines running on that. We must create the Windows cluster to that. I therefore created a Virtual SAN Manager and assigned WWN to the virtual machine.

    When you assign the LUNS to the virtual machine, its not detecting not not the OS level. HITACHI V OPEN I added manually in the MPIO, but logic unit number is not visible. When I checked in the Device Manager it shows like device hidden in the server.

    Also I need a suggestion for the below,

    We have virtual machines HYPER v for SCVMM.

    Is it mandatory to have the Windows for SCVMM Failover Cluster in a virtualized environment?
    Also, have we not create HYPER V failover cLUSTER to manage the HYPER-V hosts in SCVMM?
    Cant, we manage the guest individually through SCVMM?
    If we all the Hyper-V cLUSTER, all guests will have 2 a throgh redundancy the Cluster FAILOVER and new to SCVMM. Whats is the best practice.

    Help, please

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Label of the ASM to name of LUN mapping; Are not even necessary device names when you use ASMLib?

    = Environment details start =.

    OS: Oracle Linux 6.4

    Version Infra grid: 11.2.0.4

    Storage: EMC VMAX

    ASM Lib version:

    # rpm - qa | grep oracleasm

    oracleasm-support - 2.1.8 - 1.el6.x86_64

    oracleasmlib - 2.0.4 - 1.el6.x86_64

    oracleasm version came not in rpm-qa output may be because it is part of the Oracle Linux kernel. But the 2 components above are not

    = Environment details end =.

    We have a 2 node RAC cluster.

    We wanted to add 2 LUNS to our data Diskgroup and asked team storage available to both nodes of the cluster.

    After that they provided, the Linux Admin scanned the LUN and powerpath device names were generated. The powerpath device names like SCSI logic unit number names are incremented sequentially. Because, two additional powerpath LUN used to Node1 to a local file system, the names of powerpath were incrementing differently in the two nodes.

    Thus, for the same LUNS emcpowerpath names differed in Node2. Linux Admin did not notice this difference. And he told us the names of newly added from Node1 LUNS powerpath that have been

    / dev/emcpowerv

    / dev/emcpowerw

    But in Node2, the same LUN were appointed

    / dev/emcpowert

    / dev/emcpoweru

    The DBA guess powerpath name these 2 LUNS will be same on Node2, label the discs to help

    oracleasm createdisk DATA17/dev/emcpowerv1

    oracleasm createdisk DATA18/dev/emcpowerw1

    After marking in node 1, the DBA ran scandisks in Node2. But while the oracleasm scandisks in Node2 is running, it does not seem to/dev/emcpowerv and/dev/emcpowerw in Node2. Instead, ASMLib is smart enough to read the LUN ID in Node1 and search devices powerpath with the same LUN ID and labels as Node1. What's it like in Node2, / dev/emcpowert is labeled DATA17 and/dev/emcpoweru is labeled DATA18 correctly, as shown below.

    Node1

    Node2

    LUN ID

    Label of the ASM

    / dev/emcpowerv

    / dev/emcpowert

    873F

    DATA17

    / dev/emcpowerw

    / dev/emcpoweru

    629:

    DATA18

    Confirmed using the oracleasm querydisk Pei/dev/emcpower < x > .

    During labelling using the oracleasm createdisk , since we use the LUN name I always thought that asmlib dealt only with the names of devices (Powerpath name in this case). I didn't know that ASMLib treats ID LUN. If ASMLIB faces in LUN ID internally, then you don't need to have the same name for a particular LUN for disks shared in different RAC nodes? Right?

    ASMLIB contains 3 packs. Oracleasmlib, which is distributed under a license of Oracle user space and is not part of the standard GPL software distribution. Oracleasm-support, which is in the standard repository and kernel driver of Oracleasm, which is included in the core Oracle UEK only or distributed by Red Hat to RHCK kernel. The subsequent RHCK driver requires a Red Hat subscription. You need all 3 installed packages.

    ASMLib doesn't care to the SCSI ID or device names. When you configure a device to ASMLIB, he writes a header special disk in the device, the command scandisk read and identify a device. ASMLIB devices are populated under the tree of device/dev/oracleasm and found by ASM using the default ORCL: device chain.

    Don't forget that ASMLIB does not work with multiple devices and if you use DB-Multipath or EMC Powerpath, you need to blacklist the physical devices so ASMLIB will use powerpath or multipath device instead. Otherwise there will be no failover devices like ASMLIB will simply use the first device found and ignore the other. Check the following:

    http://www.Oracle.com/technetwork/topics/Linux/multipath-097959.html

Maybe you are looking for