亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2876 | 回復(fù): 7
打印 上一主題 下一主題

[存儲備份] 兩臺機器的共享Fast200磁盤只能在一臺機器上使用,怎么同步也不成功!!高手幫忙呀 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-09-11 11:13 |只看該作者 |倒序瀏覽
環(huán)境:p650 aix 5.2.0.6  ha 4.5
  想通過ha來管理fast200盤陣上的vg  ,但始終只能在一邊應(yīng)用,在另一臺機器varyon后 文件系統(tǒng)類型就變?yōu)???
  不知道是否正常?
還有在ha4.5環(huán)境中,vg和lv等是否需要在ha里創(chuàng)建,以前在5.3,5,4等都沒有在ha里建


通過ha創(chuàng)建cluster vg
#smitty hacmp            
                                                   HACMP

Move cursor to desired item and press Enter.

  Cluster Configuration
  Cluster Services
  Cluster System Management
  Cluster Recovery Aids
  RAS Support



                                                     Cluster System Management

Move cursor to desired item and press Enter.

  Cluster Users & Groups
  Cluster Logical Volume Manager
  Cluster Concurrent Logical Volume Manager
  Cluster Physical Volume Manager
  Cluster Resource Group Management
  Cluster Log Management
  HACMP Cluster Services
  Cluster Communications Adapter Management
  Cluster Applications
  Display Event Summaries


                                                   Cluster Logical Volume Manager

Move cursor to desired item and press Enter.

  List All Shared Volume Groups
  Shared Volume Groups
  Shared Logical Volumes
  Shared File Systems
  Synchronize Shared LVM Mirrors
  Synchronize a Shared Volume Group Definition
  
  
  
                                                          Shared Volume Groups

Move cursor to desired item and press Enter.

  Create a Shared Volume Group
  Set Characteristics of a Shared Volume Group
  Import a Shared Volume Group
  Mirror a Shared Volume Group
  Unmirror a Shared Volume Group
  
  
  
  
  







                            lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                            x                                Node Names                                x
                            x                                                                          x
                            x Move cursor to desired item and press Esc+7.                             x
                            x     ONE OR MORE items can be selected.                                   x
                            x Press Enter AFTER making all selections.                                 x
                            x                                                                          x
                            x > ibm1                                                                   x
                            x > ibm2                                                                   x
                            x                                                                          x
                            x F1=Help                 F2=Refresh              F3=Cancel                x
                            x Esc+7=Select            Esc+8=Image             Esc+0=Exit               x
F1=Help                     x Enter=Do                /=Find                  n=Find Next              x=Image
Esc+9=Shell                 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

  



                            lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                            x                             Physical Volumes                             x
                            x                                                                          x
                            x Move cursor to desired item and press Esc+7.                             x
                            x     ONE OR MORE items can be selected.                                   x
                            x Press Enter AFTER making all selections.                                 x
                            x                                                                          x
                            x   00033d1a6f27e505                                                       x
                            x   00033d1a6f27e2c0                                                       x
                            x > 00033d1a6f277b91                                                       x
                            x > 00033d1a6f277951                                                       x
                            x                                                                          x
                            x F1=Help                 F2=Refresh              F3=Cancel                x
                            x Esc+7=Select            Esc+8=Image             Esc+0=Exit               x
F1=Help                     x Enter=Do                /=Find                  n=Find Next              x=Image
Esc+9=Shell                 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj



Warning :
  Changing the volume group major number may result
  in the command being unable to execute
  successfully on a node that does not have the
  major number currently available. Please check
  for a commonly available major number on all nodes
  before changing this setting.






                                                           COMMAND STATUS

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

ibm1: datavg2
ibm1: ibm2: Volume group datavg2 has been updated.
ibm1: ibm1: Volume group datavg2 has been updated.


成功創(chuàng)建cluster vg   

                                   



# lspv
hdisk0          00033d2a4300829f                    rootvg          active
hdisk1          00033d2a984c5b22                    rootvg          active
hdisk2          none                                None            
hdisk3          none                                None            
hdisk4          none                                None            
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         00033d1a6f26c37a                    datavg1         
hdisk15         00033d1a6f26c5b9                    datavg1         
hdisk16         00033d1a6f277951                    datavg2         
hdisk17         00033d1a6f277b91                    datavg2         
hdisk18         00033d1a6f27e2c0                    None            
hdisk19         00033d1a6f27e505                    None            
一節(jié)點可以正常認到datavg2

