Outils pour utilisateurs

Outils du site


projets:proxmox:stockagevirtu

non partagé par serveur (7x300GB=1,9To utiles par serveur)

lsdrive
id status error_sequence_number use       tech_type       capacity mdisk_id mdisk_name member_id enclosure_id slot_id node_id node_name auto_manage drive_class_id 
0  online                       candidate tier_enterprise 278.9GB                                1            6                         inactive    2              
17 online                       candidate tier_enterprise 278.9GB                                1            7                         inactive    2              
25 online                       candidate tier_enterprise 278.9GB                                1            2                         inactive    2              
26 online                       candidate tier_enterprise 278.9GB                                1            5                         inactive    2              
27 online                       candidate tier_enterprise 278.9GB                                1            3                         inactive    2              
29 online                       candidate tier_enterprise 278.9GB                                1            4                         inactive    2              
33 online                       candidate tier_enterprise 278.9GB                                1            1                         inactive    2              
37 online                       candidate tier_enterprise 278.9GB                                1            18                        inactive    2              
38 online                       candidate tier_enterprise 278.9GB                                1            10                        inactive    2              
39 online                       candidate tier_enterprise 278.9GB                                1            9                         inactive    2              
40 online                       candidate tier_enterprise 278.9GB                                1            8                         inactive    2              
41 online                       candidate tier_enterprise 278.9GB                                1            15                        inactive    2              
42 online                       candidate tier_enterprise 278.9GB                                1            17                        inactive    2              
43 online                       candidate tier_enterprise 278.9GB                                1            13                        inactive    2              
44 online                       candidate tier_enterprise 278.9GB                                1            14                        inactive    2              
45 online                       candidate tier_enterprise 278.9GB                                1            16                        inactive    2              
46 online                       candidate tier_enterprise 278.9GB                                1            11                        inactive    2              
47 online                       candidate tier_enterprise 278.9GB                                1            12                        inactive    2              
51 online                       candidate tier_enterprise 278.9GB                                1            24                        inactive    2              
52 online                       candidate tier_enterprise 278.9GB                                1            23                        inactive    2              
53 online                       candidate tier_enterprise 278.9GB                                1            22                        inactive    2              
54 online                       candidate tier_enterprise 278.9GB                                1            21                        inactive    2              
55 online                       candidate tier_enterprise 278.9GB                                1            20                        inactive    2              
56 online                       candidate tier_enterprise 278.9GB                                1            19                        inactive    2              
chdrive -use spare 51
mkmdiskgrp -easytier auto -ext 1024 -guiid 0 -name NTE_RAID5_MD1 -warning 90%
mkarray -drive 0:17:25:26:27:29:33:37 -level raid5  NTE_RAID5_MD1
lsmdiskgrp 
id name          status mdisk_count vdisk_count capacity extent_size free_capacity virtual_capacity used_capacity real_capacity overallocation warning easy_tier easy_tier_status compression_active compression_virtual_capacity compression_compressed_capacity compression_uncompressed_capacity parent_mdisk_grp_id parent_mdisk_grp_name child_mdisk_grp_count child_mdisk_grp_capacity type   encrypt owner_type site_id site_name 
0  NTE_RAID5_MD1 online 1           0           1.90TB   1024        1.90TB        0.00MB           0.00MB        0.00MB        0              90      auto      balanced         no                 0.00MB                       0.00MB                          0.00MB                            0                   NTE_RAID5_MD1         0                     0.00MB                   parent no      none
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkmdiskgrp -easytier auto -ext 1024 -guiid 0 -name NTE_RAID5_MD2 -warning 90%
MDisk Group, id [1], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkmdiskgrp -easytier auto -ext 1024 -guiid 0 -name NTE_RAID5_MD3 -warning 90%
MDisk Group, id [2], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkarray -drive 38:39:40:41:42:43:44:45 -level raid5  NTE_RAID5_MD2
MDisk, id [1], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkarray -drive 46:47:52:53:54:55:56 -level raid5  NTE_RAID5_MD3
MDisk, id [2], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>lsmdiskgrp 
id name          status mdisk_count vdisk_count capacity extent_size free_capacity virtual_capacity used_capacity real_capacity overallocation warning easy_tier easy_tier_status compression_active compression_virtual_capacity compression_compressed_capacity compression_uncompressed_capacity parent_mdisk_grp_id parent_mdisk_grp_name child_mdisk_grp_count child_mdisk_grp_capacity type   encrypt owner_type site_id site_name 
0  NTE_RAID5_MD1 online 1           0           1.90TB   1024        1.90TB        0.00MB           0.00MB        0.00MB        0              90      auto      balanced         no                 0.00MB                       0.00MB                          0.00MB                            0                   NTE_RAID5_MD1         0                     0.00MB                   parent no      none                         
1  NTE_RAID5_MD2 online 1           0           1.90TB   1024        1.90TB        0.00MB           0.00MB        0.00MB        0              90      auto      balanced         no                 0.00MB                       0.00MB                          0.00MB                            1                   NTE_RAID5_MD2         0                     0.00MB                   parent no      none                         
2  NTE_RAID5_MD3 online 1           0           1.63TB   1024        1.63TB        0.00MB           0.00MB        0.00MB        0              90      auto      balanced         no                 0.00MB                       0.00MB                          0.00MB                            2                   NTE_RAID5_MD3         0                     0.00MB                   parent no      none                         
mkvdisk -mdiskgrp NTE_RAID5_MD1 -size 450 -unit gb -name LOCAL-KURUN-LUN01
mkvdisk -mdiskgrp NTE_RAID5_MD1 -size 450 -unit gb -name LOCAL-SKUMENNN-LUN01
mkvdisk -mdiskgrp NTE_RAID5_MD1 -size 450 -unit gb -name LOCAL-GUEUZA-LUN01
IBM_Storwize:FMA-NTE01-V7000:adminsys>lsvdisk
id name                 IO_group_id IO_group_name status mdisk_grp_id mdisk_grp_name capacity type    FC_id FC_name RC_id RC_name vdisk_UID                        fc_map_count copy_count fast_write_state se_copy_count RC_change compressed_copy_count parent_mdisk_grp_id parent_mdisk_grp_name formatting encrypt volume_id volume_name          function 
0  LOCAL-KURUN-LUN01    0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB striped                             6005076802810CCE8800000000000029 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      0         LOCAL-KURUN-LUN01             
1  LOCAL-SKUMENNN-LUN01 0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB striped                             6005076802810CCE880000000000002A 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      1         LOCAL-SKUMENNN-LUN01          
2  LOCAL-GUEUZA-LUN01   0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB striped                             6005076802810CCE880000000000002B 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      2         LOCAL-GUEUZA-LUN01            
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdisk -mdiskgrp NTE_RAID5_MD2 -size 1900 -unit gb -name PROMOX-LVMNOLUKS-LUN10
Virtual Disk, id [3], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdisk -mdiskgrp NTE_RAID5_MD3 -size 1000 -unit gb -name PROMOX-LVMLUKS-LUN20
Virtual Disk, id [4], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>lsvdisk
id name                   IO_group_id IO_group_name status mdisk_grp_id mdisk_grp_name capacity  type    FC_id FC_name RC_id RC_name vdisk_UID                        fc_map_count copy_count fast_write_state se_copy_count RC_change compressed_copy_count parent_mdisk_grp_id parent_mdisk_grp_name formatting encrypt volume_id volume_name            function 
0  LOCAL-KURUN-LUN01      0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB  striped                             6005076802810CCE8800000000000029 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      0         LOCAL-KURUN-LUN01               
1  LOCAL-SKUMENNN-LUN01   0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB  striped                             6005076802810CCE880000000000002A 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      1         LOCAL-SKUMENNN-LUN01            
2  LOCAL-GUEUZA-LUN01     0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB  striped                             6005076802810CCE880000000000002B 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      2         LOCAL-GUEUZA-LUN01              
3  PROMOX-LVMNOLUKS-LUN10 0           io_grp0       online 1            NTE_RAID5_MD2  1.86TB    striped                             6005076802810CCE880000000000002C 0            1          not_empty        0             no        0                     1                   NTE_RAID5_MD2         yes        no      3         PROMOX-LVMNOLUKS-LUN10          
4  PROMOX-LVMLUKS-LUN20   0           io_grp0       online 2            NTE_RAID5_MD3  1000.00GB striped                             6005076802810CCE880000000000002D 0            1          not_empty        0             no        0                     2                   NTE_RAID5_MD3         yes        no      4         PROMOX-LVMLUKS-LUN20            
mkvdisk -mdiskgrp NTE_RAID5_MD1 -size 450 -unit gb -name LOCAL-SKUMENNN-LUN01
mkvdisk -mdiskgrp NTE_RAID5_MD1 -size 450 -unit gb -name LOCAL-GUEUZA-LUN01

