Click here to load reader

ETERNUS OpenStack VolumeDriver 1.4 ユーザーズ …storage-system.fujitsu.com/jp/download/openstack-vd/P2X0-1451-01Z0.pdfETERNUS OpenStack VolumeDriver 1.4

  • View
    219

  • Download
    0

Embed Size (px)

Text of ETERNUS OpenStack VolumeDriver 1.4 ユーザーズ...

  • P2X0-1451-01Z0

    ETERNUS OpenStack VolumeDriver 1.4

  • ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    3

    ETERNUS OpenStack VolumeDriver OpenStackETERNUS DX

    OpenStack OpenStack Cloud Administrator Guide

    2016 6

    Red Hat Red Hat, Inc. Linux Linus Torvalds

  • 9

    1

    ETERNUS OpenStack VolumeDriver

    2

    ETERNUS OpenStack VolumeDriver

    3

    ETERNUS OpenStack VolumeDriver

    4

    ETERNUS OpenStack VolumeDriver

    5 ETERNUS OpenStack VolumeDriver

    ETERNUS OpenStack VolumeDriver

    6

    ETERNUS OpenStack VolumeDriver

    7

    ETERNUS OpenStack VolumeDriver

    8

    ETERNUS OpenStack VolumeDriver

    9 ETERNUS OpenStack VolumeDriver

    ETERNUS OpenStack VolumeDriver

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    4

  • ETERNUS DX S3 series ETERNUS DX

    ETERNUS DX Web GUI ETERNUS Web GUI

    ETERNUS DX CLI ETERNUS CLI

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    5

  • 1 9

    1.1 ETERNUS OpenStack VolumeDriver ......................................................... 9

    1.2 ............................................................................................................. 9

    1.3 ............................................................................................................... 10

    2 11

    2.1 ........................................................................................................... 11

    2.2 .................................................................................................................. 12

    2.3 ....................................................................................................... 12

    2.4 .................................................................................................................. 12

    3 15

    3.1 .................................................................................................... 153.1.1 ....................................................................................................... 153.1.2 ........................................................................................................... 18

    3.2 cinder.conf ................................................................................................ 22

    4 23

    4.1 ............................................................................................. 23

    5 ETERNUS OpenStack VolumeDriver 24

    6 28

    6.1 .................................................................................................................. 28

    6.2 .................................................................................................................. 28

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    6

  • 7 30

    8 38

    9 ETERNUS OpenStack VolumeDriver 39

    A 40

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    7

  • ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    8

    1.1 ETERNUS OpenStack VolumeDriver ............................................................ 9 1.2 ETERNUS OpenStack VolumeDriver ............................................................................ 10 2.1 ............................................................ 12 5.1 ETERNUS OpenStack VolumeDriver ................................................................. 24 5.2 Extend Volume ................................................................................. 26

  • 1

    ETERNUS OpenStack VolumeDriver

    1.1 ETERNUS OpenStack VolumeDriver

    ETERNUS OpenStack VolumeDriver OpenStack BlockStorage ETERNUS DX ETERNUS DX FC iSCSI

    1.2

    1.1 ETERNUS OpenStack VolumeDriver

    1.0.02014 3

    1.0.12014 4

    1.1.02014 7

    4 Create Volume from Volume CloneCreate Volume from ImageCreate Image from VolumeExtend Volume

    DeviceMapper TPP Create Volume from Snapshot SMI-S

    CreateReplica CreateElementReplica

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    9

  • 1 1.3

    1.3

    1.2 ETERNUS OpenStack VolumeDriver

    1.3.02015 9

    iSCSI TPP Create/Delete Snapshot

    1

    1.4.02016 6

    Migrate Volume Retype Volume --migration-policy on-demand Migrate Volume

    Manage Volume Unmanage Volume thin_provisioning_support

    max_over_subscription_ratio

    1.0.0 1.0.1 1.1.0 1.3.0 create pool RAID

    TPP

    1.4.0 thin_provisioning_support max_over_subscription_ratio

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    10

  • 2

    ETERNUS OpenStack VolumeDriver

    2.1

    OpenStack ETERNUS DX

    RAID TPP

    Create Volume Delete Volume Attach Volume Detach Volume Create Snapshot Delete Snapshot Create Volume from Snapshot Get Volume Stats Clone Volume Copy Image to Volume Copy Volume to Image Extend VolumeTPP Migrate Volume Retype Volume*1 Manage Volume Unmanage Volume

    *1: Extra Specs, Encryption, QoS Specs, volume_backend_nameRetype--migration-policy on-demand

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    11

  • 2 2.2

    2.2

    ETERNUS OpenStack VolumeDriver

    2.1

    2.3

    ETERNUS OpenStack VolumeDriver Python

    - PyWBEM

    FC OpenStack Configuration ReferenceFibre Channel support in Compute

    2.4

    ETERNUS DX ETERNUS Web GUI

    ETERNUS DX SMI-S

    ETERNUS OpenStack VolumeDriver SMI-S ETERNUS DX ETERNUS DX SMI-S

    ETERNUS Web GUI ETERNUS CLI ETERNUS DX SMI-S ETERNUS Web GUI ETERNUS CLI

    1 Cinder /volume/drivers 250KByte

    2 /etc/cinder

    300Byte

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    12

  • 2 2.4

    ETERNUS DX

    SMI-S SoftwareETERNUS Web GUI ETERNUS CLI ETERNUS DX ETERNUS Web GUI ETERNUS CLI

    RAID TPP

    ETERNUS Web GUI ETERNUS CLI ETERNUS DX RAID TPPETERNUS Web GUI ETERNUS CLI

    Snap Data VolumeSDV

    LAN

    ETERNUS OpenStack VolumeDriver ETERNUS DX LAN ETERNUS Web GUI ETERNUS CLI OpenStack Cinder LAN ETERNUS DX ETERNUS DX

    SAN

    FC iSCSI OpenStack ETERNUS DX SAN iSCSI iSCSI ETERNUS DX Host AffinityMode ETERNUS Web GUI ETERNUS CLI

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    13

  • 2 2.4

    Host Affinity Group

    Host Affinity Group VM

    LUN Host Affinity Group

    Snap Data Pool

    ETERNUS OpenStack VolumeDriver SnapOPC SnapOPCSnap Data PoolSDPSDPVSDPSDPV ETERNUS Web GUI ETERNUS CLI

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    14

  • 3

    ETERNUS OpenStack VolumeDriver

    3.1

    3.1.1

    ETERNUS OpenStack VolumeDriver

    1 ETERNUS OpenStack VolumeDriver

    2

    OpenStack

    3 ETERNUS OpenStack VolumeDriver

    &ETERNUS DX ETERNUS Web GUI

    ETERNUS OpenStack VolumeDriver nnn ETERNUS OpenStack VolumeDriver xxx OpenStack osvdnnn_xxx.tar.gz

    ETERNUS OpenStack VolumeDriver yes

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    15

  • 3 3.1

    ETERNUS OpenStack VolumeDriver 1.4.0, Kilo

    .tar.gz

    4 osvd_install.sh install ETERNUS OpenStack VolumeDriver

    cinder_driver_sample.ini

    (1) Cinder [DEFAULT]

    (2)

    (3)

    (4) volume driver true /etc/cinder/cinder.conf

    (5) ETERNUS DX

    $ /bin/tar xvzf ./osvd140_kilo.tar.gz

    $ ./osvd_install.sh install

    [DEFAULT] (1)enabled_backends=FJFC,FJISCSI (2)

    #FibreChannel:fc,iSCSI:iscsi[FJFC] (3)fujitsu_volume_driver=true (4)protocol=fc (5)driver_config_file=/etc/cinder/xxxx.xml (6)ip=10.11.12.13 (7)port=5988 (8)user=osvd (9)password=osvd (10)poolname=raid1,raid2 (11)snappoolname=raid3 (12)volume_backend_name=FJFC (14)

    [FJISCSI] (3)fujitsu_volume_driver=true (4)protocol=iscsi (5)driver_config_file=/etc/cinder/yyyy.xml (6)ip=10.11.12.13 (7)port=5988 (8)user=osvd (9)password=osvd (10)poolname=tpp1,tpp2 (11)snappoolname=raid4 (12)iscsiip=192.168.0.1, 192.168.0.2, 192.168.0.3, 192.168.0.4 (13)volume_backend_name=FJISCSI (14)

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    16

  • 3 3.1

    (6)

    (7) SMI-S IP

    (8) SMI-S

    (9) SMI-S

    (10)SMI-S

    (11)RAID TPPETERNUS DXRAIDTPPpool1, pool2

    (12)RAID (11)

    (13)iSCSI IP iscsiip=192.168.0.1, 192.168.0.2, 192.168.0.3, 192.168.0.4

    (14)(1) (13) cinder.conf [DEFAULT]

    5 /etc/cinder/cinder.conf verbose TrueINFO

    6 Cinder

    ETERNUS OpenStack VolumeDriver

    $ service openstack-cinder-volume restart

    cinder type-create DXFCcinder type-key DXFC set volume_backend_name=FJFCcinder type-create DXISCSIcinder type-key DXISCSI set volume_backend_name=FJISCSI

    ETERNUS OpenStack VolumeDriver

    $ ./osvd_install.sh update

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    17

  • 3 3.1

    3.1.2

    ETERNUS OpenStack VolumeDriver

    1 ETERNUS OpenStack VolumeDriver

    2

    OpenStack

    3 ETERNUS OpenStack VolumeDriver ETERNUS OpenStack VolumeDriver 1.4.0, Kilo

    .tar.gz

    4 osvd_install.sh install ETERNUS OpenStack VolumeDriver

    ETERNUS OpenStack VolumeDriver yesETERNUS OpenStackVolumeDriver no

    cinder.conf 4

    cinder.conf cinder.conf

    ===================================== Update Cinder Configuration=====================================SECTION: FJFC already exists, Skip updateSECTION: FJISCSI already exists, Skip update

    $ /bin/tar xvzf ./osvd140_kilo.tar.gz

    $ ./osvd_install.sh install

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    18

  • 3 3.1

    5

    (1)

    (2) 1 1

    (3) 1 yes no

    (4) volume_backend_name volume_backend_name

    =====================================check volume driver=====================================osvd_install.sh: INFO: This driver has already been installed.Overwrite the driver? [yes/no]:

    ===================================== Update Cinder Configuration=====================================input enabled backends, if you don't want to change please enter to skipenabled backends:dx1,dx2 (1)ENABLED_BACKENDS : dx1,dx2Are you sure? [yes/no]: yes

    ===================================== input driver configuration=====================================section: dx1 (2)driver configuration path (.xml): /etc/cinder/xxxx.xml (3)input volume backend name, if you don't want to set please enter to skipvolume_backend_name:DX1 (4)

    SECTION: dx1, specified driver configuration file (/etc/cinder/xxxx.xml)has already existedOverwrite the file (/etc/cinder/xxxx.xml)? [yes/no]:

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    19

  • 3 3.1

    (5) ETERNUS DX

    (6) SMI-S IP

    (7) SMI-S

    (8) SMI-S

    (9) SMI-S

    (10)RAID TPP ETERNUS DX RAID TPP

    (11)RAID (10)

    (12)iSCSI IP

    (13)yes no

    ===================================== select protocol=====================================1) FibreChannel2) iSCSIWhich way of FibreChannel and iSCSI do you use?[1 or 2]: 2 (5)osvd_install.sh: INFO: protocol is iSCSI1)ETERNUS ip address for SMIS: 10.11.12.13 (6)2)ETERNUS port number for SMIS: (default:5988) (7)3)ETERNUS username for SMIS: user_smis (8)4)ETERNUS password for SMIS: password_smis (9)5)ETERNUS poolname (e.g. Pool01,Pool02,Pool03): pool01,pool02 (10)6)ETERNUS snappoolname: pool03 (11)7)iSCSI ip address (e.g. x.x.x.x,y.y.y.y,z.z.z.z): (12)192.168.0.1,192.168.0.2,192.168.0.3,192.168.0.4

    1)IP : 10.11.12.132)PORT : 59883)USR : user_smis4)PASS : password_smis5)POOL : pool01,pool026)SNAPPOOL : pool037)iSCSIIP : 192.168.0.1,192.168.0.2,192.168.0.3,192.168.0.4Are you sure? [yes/no]: yes (13)Continue to add configuration? [yes/no]:no (14)

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    20

  • 3 3.1

    (14)yes no

    6 /etc/cinder/cinder.conf verbose True

    7 Cinder

    ETERNUS OpenStack VolumeDriver

    osvd_install.sh: INFO: Install is FINISHEDosvd_install.sh: INFO: Please reboot cinder services to reflect configuration done by this installer.

    $ service openstack-cinder-volume restart

    cinder type-create FJDX1cinder type-key FJDX1 set volume_backend_name=DX1

    ETERNUS OpenStack VolumeDriver

    $ ./osvd_install.sh update

    cinder.conf 5

    cinder.conf cinder.conf

    ===================================== Update Cinder Configuration=====================================SECTION: FJFC already exists, Skip updateSECTION: FJISCSI already exists, Skip update

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    21

  • 3 3.2cinder.conf

    3.2 cinder.conf

    cinder.conf Cinder ETERNUS OpenStack VolumeDriver Cinder Cinder

    volume_driverETERNUS OpenStack VolumeDriver

    - FC volume_driver = cinder.volume.drivers.fujitsu.eternus_dx_fc.FJDXFCDriver

    - iSCSI volume_driver = cinder.volume.drivers.fujitsu.eternus_dx_iscsi.FJDXISCSIDriver

    cinder_eternus_config_filecinder_eternus_config_file = /etc/cinder/cinder_fujitsu_eternus_dx.xml

    fujitsu_scheduler1 default

    default

    round-robin

    capacity-first

    max_over_subscription_ratioTPPTPP

    GB = max_over_subscription_ratio GB - GB

    1 Cinder

    max_over_subscription_ratio = 5.5

    5.5 TPP 500GB 100GB 400GB 5.5 = 2200GB

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    22

  • 4

    ETERNUS OpenStack VolumeDriver

    4.1

    1 2 cinder.conf ETERNUS OpenStack VolumeDriver

    /etc/cinder/cinder.conf ETERNUS OpenStack VolumeDriver

    3 Cinder

    Cinder 2 ETERNUS OpenStack VolumeDriver

    4 ETERNUS OpenStack VolumeDriver osvd_install.sh uninstall

    $ service openstack-cinder-volume restart

    $ ./osvd_install.sh uninstall

    osvd_install.sh: INFO: Uninstall is FINISHEDosvd_install.sh: INFO: Please reboot cinder services to reflect configuration done by this installer.

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    23

  • 5

    ETERNUS OpenStack VolumeDriver

    ETERNUS OpenStack VolumeDriver

    ETERNUS DX

    ETERNUS OpenStack VolumeDriver SMI-S ETERNUS DX SMI-S ETERNUS SMI-S Server SMI-S API

    FJosv_ 6 30

    FJosv_2PLulWCwG49djrPkHC-jRw==

    RAID

    OpenStack ETERNUS DX RAID ETERNUS DX ETERNUS Web GUI

    ETERNUS OpenStack VolumeDriver

    5.1 ETERNUS OpenStack VolumeDriver

    Create Volume Delete Volume Attach Volume

    FC iSCSI LUN

    Detach Volume LUN

    Create Snapshot SnapOPC

    Delete Snapshot SnapOPC

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    24

  • 5 ETERNUS OpenStack VolumeDriver

    Create Volume from Snapshot OPC

    Get Volume Stats RAID TPP

    Clone Volume OPC

    Copy Image to Volume Glance Image ETERNUS DX

    - - Create VolumeAttach Volume Detach Volume

    Cinder - Glance

    Copy Volume to Image Image Glance ETERNUS DX

    - - Attach Volume Detach Volume

    Cinder - Glance

    Extend Volume TPV

    Migrate Volume ETERNUS DX

    - -

    - Create VolumeDelete VolumeAttach Volume Detach Volume

    Cinder -

    Retype Volume --migration-policy on-demand Migrate

    Volume ETERNUS DX

    Extra Specs, Encryption, QoS Specs, volume_backend_name Retype --migration-policy on-demand

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    25

  • 5 ETERNUS OpenStack VolumeDriver

    Extend Volume

    Extend Volume

    5.2 Extend Volume

    Manage Volume ETERNUS DX OpenStack

    id name

    - id UID - name

    id name id

    Unmanage Volume ETERNUS DX OpenStack

    ETERNUS DX

    Clone Volume Clone Volume Extend Volume

    Extend Volume

    Create Snapshot Extend Volume

    Delete Snapshot

    ETERNUS SF Storage Cruiser ETERNUS Web GUI Extend Volume

    OPC Clone Volume

    OPC Extend Volume

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    26

  • 5 ETERNUS OpenStack VolumeDriver

    host

    Migrate Volume Manage Volume host host [email protected]#Volume-Backend-Name

    host [email protected]#volume_backend_name1

    $ hostname test.localhost

    $ cat /etc/cinder/cinder.conf

    [Backend1]volume_driver=cinder.volume.drivers.fujitsu.eternus_dx_fc.FJDXFCDrivercinder_eternus_config_file = /etc/cinder/cinder_fujitsu_eternus_dx.xmlvolume_backend_name=volume_backend_name1

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    27

  • 6

    ETERNUS OpenStack VolumeDriver

    6.1

    iSCSI CHAP Create Volume from Volume Clone Create Volume from Snapshot

    VM

    6.2

    OpenStack CLI Dashboard ETERNUS DX OpenStack ETERNUS Web GUIETERNUS CLIETERNUS DX OpenStack

    EternusPool ETERNUS OpenStack VolumeDriver

    1

    (1) Pool#A:200GBPool#B:300GB EternusPool

    (2) 400GB

    500GB Cinder Cinder Pool#A Pool#B

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    28

  • 6 6.2

    2

    (1) Pool#A:200GBPool#B:300GB EternusPool

    (2) 600GB

    500GB Cinder

    (1) OpenStack

    (2) ETERNUS DX RAID ETERNUS Web GUI

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    29

  • 7

    ETERNUS OpenStack VolumeDriver

    Cinder ,

    Error: The CA port setting is invalid

    yyyy-mm-dd hh:mm:ss WARNING [cinder.volume.drivers.fujitsu.eternus_dx_common] _map_lun,lun_name:[u'600000E00D2A0000002A011500020000'],Initiator:[u'10000000c978c574', u'10000000c978c575'],target:TARGET-ID,Return code:32801,Error: The CA port setting is invalid

    ETERNUS DX TARGET-ID ETERNUS DX WWN IQN

    CA ETERNUS CLI

    CA set host-port-mode

    Host Affinity enable Host Affinity ETERNUS CLI

    FC

    iSCSI

    $ set fc-parameters -port all -host-affinity enable

    $ set iscsi-parameters -port all -host-affinity enable

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    30

  • 7

    import pywbem failed!!pywbem is necessary for this volume driver.

    yyyy-mm-dd hh:mm:ss ERROR [cinder.volume.drivers.fujitsu.eternus_dx_common] import pywbem failed!!pywbem is necessary for this volume driver.

    pywbem

    ETERNUS OpenStack VolumeDriver pywbem Cinder

    Error:Maximum number of multi-hop has been reached

    yyyy-mm-dd hh:mm:ss ERROR [cinder.volume.drivers.fujitsu.eternus_dx_common] create_snapshot,snapshotname:snapshot-ad3bd7a7-a773-458d-8afd-a5bd957b7022,source volume name:volume-d9a233bb-5305-4674-9195-177ec844d3eb,vol_instance.path:root/eternus:FUJITSU_StorageVolume.CreationClassName="FUJITSU_StorageVolume",SystemName="systemname",DeviceID="deviceid",SystemCreationClassName="FUJITSU_StorageComputerSystem",dest_volumename:FJosv_volumename,pool:root/eternus:FUJITSU_RAIDStoragePool.InstanceID="FUJITSU:poolname",Return code:35318,Error:Maximum number of multi-hop has been reached

    Create Volume from Snapshot Status Error

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    31

  • 7

    target_port does not found.

    yyyy-mm-dd hh:mm:ss ERROR [cinder.volume.drivers.fujitsu.eternus_dx_common]_get_target_port,protcol:protocol,target_port does not found

    ETERNUS DX Target port

    ETERNUS OpenStack VolumeDriver ETERNUS DX iSCSIETERNUS OpenStack VolumeDriver FCiSCSIETERNUS DX Attach Volume

    Error:Maximum number of session has been reached(per SourceElement)

    yyyy-mm-dd hh:mm:ss.110 6639 ERROR cinder.volume.drivers.fujitsu.eternus_dx_common [req-2f0f97dc-6d8c-4aaa-beb2-658cf8a2da48 eebf3f70b0b84307b2f6d1f6e90ee3c8 a6f7055cfed942eb9ef8283778a04561] create_snapshot,snapshotname:snapshot-6d16802e-0c10-4efa-ac70-08ea2e0e150a,source volume name:volume-8212c7b6-025f-4037-8120-08e00f434370,vol_instance.path:root/eternus:FUJITSU_StorageVolume.CreationClassName="FUJITSU_StorageVolume",SystemName="fe80::200:e50:da80:0",DeviceID="600000E00D2A0000002A011500020000",SystemCreationClassName="FUJITSU_StorageComputerSystem",dest_volumename:FJosv_Kwe9RfwgZY-NU-rYoNlUoA==,pool:root/eternus:FUJITSU_RAIDStoragePool.InstanceID="FUJITSU:RSP0008",Returncode:35333,Error:Maximum number of session has been reached(per SourceElement)

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    32

  • 7

    Error:Method Not Supported,PoolType:RAID_GROUP

    yyyy-mm-dd hh:mm:ss.798 1243 ERROR cinder.volume.drivers.fujitsu_eternus_dx_common [req-a6e13053-8f69-43e3-8078-042290125de0 de5d75459b54454587bf0dbaead29be5 d66bb19054fb4c3a92c5ce8b8dbf6596 - - -] extend_volume,volumename:FJosv_aimRoKNKyC, Return code:1,Error:Method Not Supported,PoolType:RAID_GROUP

    Extend Volume

    Extend Volume ExtendVolume RAID Extend Volume Status error_extending

    Error:Method Not Supported

    yyyy-mm-dd hh:mm:ss.621 10679 ERROR cinder.volume.drivers.fujitsu.eternus_dx_common [req-27ccceaa-97f4-4239-b2ed-9c5413641399 de5d75459b54454587bf0dbaead29be5 d66bb19054fb4c3a92c5ce8b8dbf6596 - - -] create_snapshot,snapshotname:snapshot-a6469255-024e-4257-a965-c6c8854b5263,source volume name:volume-b5136db2-ac55-4fd5-86e3-6b6ee0d9e2f2,vol_instance.path:root/eternus:FUJITSU_StorageVolume.CreationClassName="FUJITSU_StorageVolume",SystemName="10.21.86.178",DeviceID="TPPC00152",SystemCreationClassName="FUJITSU_StorageComputerSystem",dest_volumename:FJosv_UwJYZYYl9x,pool:root/eternus:FUJITSU_ThinProvisioningPool.InstanceID="FUJITSU:TPP0001",Return code:1,Error:Method Not Supported

    Create Snapshot

    TPPCreate Snapshot Status Error

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    33

  • 7

    Error:Invalid Parameter

    yyyy-mm-dd hh:mm:ss.661 32382 ERROR cinder.volume.drivers.fujitsu.eternus_dx_common [req-9b705585-0d04-4510-800c-e22b2c84b691 7ce46baba7d243dbbf20e09f1120c636 8b1e178060db4aad826febf196259fc2 - - -] delete_volume,volumename:FJosv_MXj2PTWimVSXbYEkvczShw==,Return code:5,Error:Invalid Parameter

    ETERNUS DX

    Status error_deleting error_extending

    ID

    eternus_pool:poolname,not found.

    yyyy-mm-dd hh:mm:ss.533 29385 ERROR cinder.volume.drivers.fujitsu.eternus_dx_common [req-e6c5eacc-dc0b-4423-992b-f5196dbadb57 7ce46baba7d243dbbf20e09f1120c6368b1e178060db4aad826febf196259fc2 - - -] create_snapshot,eternus_pool:poolname,not found.

    ETERNUS DX

    cinder reset-state

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    34

  • 7

    all the EternusPools in driver configuration file are not exist. Please edit driver configuration file

    yyyy-mm-dd hh:mm:ss.382 1588 WARNING cinder.volume.drivers.fujitsu.eternus_dx_common [req-c7c5e041-6312-464b-aee1-136faade6516 - - - - -] _find_pools, all the EternusPools in driver configuration file are not exist. Please edit driver configuration file

    Error:Failed

    yyyy-mm-dd hh:mm:ss.661 32382 ERROR cinder.volume.drivers.fujitsu.eternus_dx_common [req-95c5ba96-8ad4-4765-8e36-a9e45c6ec674 fe271d3cdbc94a41b2fc555a94ae80f4 38e2dfc67 9bb43e591be2fbaca5f8dce - - -] delete_volume,volumename:FJosv_5NEwDFbCZIjTrEoMEkrFqg==,Return code:4,Error:Failed

    RAID

    ETERNUS DX

    RAID RAID

    Status error_deleting error_extending

    ID

    cinder reset-state

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    35

  • 7

    The Logical Volume is in busy state

    yyyy-mm-dd hh:mm:ss ERROR [cinder.volume.drivers.fujitsu.eternus_dx_common]_delete_volume,volumename:FJosv_8efhrYQGshp6smoiZQjGAA==,Return code:32786,Error:TheLogical Volume is in busy state.

    ETERNUS Web GUIETERNUS SF Storage CruiserETERNUSDX

    -

    -

    ETERNUS DX Cinder Status Available Delete Volume

    ETERNUS DX Cinder Status Available Delete Snapshot

    volume not found

    yyyy-mm-dd hh:mm:ss ERROR [cinder.volume.drivers.fujitsu.eternus_dx_common]_get_manage_volume_instance,source name or source id: {u'source-name': u'xxx'}, volume not found.

    Manage Volume ETERNUS DX

    ID

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    36

  • 7

    the pool of volume not in driver configuration file

    yyyy-mm-dd hh:mm:ss ERROR [cinder.volume.drivers.fujitsu.eternus_dx_common]_find_pool_from_volume,vol_instance:root/eternus:FUJITSU_StorageVolume.CreationClassName="FUJITSU_StorageVolume",SystemName="10.21.134.26",DeviceID="600000E00D2A0000002A011502110000",SystemCreationClassName="FUJITSU_StorageComputerSystem",the pool of volume not in driver configuration file.

    Manage VolumeEternusPool

    Volume Type

    volume type not support

    yyyy-mm-dd hh:mm:ss ERROR [cinder.volume.drivers.fujitsu.eternus_dx_common]_get_manage_volume_instance,volume type:3,volume type not support.

    Manage Volume

    Manage Volume Standard Volume TPV

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    37

  • 8

    SE

    .tar.bz2

    fullemailfull1 .tar.bz2 email5MB .tar.bz2

    output path

    "Invalid output path was specified : output path"

    $ ./osvd_collect_log.sh [ output path ]

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    38

  • 9

    ETERNUS OpenStack VolumeDriver

    ETERNUS OpenStack VolumeDriver Apache License 2.0

    # Copyright (c) 2016 FUJITSU LIMITED# Copyright (c) 2012 EMC Corporation.# Copyright (c) 2012 OpenStack Foundation# All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License"); you may# not use this file except in compliance with the License. You may obtain# a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the# License for the specific language governing permissions and limitations# under the License.#

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    39

  • A

    ETERNUS DX

    7

    SMI-S IP ETERNUS DX SMI-S IP

    SMI-S ETERNUS DX SMI-S

    SMI-S ETERNUS DX SMI-S

    0.0.0.0

    5988

    smisuser

    2.4 ETERNUS DX (P.13)

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    40

  • A

    SMI-S ETERNUS DX SMI-S

    iSCSI IP ETERNUS DX iSCSI IP

    ETERNUS DX RAID TPP

    ETERNUS DX RAID

    smispassword

    2.4 ETERNUS DX (P.13)

    1.1.1.11.1.1.21.1.1.31.1.1.4

    raid5_0001raid5_0002

    raid5_0001

    RAID

    SMI-S IP SMI-S Cinder

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    41

  • A

    0.0.0.05988smisusersmispassword1.1.1.11.1.1.21.1.1.31.1.1.4raid5_0001raid5_0001

    ETERNUS OpenStack VolumeDriver 1.4 Copyright 2016 FUJITSU LIMITED P2X0-1451-01Z0

    42

  • ETERNUS OpenStack VolumeDriver 1.4

    P2X0-1451-01Z02016 6

  • 1 1.1 ETERNUS OpenStack VolumeDriver1.2 1.3

    2 2.1 2.2 2.3 2.4

    3 3.1 3.1.1 3.1.2

    3.2 cinder.conf

    4 4.1

    5 ETERNUS OpenStack VolumeDriver6 6.1 6.2

    7 8 9 ETERNUS OpenStack VolumeDriverA