# rsh ibm2 lspv
hdisk0          00033d1a1cb56e9f                    rootvg          active
hdisk1          00033d1a69eef3c6                    rootvg          active
hdisk2          00033d1a6f26c37a                    datavg1         active
hdisk3          00033d1a6f26c5b9                    datavg1         active
hdisk4          00033d1a6f277951                    None            
hdisk5          00033d1a6f277b91                    None            
hdisk6          00033d1a6f27e2c0                    datavg3         active
hdisk7          00033d1a6f27e505                    datavg3         active
hdisk8          none                                None            
hdisk9          none                                None            
hdisk10         none                                None            
hdisk11         none                                None            
hdisk12         none                                None            
hdisk13         none                                None            
hdisk14         none                                None            
hdisk15         none                                None            
hdiskpower0     00033d1ad54cacb0                    emcvg1          active
hdiskpower1     none                                None            
hdisk16         none                                None            
hdisk17         none                                None            
hdisk18         none                                None            
hdisk19         none                                None            
hdiskpower2     none                                None            

2節(jié)點認不到datvg2

然后在一節(jié)點上創(chuàng)建文件系統(tǒng)

# smitty jfs2
                                                                                      Enhanced Journaled File Systems

Move cursor to desired item and press Enter.

  Add an Enhanced Journaled File System
  Add an Enhanced Journaled File System on a Previously Defined Logical Volume
  Change / Show Characteristics of an Enhanced Journaled File System
  Remove an Enhanced Journaled File System
  Defragment an Enhanced Journaled File System
  List Snapshots for an Enhanced Journaled File System
  Create Snapshot for an Enhanced Journaled File System
  Mount Snapshot for an Enhanced Journaled File System
  Remove Snapshot for an Enhanced Journaled File System
  Unmount Snapshot for an Enhanced Journaled File System
                                      
                                                           COMMAND STATUS



                                               Add an Enhanced Journaled File System

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
  
                                                        [Entry Fields]
  Volume group name                                   datavg2
  SIZE of file system
          Unit Size                                   Megabytes                                                                  +
*         Number of units                            [10]                                                                         #
* MOUNT POINT                                        [/test1]
  Mount AUTOMATICALLY at system restart?              no                                                                         +
  PERMISSIONS                                         read/write                                                                 +
  Mount OPTIONS                                      []                                                                          +
  Block Size (bytes)                                  4096                                                                       +
  Inline Log?                                         no                                                                         +
  Inline Log size (MBytes)                           []                                                                           #


                                                           COMMAND STATUS

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

File system created successfully.
65328 kilobytes total disk space.
New File System size is 131072



創(chuàng)建可一個10m的文件系統(tǒng).




# lspv
hdisk0          00033d2a4300829f                    rootvg          active
hdisk1          00033d2a984c5b22                    rootvg          active
hdisk2          none                                None            
hdisk3          none                                None            
hdisk4          none                                None            
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         00033d1a6f26c37a                    datavg1         
hdisk15         00033d1a6f26c5b9                    datavg1         
hdisk16         00033d1a6f277951                    datavg2         active
hdisk17         00033d1a6f277b91                    datavg2         active
hdisk18         00033d1a6f27e2c0                    None            
hdisk19         00033d1a6f27e505                    None            
# lsvg -l datavg2
datavg2:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
loglv01             jfs2log    1     1     1    closed/syncd  N/A
fslv01              jfs2       1     1     1    closed/syncd  /test1
# varyoffvg datavg2
# rsh ibm2 lspv
hdisk0          00033d1a1cb56e9f                    rootvg          active
hdisk1          00033d1a69eef3c6                    rootvg          active
hdisk2          00033d1a6f26c37a                    datavg1         active
hdisk3          00033d1a6f26c5b9                    datavg1         active
hdisk4          00033d1a6f277951                    None            
hdisk5          00033d1a6f277b91                    None            
hdisk6          00033d1a6f27e2c0                    datavg3         active
hdisk7          00033d1a6f27e505                    datavg3         active
hdisk8          none                                None            
hdisk9          none                                None            
hdisk10         none                                None            
hdisk11         none                                None            
hdisk12         none                                None            
hdisk13         none                                None            
hdisk14         none                                None            
hdisk15         none                                None            
hdiskpower0     00033d1ad54cacb0                    emcvg1          active
hdiskpower1     none                                None            
hdisk16         none                                None            
hdisk17         none                                None            
hdisk18         none                                None            
hdisk19         none                                None            
hdiskpower2     none                                None            
# importvg  
0516-604 importvg: Physical volume name not entered.
Usage: importvg [ [ [-V MajorNumber] [-y VGname] [-f] [-c] [-x] ] | [-L VGname] ]
                [-n] [-F] [-R] PVname