HOST

Création des HOST avec 2 les WWN des ports FC

mkhost -name kurun -fcwwpn 2101001B323CA600:2100001B321CA600 mkhost -name gueuza -fcwwpn 50014380167c33e0:50014380167c33e2 mkhost -name skumenn -fcwwpn 50014380167c3004:50014380167c3006

mkhost -fcwwpn 2101001B323CA600:2100001B321CA600 -force -iogrp 0 -name kurun -type generic
mkhost -fcwwpn 50014380167c33e0:50014380167c33e2 -force -iogrp 0 -name gueuza -type generic
mkhost -fcwwpn 50014380167c3004:50014380167c3006 -force -iogrp 0 -name skumenn -type generic

⇒ SKUMENN : 1 port pour la migration V3700

Création du volume

mkvdisk -mdiskgrp 0 -name FMA_ASSO_LUN0 -size 2199023255552 -unit b
mkvdisk -mdiskgrp 0 -name FMA_MEMBRES_LUN10 -size 10995116277760 -unit b

Titre de niveau 3

mkvdiskhostmap -force -host 0 -scsi 0 0
mkvdiskhostmap -force -host 1 -scsi 0 0
mkvdiskhostmap -force -host 2 -scsi 0 0
mkvdiskhostmap -force -host 0 -scsi 10 1
mkvdiskhostmap -force -host 1 -scsi 10 1
mkvdiskhostmap -force -host 2 -scsi 10 1

