FlexPod is a converged infrastructure solution that combines Cisco UCS servers and fabric interconnects with NetApp storage systems. It supports the provisioning of block (iSCSI) and file (NFS) storage volumes for use with an OpenStack cloud deployment using NetApp drivers. The document provides steps for creating volume types, provisioning NFS and iSCSI volumes from a NetApp storage system, and attaching the volumes to OpenStack instances to be used as block devices or mounted filesystems.
4. Upbringing FlexPod
Be Flexible!
Be Multitenant!
Be high available!
Use multi protocol!
Use the force FlexPod!
There is no spoon Flexpod!
OpenStack is your best friend!
14. The real lifeVolume types & NFS volume continue
2/9
On OpenStack node– Create
15. The real life 3/9
On OpenStack node – Check NFS mount on Cinder Vol. Node & File base Volume
root@un4:~# mount |grep -i nfs
192.168.130.244:/jproot/cinder_nfs01 on
/var/cinder/mnt/9ee86d8d8bea25386f3fb64bf071bcf7 type nfs (rw,addr=192.168.130.244)
root@un4:~# ls -la /var/cinder/mnt/9ee86d8d8bea25386f3fb64bf071bcf7
total 12
drwxr-xr-x 2 root daemon
4096 Jan 29 11:16 .
drwxr-xr-x 4 cinder cinder
4096 Jan 29 01:33 ..
drwxrwxrwx 9 root root
4096 Jan 29 11:05 .snapshot
-rw-rw-rw- 1 root root 1073741824 Jan 29 11:16 volume-94d1428f-427f-43e7-91010408e472c1a8
16. The real life 4/9
On OpenStack node – Create iSCSI VOL
17. The real life 5/9
On NetApp VSM - Checking of new LUN
vserver-iscsi::> lun show
Vserver Path
State Mapped Type
Size
--------- ------------------------------- ------- -------- -------- -------vserver-iscsi
/vol/vs_iscsi_luns/volume-3db5339c-0116-4328-a2d2-dfb156f0c761
online unmapped linux
1GB
18. The real life 6/9
On NOVA compute node – Attach NFS
volume
19. The real life 7/9
On NOVA Compute node – Checking of attached vdisk backend
root@un2:/# virsh domblklist 2
Target Source
-----------------------------------------------vda
/var/lib/nova/instances/c5b51cf8-869d-4a60-a859-c429fd1aa64b/disk
vdb
/var/lib/nova/mnt/9ee86d8d8bea25386f3fb64bf071bcf7/volume-94d1428f-427f43e7-9101-0408e472c1a8
20. The real life 8/9
No iSCSI disk:
root@un2:~# lsscsi
[1:0:0:0] cd/dvd QEMU
Select volume to attach :
Attach volume:
On NOVA compute node – Attach iSCSI
volume
QEMU DVD-ROM
1.5. /dev/sr0
21. The real life 9/9
On NOVA compute node – Attach iSCSI
volume
New iSCSI disk:
root@un2:~# lsscsi
[1:0:0:0] cd/dvd QEMU QEMU DVD-ROM 1.5. /dev/sr0
[2:0:0:0] disk NETAPP LUN C-Mode
8200 /dev/sda
Attached volumes:
On NOVA Compute node – Checking of attached iSCSI backend
root@un2:~# virsh domblklist 2
Target Source
-----------------------------------------------vda
/var/lib/nova/instances/c5b51cf8-869d-4a60-a859-c429fd1aa64b/disk
vdb
/var/lib/nova/mnt/9ee86d8d8bea25386f3fb64bf071bcf7/volume-94d1428f-427f-43e7-9101-0408e472c1a8
vdc
/dev/disk/by-path/ip-192.168.130.243:3260-iscsi-iqn.199208.com.netapp:sn.37846a355b6f11e3ad89123478563412:vs.3-lun-0