Imports the definition of a volume group.
# rsh importvg -V 62 -y datavg2 hdisk4
host: name importvg NOT FOUND
# rsh ibm2 importvg -V 62 -y datavg2 hdisk4
0516-530 synclvodm: Logical volume name loglv01 changed to loglv04.
0516-530 synclvodm: Logical volume name fslv01 changed to fslv02.
datavg2

成功導(dǎo)入datavg2卷組,但邏輯卷被改名,應(yīng)該是因為節(jié)點二有重名的lv


# rsh ibm2 lspv
hdisk0          00033d1a1cb56e9f                    rootvg          active
hdisk1          00033d1a69eef3c6                    rootvg          active
hdisk2          00033d1a6f26c37a                    datavg1         active
hdisk3          00033d1a6f26c5b9                    datavg1         active
hdisk4          00033d1a6f277951                    datavg2         active
hdisk5          00033d1a6f277b91                    datavg2         active
hdisk6          00033d1a6f27e2c0                    datavg3         active
hdisk7          00033d1a6f27e505                    datavg3         active
hdisk8          none                                None            
hdisk9          none                                None            
hdisk10         none                                None            
hdisk11         none                                None            
hdisk12         none                                None            
hdisk13         none                                None            
hdisk14         none                                None            
hdisk15         none                                None            
hdiskpower0     00033d1ad54cacb0                    emcvg1          active
hdiskpower1     none                                None            
hdisk16         none                                None            
hdisk17         none                                None            
hdisk18         none                                None            
hdisk19         none                                None            
hdiskpower2     none                                None            

datavg2 在二節(jié)點激活

# rsh ibm2 lsvg -l datavg2
datavg2:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
loglv04             jfs2log    1     1     1    closed/syncd  N/A
fslv02              jfs2       1     1     1    closed/syncd  /test1




# rsh ibm2 mount /test1

# rsh ibm2 df
Filesystem    512-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4         1048576    884400   16%     2595     1% /
/dev/hd2         4325376    647344   86%    35638     7% /usr
/dev/hd9var       917504    536488   42%     1005     1% /var
/dev/hd3         1048576    266600   75%      327     1% /tmp
/dev/hd1          917504    888168    4%       27     1% /home
/proc                  -         -    -         -     -  /proc
/dev/hd10opt     1310720   1097616   17%      302     1% /opt
/dev/oracle     16515072   5899216   65%    63121     4% /oracle/o9i
/dev/emcdata1   65536000  24572664   63%       30     1% /oradata1
/dev/emcdata2   40960000  28964112   30%       23     1% /oradata2
/dev/emcdata3   65536000  34104688   48%       16     1% /oradata3
/dev/fslv01     62914560  62586960    1%        8     1% /oraback
/dev/fslv00    209715200  84388768   60%      117     1% /Fast200ora2
/dev/lv01        6160384   2483880   60%      298     1% /ptf
/dev/fslv02       131072    130392    1%        4     1% /test1

也可以成功

#rsh ibm2 varyoffvg datavg2
#varyonvg datavg2
# lsvg -l datavg2
datavg2:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
loglv04             ???        1     1     1    closed/syncd  N/A
fslv02              ???        1     1     1    closed/syncd  N/A
#   

但在切換后type就變成???了。不知道是否正常?

論壇徽章:
0
2 [報告]
發(fā)表于 2008-09-11 11:14 |只看該作者
試著在ha里面創(chuàng)建lv


                                                               HACMP

Move cursor to desired item and press Enter.

  Cluster Configuration
  Cluster Services
  Cluster System Management
  Cluster Recovery Aids
  RAS Support




                                                   Cluster Logical Volume Manager

Move cursor to desired item and press Enter.

  List All Shared Volume Groups
  Shared Volume Groups
  Shared Logical Volumes
  Shared File Systems
  Synchronize Shared LVM Mirrors
  Synchronize a Shared Volume Group Definition
  
  
  
                                                         Shared Logical Volumes

