<output id="n3gg9"></output>

      <output id="n3gg9"></output>
    1. <output id="n3gg9"><font id="n3gg9"></font></output>

      <dl id="n3gg9"><ins id="n3gg9"><thead id="n3gg9"></thead></ins></dl>
    2. <s id="n3gg9"><cite id="n3gg9"></cite></s>

      <dl id="n3gg9"><font id="n3gg9"><nobr id="n3gg9"></nobr></font></dl><input id="n3gg9"><font id="n3gg9"><td id="n3gg9"></td></font></input>

    3. <dl id="n3gg9"></dl>
      <dl id="n3gg9"></dl>

          1. <dl id="n3gg9"><ins id="n3gg9"><nobr id="n3gg9"></nobr></ins></dl>
              <input id="n3gg9"></input><output id="n3gg9"></output>

              1. <dl id="n3gg9"><ins id="n3gg9"></ins></dl>
              2. <dl id="n3gg9"></dl>

                AS1000G6 – Linux多路徑安裝方法


                RDAC安裝方法

                首先把rdac的源文件拷貝到服務器上,rdac可以從管理軟件SANtricity中的光盤中取得

                Rdac的安裝需要系統裝好make,gcc等編譯工具,此外還需要安裝kernel-devel內核源碼包

                在沒安裝rdac之前在已經映射存在多路徑的情況下,自檢或者fdisk-l查看磁盤會有io報錯

                這里以linuxrdac-99.03.0C00.0211.tar.gz版本為例

                首先解壓軟件tar –zxvf linuxrdac-99.03.0C00.0211.tar.gz

                [email protected] ~]# cd linuxrdac-99.03.0C00.0211/

                查看解壓出的文件

                [[email protected] linuxrdac-99.03.0C00.0211]# ls

                genfileattributes mppiscsi_umountall mppLnx26p_vhbatask.c

                genuniqueid.c mpp_linux_headers mpp_rcscript.REDHAT

                hbaCheck mpp_linux_sys_headers mpp_rcscript.SUSE

                License.txt mppLnx26p_sysdep.c mppSupport

                lsvdev mppLnx26p_upper.c Readme.txt

                Makefile mppLnx26p_vhba.c setupDriver.REDHAT

                mppCmn_s2tos3.c mppLnx26p_vhbaio.c setupDriver.SUSE

                mppCmn_SysInterface.c mppLnx26p_vhbalib.c setupMpp26p.sh

                mpp.conf mppLnx26p_vhbamisc.c utility

                MPP_hba.c mppLnx26p_vhbaproc.c

                執行編譯

                [[email protected] linuxrdac-99.03.0C00.0211]# make

                make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                CC [M] /root/linuxrdac-99.03.0C00.0211/MPP_hba.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_upper.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_sysdep.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppCmn_s2tos3.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppCmn_SysInterface.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbamisc.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbatask.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhba.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbaproc.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbalib.o

                CC [M] /root/linuxrdac-99.03.0C00.0211/mppLnx26p_vhbaio.o

                LD [M] /root/linuxrdac-99.03.0C00.0211/mppUpper.o

                LD [M] /root/linuxrdac-99.03.0C00.0211/mppVhba.o

                Building modules, stage 2.

                MODPOST

                CC /root/linuxrdac-99.03.0C00.0211/mppUpper.mod.o

                LD [M] /root/linuxrdac-99.03.0C00.0211/mppUpper.ko

                CC /root/linuxrdac-99.03.0C00.0211/mppVhba.mod.o

                LD [M] /root/linuxrdac-99.03.0C00.0211/mppVhba.ko

                make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                Building modules, stage 2.

                MODPOST

                make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                gcc -g -I/root/linuxrdac-99.03.0C00.0211 -I/root/linuxrdac-99.03.0C00.0211/mpp_linux_headers/ -I/root/linuxrdac-99.03.0C00.0211/mpp_linux_sys_headers/ -c ./utility/mppUtil.c -o mppUtil.o

                /bin/bash ./genfileattributes bld

                gcc -g -I/root/linuxrdac-99.03.0C00.0211 -I/root/linuxrdac-99.03.0C00.0211/mpp_linux_headers/ -I/root/linuxrdac-99.03.0C00.0211/mpp_linux_sys_headers/ -c ./utility/mppUtil26p_sysdep.c -o mppUtilSysdep.o

                gcc mppUtil.o mppUtilSysdep.o -o mppUtil

                gcc -o genuniqueid genuniqueid.c

                執行安裝,執行安裝完畢后會被/boot目錄下生成mpp開頭的initrd內核映像文件

                [[email protected] linuxrdac-99.03.0C00.0211]# make install

                make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                Building modules, stage 2.

                MODPOST

                make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                Building modules, stage 2.

                MODPOST

                make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64′

                /bin/bash ./genfileattributes bld

                gcc -g -I/root/linuxrdac-99.03.0C00.0211 -I/root/linuxrdac-99.03.0C00.0211/mpp_linux_headers/ -I/root/linuxrdac-99.03.0C00.0211/mpp_linux_sys_headers/ -c ./utility/mppUtil26p_sysdep.c -o mppUtilSysdep.o

                gcc mppUtil.o mppUtilSysdep.o -o mppUtil

                Checking Host Adapter Configuration…

                iSCSI software initiator found. Do you want MPP to manage an iSCSI storage array?

                Do you want to continue (yes or no) ? yes

                Please wait while we modify the system configuration files.

                Your kernel version is 2.6.18-164.el5

                Preparing to install MPP driver against this kernel version…

                Generating module dependencies…

                Creating new MPP initrd image…

                紅色為生成的mpp 內核映像

                [[email protected] ~]# cd /boot

                [[email protected] boot]# ls

                config-2.6.18-164.el5 initrd-2.6.18-164.el5_old.img mpp-2.6.18-164.el5xen.img vmlinuz-2.6.18-164.el5

                config-2.6.18-164.el5xen initrd-2.6.18-164.el5xen.img symvers-2.6.18-164.el5.gz vmlinuz-2.6.18-164.el5xen

                grub initrd-2.6.18-164.el5xen_old.img symvers-2.6.18-164.el5xen.gz xen.gz-2.6.18-164.el5

                initrd-2.6.18-164.el5.img lost+found System.map-2.6.18-164.el5 xen-syms-2.6.18-164.el5

                initrd-2.6.18-164.el5kdump.img memtest86+-1.65 System.map-2.6.18-164.el5xen

                接下來需要把grub的把內核指向新生成的mpp內核

                注意:linux系統可能存在多個內核,在哪個內核下編譯的rdac生成的mpp映像對應的此內核例如下面的例子系統是在Red Hat Enterprise Linux Server (2.6.18-164.el5xen)內核下編譯的那么把需要修改Red Hat Enterprise Linux Server (2.6.18-164.el5xen)內核的initrd指向新生成的mpp內核,假如想Red Hat Enterprise Linux Server (2.6.18-164.el5)內核下mpio軟件生效需要進系統時選擇進此內核然后然后在此內核下編譯指向相應的mpp映像

                更改前

                [[email protected] grub]# cat grub.conf

                # grub.conf generated by anaconda

                #

                # Note that you do not have to rerun grub after making changes to this file

                # NOTICE: You have a /boot partition. This means that

                # all kernel and initrd paths are relative to /boot/, eg.

                # root (hd0,0)

                # kernel /vmlinuz-version ro root=/dev/rootvg/lv0

                # initrd /initrd-version.img

                #boot=/dev/sda

                default=1

                timeout=5

                splashimage=(hd0,0)/grub/splash.xpm.gz

                hiddenmenu

                title Red Hat Enterprise Linux Server (2.6.18-164.el5xen)

                root (hd0,0)

                kernel /xen.gz-2.6.18-164.el5

                module /vmlinuz-2.6.18-164.el5xen ro root=/dev/rootvg/lv0 rhgb quiet

                module /initrd-2.6.18-164.el5xen.img

                title Red Hat Enterprise Linux Server (2.6.18-164.el5)

                root (hd0,0)

                kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/rootvg/lv0 rhgb quiet

                initrd /initrd-2.6.18-164.el5.img

                更改后

                [[email protected] grub]# cat grub.conf

                # grub.conf generated by anaconda

                #

                # Note that you do not have to rerun grub after making changes to this file

                # NOTICE: You have a /boot partition. This means that

                # all kernel and initrd paths are relative to /boot/, eg.

                # root (hd0,0)

                # kernel /vmlinuz-version ro root=/dev/rootvg/lv0

                # initrd /initrd-version.img

                #boot=/dev/sda

                default=0

                timeout=5

                splashimage=(hd0,0)/grub/splash.xpm.gz

                hiddenmenu

                title Red Hat Enterprise Linux Server (2.6.18-164.el5xen)

                root (hd0,0)

                kernel /xen.gz-2.6.18-164.el5

                module /vmlinuz-2.6.18-164.el5xen ro root=/dev/rootvg/lv0 rhgb quiet

                module / mpp-2.6.18-164.el5xen.img

                title Red Hat Enterprise Linux Server (2.6.18-164.el5)

                root (hd0,0)

                kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/rootvg/lv0 rhgb quiet

                initrd /initrd-2.6.18-164.el5.img

                查看多路徑方法

                在radc make完畢后會生成mppUtil工具

                可以./mppUtil –g 0可以顯示路徑狀態

                [[email protected] linuxrdac-99.03.0C00.0211]# ./mppUtil -g 0

                Hostname = mu01

                Domainname = (none)

                Time = GMT 08/18/2010 11:58:53

                MPP Information:

                —————-

                ModuleName: AS1000G3 SingleController: N

                VirtualTargetID: 0x000 ScanTriggered: N

                ObjectCount: 0x000 AVTEnabled: N

                WWN: 60080e50001828f6000000004c60bd43 RestoreCfg: N

                ModuleHandle: none Page2CSubPage: Y

                FirmwareVersion: 7.60.34.xx

                ScanTaskState: 0x00000000

                LBPolicy: LeastQueueDepth

                Controller ‘A’ Status:

                ———————–

                ControllerHandle: none ControllerPresent: Y

                UTMLunExists: Y (007) Failed: N

                NumberOfPaths: 1 FailoverInProg: N

                ServiceMode: N

                Path #1

                ———

                DirectoryVertex: present Present: Y

                PathState: OPTIMAL

                PathId: 77020000 (hostId: 2, channelId: 0, targetId: 0)

                Controller ‘B’ Status:

                ———————–

                ControllerHandle: none ControllerPresent: Y

                UTMLunExists: Y (007) Failed: N

                NumberOfPaths: 1 FailoverInProg: N

                ServiceMode: N

                Path #1

                ———

                DirectoryVertex: present Present: Y

                PathState: OPTIMAL

                PathId: 77010000 (hostId: 1, channelId: 0, targetId: 0)

                Lun Information

                —————

                Lun #0 – WWN: 60080e5000181d8c000005e94c6a1995

                —————-

                LunObject: present CurrentOwningPath: A

                RemoveEligible: N BootOwningPath: A

                NotConfigured: N PreferredPath: A

                DevState: OPTIMAL ReportedPresent: Y

                ReportedMissing: N

                NeedsReservationCheck: N

                TASBitSet: Y

                NotReady: N

                Busy: N

                Quiescent: N

                Controller ‘A’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Controller ‘B’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Lun #1 – WWN: 60080e50001828f6000005b64c6a1a08

                —————-

                LunObject: present CurrentOwningPath: B

                RemoveEligible: N BootOwningPath: B

                NotConfigured: N PreferredPath: B

                DevState: OPTIMAL ReportedPresent: Y

                ReportedMissing: N

                NeedsReservationCheck: N

                TASBitSet: N

                NotReady: N

                Busy: N

                Quiescent: N

                Controller ‘A’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Controller ‘B’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Lun #2 – WWN: 60080e5000181d8c000005ed4c6af8c9

                —————-

                LunObject: present CurrentOwningPath: A

                RemoveEligible: N BootOwningPath: A

                NotConfigured: N PreferredPath: A

                DevState: OPTIMAL ReportedPresent: Y

                ReportedMissing: N

                NeedsReservationCheck: N

                TASBitSet: N

                NotReady: N

                Busy: N

                Quiescent: N

                Controller ‘A’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Controller ‘B’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Lun #3 – WWN: 60080e50001828f6000005b84c6af904

                —————-

                LunObject: present CurrentOwningPath: B

                RemoveEligible: N BootOwningPath: B

                NotConfigured: N PreferredPath: B

                DevState: OPTIMAL ReportedPresent: Y

                ReportedMissing: N

                NeedsReservationCheck: N

                TASBitSet: N

                NotReady: N

                Busy: N

                Quiescent: N

                Controller ‘A’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Controller ‘B’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Lun #7 – WWN: 60080e50001828f6000004bc4c60bf47

                —————-

                LunObject: none CurrentOwningPath: A

                RemoveEligible: N BootOwningPath: A

                NotConfigured: N PreferredPath: A

                DevState: OPTIMAL ReportedPresent: Y

                ReportedMissing: N

                NeedsReservationCheck: N

                TASBitSet: N

                NotReady: N

                Busy: N

                Quiescent: N

                Controller ‘A’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present UTMLunDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                Controller ‘B’ Path

                ——————–

                NumLunObjects: 1 RoundRobinIndex: 0

                Path #1: LunPathDevice: present UTMLunDevice: present

                DevState: OPTIMAL

                RemoveState: 0x0 StartState: 0x1 PowerState: 0x0

                此外還有個簡單的查看路徑方法通過/proc/mpp/或者/proc/scsi/mpp查看因為不同的機型可能查看的文件不太一樣不再說明可以根據機型在此目錄下查看

                測試方法

                格式化存儲然后掛載

                進入存儲目錄寫一個50G的文件然后拔掉一個hba卡的光纖線測試,假如此lun正好是通過此hba卡訪問的那么lun會進行控制器切換,切換會有一定的時間一般幾十秒,在切換期間ls查看此目錄的文件切換時間內會沒有任何反應想hang死一樣,切換完畢后就正常,切換完畢后插上此hba卡的線拔下另一個hba卡的線測試

                dd if=/dev/zero of=test bs=10M count=5000


                14场胜负彩奖金预测
                  <output id="n3gg9"></output>

                    <output id="n3gg9"></output>
                  1. <output id="n3gg9"><font id="n3gg9"></font></output>

                    <dl id="n3gg9"><ins id="n3gg9"><thead id="n3gg9"></thead></ins></dl>
                  2. <s id="n3gg9"><cite id="n3gg9"></cite></s>

                    <dl id="n3gg9"><font id="n3gg9"><nobr id="n3gg9"></nobr></font></dl><input id="n3gg9"><font id="n3gg9"><td id="n3gg9"></td></font></input>

                  3. <dl id="n3gg9"></dl>
                    <dl id="n3gg9"></dl>

                        1. <dl id="n3gg9"><ins id="n3gg9"><nobr id="n3gg9"></nobr></ins></dl>
                            <input id="n3gg9"></input><output id="n3gg9"></output>

                            1. <dl id="n3gg9"><ins id="n3gg9"></ins></dl>
                            2. <dl id="n3gg9"></dl>
                                <output id="n3gg9"></output>

                                  <output id="n3gg9"></output>
                                1. <output id="n3gg9"><font id="n3gg9"></font></output>

                                  <dl id="n3gg9"><ins id="n3gg9"><thead id="n3gg9"></thead></ins></dl>
                                2. <s id="n3gg9"><cite id="n3gg9"></cite></s>

                                  <dl id="n3gg9"><font id="n3gg9"><nobr id="n3gg9"></nobr></font></dl><input id="n3gg9"><font id="n3gg9"><td id="n3gg9"></td></font></input>

                                3. <dl id="n3gg9"></dl>
                                  <dl id="n3gg9"></dl>

                                      1. <dl id="n3gg9"><ins id="n3gg9"><nobr id="n3gg9"></nobr></ins></dl>
                                          <input id="n3gg9"></input><output id="n3gg9"></output>

                                          1. <dl id="n3gg9"><ins id="n3gg9"></ins></dl>
                                          2. <dl id="n3gg9"></dl>
                                            一定牛江苏十一选五开奖号 重庆时时真坑 重庆时时彩怎么玩都是输 熊猫麻将群 如何注册重庆时时 找次品画树形图 吉林时时怎么玩 福建37选7开奖时间 快乐时时结果走势图 广东时时开奖助手 四川时时走势图号码 时时预测免费软件 广东时时彩快乐十分 历史开奖结果记录 广东南粤36选7最近30期 北京赛pk10app