顯示具有 hacmp 標籤的文章。 顯示所有文章
顯示具有 hacmp 標籤的文章。 顯示所有文章

2017年11月24日 星期五

HACMP mirror 回 MISS 的 PV

System Management (C-SPOC)

 Storage

Volume Groups

Unmirror a Volume Group

ldapvg          f7b7_rg                    f7n7,f7n8

   f7n7                  hdisk5 

--
                                                                              Unmirror a Volume Group

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
  VOLUME GROUP name                                   ldapvg
  Resource Group Name                                 f7b7_rg
  Node List                                           f7n7,f7n8
  Reference node                                      f7n7
  PHYSICAL VOLUME names                               hdisk5
 
  Number of COPIES of each logical                    1                                                                                                                         +
    partition

--

Command: running       stdout: no            stderr: no

Before command completion, additional instructions may appear below.
--
Command: OK            stdout: no            stderr: no

Before command completion, additional instructions may appear below.

--
ibmldap-online:/admin> lsvg -l ldapvg
ldapvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
loglv00             jfs2log    1       1       1    open/syncd    N/A
fslv01              jfs2       1920    1920    1    open/syncd    /home
ibmldap-online:/admin>
--
ibmldap-online:/admin> smitty hacmp
--
System Management (C-SPOC)
 Storage
Volume Groups
Mirror a Volume Group
ldapvg          f7b7_rg                    f7n7,f7n8           2
 f7n7                  hdisk5

--
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
* VOLUME GROUP name                                   ldapvg
  Resource Group Name                                 f7b7_rg
  Node List                                           f7n7,f7n8
  Reference node                                      f7n7
  PHYSICAL VOLUME names                               hdisk5
 
  Mirror sync mode                                    Background                                                                                                                +
  Number of COPIES of each logical                    2                                                                                                                         +
    partition
  Keep Quorum Checking On?                            no                                                                                                                        +
  Create Exact LV Mapping?                            no         
--
Command: running       stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

f7n7: 0516-1804 chvg: The quorum change takes effect immediately.
--

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

f7n7: 0516-1804 chvg: The quorum change takes effect immediately.

--
ibmldap-online:/admin> lsvg -l ldapvg
ldapvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
loglv00             jfs2log    1       2       2    open/syncd    N/A
fslv01              jfs2       1920    3840    2    open/stale    /home
ibmldap-online:/admin> lsvg  ldapvg 
VOLUME GROUP:       ldapvg                   VG IDENTIFIER:  00cbfcf500004c000000013773a3c920
VG STATE:           active                   PP SIZE:        16 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      6390 (102240 megabytes)
MAX LVs:            256                      FREE PPs:       2548 (40768 megabytes)
LVs:                2                        USED PPs:       3842 (61472 megabytes)
OPEN LVs:           2                        QUORUM:         1 (Disabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          1                        STALE PPs:      1693
ACTIVE PVs:         2                        AUTO ON:        no
MAX PPs per VG:     32768                    MAX PVs:        1024
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable
ibmldap-online:/admin>
--
ibmldap-online:/admin> lsvg -p ldapvg
ldapvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk5            active            3195        1274        639..00..00..00..635
hdisk4            active            3195        1274        639..00..00..00..635
ibmldap-online:/admin>
--