Vérification du HOST

IBM_Storwize:FMA-NTE01-V7000:adminsys>lshost skumenn
id 2
name skumenn
port_count 2
type generic
mask 1111111111111111111111111111111111111111111111111111111111111111
iogrp_count 4
status degraded
site_id 
site_name 
host_cluster_id 
host_cluster_name 
WWPN 50014380167C3006
node_logged_in_count 1
state inactive
WWPN 50014380167C3004
node_logged_in_count 1
state inactive
<code>
mkvdisk -mdiskgrp NTE_RAID5_MD1 -size 450 -unit gb -name LOCAL-SKUMENNN-LUN01
mkvdisk -mdiskgrp NTE_RAID5_MD1 -size 450 -unit gb -name LOCAL-GUEUZA-LUN01
IBM_Storwize:FMA-NTE01-V7000:adminsys>lshost
id name    port_count iogrp_count status   site_id site_name host_cluster_id host_cluster_name 
2  skumenn 2          4           degraded                                                     
3  gueuza  2          4           degraded                                                     
IBM_Storwize:FMA-NTE01-V7000:adminsys>lsvdisk
id name                   IO_group_id IO_group_name status mdisk_grp_id mdisk_grp_name capacity  type    FC_id FC_name RC_id RC_name vdisk_UID                        fc_map_count copy_count fast_write_state se_copy_count RC_change compressed_copy_count parent_mdisk_grp_id parent_mdisk_grp_name formatting encrypt volume_id volume_name            function 
0  LOCAL-KURUN-LUN01      0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB  striped                             6005076802810CCE8800000000000029 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      0         LOCAL-KURUN-LUN01               
1  LOCAL-SKUMENNN-LUN01   0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB  striped                             6005076802810CCE880000000000002A 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      1         LOCAL-SKUMENNN-LUN01            
2  LOCAL-GUEUZA-LUN01     0           io_grp0       online 0            NTE_RAID5_MD1  450.00GB  striped                             6005076802810CCE880000000000002B 0            1          not_empty        0             no        0                     0                   NTE_RAID5_MD1         yes        no      2         LOCAL-GUEUZA-LUN01              
3  PROMOX-LVMNOLUKS-LUN10 0           io_grp0       online 1            NTE_RAID5_MD2  1.86TB    striped                             6005076802810CCE880000000000002C 0            1          not_empty        0             no        0                     1                   NTE_RAID5_MD2         yes        no      3         PROMOX-LVMNOLUKS-LUN10          
4  PROMOX-LVMLUKS-LUN20   0           io_grp0       online 2            NTE_RAID5_MD3  1000.00GB striped                             6005076802810CCE880000000000002D 0            1          not_empty        0             no        0                     2                   NTE_RAID5_MD3         yes        no      4         PROMOX-LVMLUKS-LUN20            
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdiskhostmap -force -host 2 -scsi 10 1
Virtual Disk to Host map, id [10], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>ls  
Display all 132 possibilities? (y or n)
IBM_Storwize:FMA-NTE01-V7000:adminsys>lsvdiskmember     
CMMVC5707E Required parameters are missing.
IBM_Storwize:FMA-NTE01-V7000:adminsys>lsvdiskhostmap 1
id name                 SCSI_id host_id host_name vdisk_UID                        IO_group_id IO_group_name mapping_type host_cluster_id host_cluster_name 
1  LOCAL-SKUMENNN-LUN01 10      2       skumenn   6005076802810CCE880000000000002A 0           io_grp0       private                                        
IBM_Storwize:FMA-NTE01-V7000:adminsys>rmvdiskhostmap 1
CMMVC5707E Required parameters are missing.
IBM_Storwize:FMA-NTE01-V7000:adminsys>rmvdiskhostmap 1 -force
CMMVC5701E No object ID was specified.
IBM_Storwize:FMA-NTE01-V7000:adminsys>rmvdiskhostmap -host 2 1       
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdiskhostmap -force -host 2 -scsi 1 1
Virtual Disk to Host map, id [1], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdiskhostmap -force -host 3 -scsi 1 2
Virtual Disk to Host map, id [1], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdiskhostmap -force -host 3 -scsi 10 3
Virtual Disk to Host map, id [10], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdiskhostmap -force -host 2 -scsi 10 3
Virtual Disk to Host map, id [10], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdiskhostmap -force -host 2 -scsi 20 4
Virtual Disk to Host map, id [20], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>mkvdiskhostmap -force -host 3 -scsi 20 4
Virtual Disk to Host map, id [20], successfully created
IBM_Storwize:FMA-NTE01-V7000:adminsys>lsvdiskhostmap 1
id name                 SCSI_id host_id host_name vdisk_UID                        IO_group_id IO_group_name mapping_type host_cluster_id host_cluster_name 
1  LOCAL-SKUMENNN-LUN01 1       2       skumenn   6005076802810CCE880000000000002A 0           io_grp0       private 



projets/proxmox/stockagevirtu.txt · Dernière modification : 2019/08/23 15:42 de tonio