Move cursor to desired item and press Enter.

  List All Shared Logical Volumes by Volume Group
  Add a Shared Logical Volume
  Set Characteristics of a Shared Logical Volume
  Show Characteristics of a Shared Logical Volume
  Change a Shared Logical Volume
  Remove a Shared Logical Volume
  
  
  
  

                            lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                            x                        Shared Volume Group Names                         x
                            x                                                                          x
                            x Move cursor to desired item and press Enter.                             x
                            x                                                                          x
                            x   resgroup1       datavg2                                                x
                            x   resgroup1       emcvg1                                                 x
                            x                                                                          x
                            x F1=Help                 F2=Refresh              F3=Cancel                x
                            x Esc+8=Image             Esc+0=Exit              Enter=Do                 x
F1=Help                     x /=Find                  n=Find Next                                      x=Image
Esc+9=Shell                 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj





      
  
                            lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                            x                          Physical Volume Names                           x
                            x                                                                          x
                            x Move cursor to desired item and press Esc+7.                             x
                            x     ONE OR MORE items can be selected.                                   x
                            x Press Enter AFTER making all selections.                                 x
                            x                                                                          x
                            x   None                                                                   x
                            x > ibm1    hdisk16                                                        x
                            x > ibm1    hdisk17                                                        x
                            x                                                                          x
                            x F1=Help                 F2=Refresh              F3=Cancel                x
                            x Esc+7=Select            Esc+8=Image             Esc+0=Exit               x
F1=Help                     x Enter=Do                /=Find                  n=Find Next              x=Image
Esc+9=Shell                 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


  
  
  
                                                    Add a Shared Logical Volume

Type or select values in entry fields.      
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  Resource Group Name                                 resgroup1
  VOLUME GROUP name                                   datavg2
  Reference node                                      ibm1
* Number of LOGICAL PARTITIONS                       [10]                                                                         #
  PHYSICAL VOLUME names                               hdisk16 hdisk17
  Logical volume NAME                                [ ha]
  Logical volume TYPE                                [jfs2]
  POSITION on physical volume                         middle                                                                     +
  RANGE of physical volumes                           minimum                                                                    +
  MAXIMUM NUMBER of PHYSICAL VOLUMES                 []                                                                           #
    to use for allocation
  Number of COPIES of each logical                    1                                                                          +
    partition
  Mirror Write Consistency?                           yes                                                                        +
  Allocate each logical partition copy                yes                                                                        +
    on a SEPARATE physical volume?
  RELOCATE the logical volume during                  yes                                                                        +
    reorganization?
  Logical volume LABEL                               []
  MAXIMUM NUMBER of LOGICAL PARTITIONS               [512]
  Enable BAD BLOCK relocation?                        yes                                                                        +
  SCHEDULING POLICY for reading/writing               parallel                                                                   +
    logical partition copies
  Enable WRITE VERIFY?                                no                                                                         +
  Stripe Size?                                       [Not Striped]                                                               +




                                                           COMMAND STATUS

Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

cl_mklv: Error executing mklv  -y ha -t jfs2 datavg2 10 hdisk16 hdisk17 on node ibm1
cl_mklv: Error executing mklv  -y ha -t jfs2 datavg2 10 hdisk16 hdisk17 on node ibm2


無法創(chuàng)建,不指定hdisk也是一樣
                                                           COMMAND STATUS

Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

cl_mklv: Error executing mklv  -y ha -t jfs2 datavg2 10 on node ibm1
cl_mklv: Error executing mklv  -y ha -t jfs2 datavg2 10 on node ibm2

論壇徽章:
0
3 [報告]
發(fā)表于 2008-09-11 11:24 |只看該作者
是否因為lv改名的原因?qū)е碌模?/td>

論壇徽章:
0
4 [報告]
發(fā)表于 2008-09-11 11:32 |只看該作者
對!在第二臺機器上導(dǎo)入VG時,就會自動更改lv和loglv名字,不知道為什么

論壇徽章:
1
榮譽版主
日期:2011-11-23 16:44:17
5 [報告]
發(fā)表于 2008-09-11 12:14 |只看該作者
又是老話題了

論壇徽章:
0
6 [報告]
發(fā)表于 2008-09-12 09:40 |只看該作者
試試synclvodm -v VGname

論壇徽章:
0
7 [報告]
發(fā)表于 2008-09-12 10:43 |只看該作者
重名了

論壇徽章:
0
8 [報告]
發(fā)表于 2008-09-13 01:18 |只看該作者
既然lv已經(jīng)被改名,就應(yīng)該在一節(jié)點上重新export,import一下
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP