SAN Storage Configuration – Solaris 10 with native multipathing and veritas volume manager

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

Loading Facebook Comments ...

14 Responses

  1. Yogesh Raheja says:

    Nice post Ram. This will the base for any storage migration. (if we are using veritas copy method).

  2. Saurabh says:

    Very useful post. Thanks a lot Ramdev.

  3. Bonny says:

    very useful post.Thanks Ramdev.colud you please publish a post on Quick I/o concept

  4. Bas says:

    Thanks Ram, Very useful stuff.

  5. Ramdev says:

    @Bonny – Sure, we will add your request in our writing queue.

  6. Sai Pamidigantam says:

    Came across this through linkedln.
    Overall a simple procedure to identify and add LUNs to DGs. I assuming you are using VxVM 5.x here. It is always good to give the version numbers and other assumptions ( you are using EMC storage, EMC software, Solaris Native mpath etc)  while writing these articles.
    I avoid using devfsadm -Cv for new disk file creation, instead use cfgadm -c configure . then to echo |format. You will know immediately if disks are not seen any path to report back to Storage Admin ( assuming it is different support setup).  
    Most of the industry using VxDMP or EMC powerpath due to their advantages compared to native multipathing, so an SA should be familiar with vxdmpadm and powermt commands too.
    When a large number of LUNs are assigned to a system, script the labeling the disks, using 
    format -f $disk_name
    with command_file containing just 
     label
     q
     y
    This is my first post here, will come back as often I can from now.

  7. Yogesh Raheja says:

    @Sai, thanks for your advice. Yes its always good to lable large no. of disks while doing labeling or adding them into Dg etc etc… But here we are first trying to build base for begineers also so that they wont get confused initially with scripts or complex commands. Also you are again right that in most of the environments DMP or EMC powerpath is used and its really very good to be familar with Powermt and vxdmp commands. You will find these commands with certain activity at gurkulindia. Thanks again for your advice hope to see your comments on our further posts also.

  8. shekar says:

    RAm/Yogesh

    :Once we detect the new disks from EMC
    39. c3t60060480000190104489533033353638d0 <== new entry
    44. c3t60060480000190104489533033353634d0 <== new entry

    We are foratting and labeling it 39 ,44 .since were are using VVM ,so we are initilization the same emc under vvm, is this aplicabke if i use zfs on solairs 10 ? it means i can skip Veritas Configuration for the New Storage Disks if i use zfs .

    on the other upodates in your sites (Configuring Solaris 10 host with SAN storage – EMC Clariion ), you have told labeling one disk will be fine ,here (SAN Storage Configuration – Solaris 10 with native multipathing and veritas volume manager )why we are labeling both the disks ? I saw it is forming but not labeled it for 44. is that the reason ?

    at last, if i use EMC DX series . I should take the newly created powermt display dev=all
    Pseudo name=emcpower9a and add direclty to zpool add pool1 emcpower9a ,pl correct me if am wrong ?

    Also i can't see the LUN 1d from the o/p of powermt why ?

    • Ramdev says:

      We are formatting and labeling it 39 ,44 .since were are using VVM ,so we are initilization the same emc under vvm, is this aplicabke if i use zfs on solairs 10 ? it means i can skip Veritas Configuration for the New Storage Disks if i use zfs .
      >> ans >> for the disks which are in the naming format like cxtxdx, ZFS automatically applies an EFI label to them, we dont need to manually apply the label. But incase if you are trying for ZFS root pool you need to manually apply an SMI label to the disk.
      ———————————————————————-
      on the other upodates in your sites (Configuring Solaris 10 host with SAN storage – EMC Clariion ), you have told labeling one disk will be fine ,here (SAN Storage Configuration – Solaris 10 with native multipathing and veritas volume manager )why we are labeling both the disks ? I saw it is forming but not labeled it for 44. is that the reason ?
      >> ans >> First of all I want you to understand the concept of multipathing, which actually answers your above question. please read the post ” http://gurkulindia.com/main/2011/05/san-storage-area-networking-in-simple/ ” , because one post I am referring not to format the both the disks that appear from the multipath of single lun, in the second post I actually formatting two different disks but not the two devices of same lun.
      ———————————————————————-
      at last, if i use EMC DX series . I should take the newly created powermt display dev=all
      Pseudo name=emcpower9a and add direclty to zpool add pool1 emcpower9a ,pl correct me if am wrong ?
      >> ans >> ideally Yes, but sometimes the pseudo device names in the format command output might appear as something different than what we see in powermt display …e.g. powermt shows the device as emcpower9a whereas format shows as emcpower9h , in this case we should use the psuedo name what is identified by format command.

  9. shekar says:

    Excellent i got you point Ram. Thanks Very much

  10. shekar says:

    Once i added the psuedo ( emcpower9a) into the pool 1. if i want to remove that disk can i take it back and add into another pool straightway ? or i have i have t to take backup , then remove the psuedo name ( empower9a ) from pool1 and restore from backup to pool 1.pl advise

  11. shekar says:

    Once i added the psuedo ( emcpower9a) into the pool 1. if i want to remove that disk can i take it back and add into another pool straightway ? or i have i have t to take backup , then remove the psuedo name ( empower9a ) from pool1 and restore from backup to pool 1..Pl advise

  12. Yogesh Raheja says:

    @Shekar, if you are removing the disk it means the data is no longer required and hence the disk can be taken out of pool1 directly and can be used for pool2. No backup is required for any thing.

  1. September 17, 2015

    […] Read – How to Configure Storage using  native multipathing and veritas volume manager in Solaris […]

Leave a Reply

Your email address will not be published.

[contact-form to='ramkumar.ramadevu@gmail.com' subject='New Learning Request Submitted'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Learning Request' type='textarea' required='1'/][contact-field label='Are you Looking for ' type='radio' required='1' options='Paid Training,Free Training'/][/contact-form]

What is your Learning Goal for Next Six Months ? Talk to us