Category Archives: XIV

What will happen undeletable/unused vVOLs when you kick the ass of IBM Spectrum Control

Hello All

Actually all of them are my fault , sure %100

For to do a test vVOLs on IBM XIV IBM Spectrum Control installed , XIV added to it and related configurations done by it.

I dont know how but i made some mistakes about Service creation via IBM Spectrum Control and also after all test over destroyed all vCenter environment without clear something on IBM Spectrum Control and XIV but i know that i will be back (Terminator)

When i back and try to remove group pool from new installed IBM Spectrum Control, i faced an issue like below !

Screen Shot 2016-01-15 at 09.46.28

After long conversation with IBM support also find out another effect like in this link

To solve the problem the way is ;

First list the volumes from XIV (under root domain or new created domain)

vol_list managed=yes

Then delete such volumes in the error or you can delete whole vols which belong to same group pool if you will delete the group pool later

After all this i believe the instruction in link can be fallow but also another way

Login to IBM Spectrum Control , actually i restarted service of IBM Spectrum Control but i guess its no mandatory but like how Obi-Wan you should learn patience 

Then from IBM Spectrum Control remove the group pool

VM

Advertisements

SCVMM2012 R2 Storage Automation With the IBM XIV

Before start to create an article about storage automation with IBM XIV in VMM need to summarize something.

We are using storage systems and to manage them all need a software or cli access.Everybody know that if you are using Netapp, you have different software, different software too for EMC , also for IBM and others too ! There is not single softwate, framework or others to manage them all via single interface and there is no standards.

SNIA, they are very important because they are trying to model and create a framework for storage world. They developed SMI-S which aim is very clear “SMI-S standardizes and streamlines storage management functions and features into a common set of tools that address the day-to-day tasks of the IT environment” to read more go to this link.

Microsoft with Windows Server 2012 introduce storage management and they create a model or framework about it too. They are member or fallowing SNIA. With Storage Management API (SMAPI) using SMI-S they can manage storage systems. Not only SMI-S also its possible to manage other storage systems with SMP or storage vendor specific agent. SMP is WMI based provider, which means storage vendor put something inside their storage understand WMI request and response. You can find out development link here.

Screen Shot 2014-03-18 at 11.25.49

On the XIV site you have to learn more, CIM , DMTF, WBEM. CIM is common information model and its defined and published by the Distributed Management Task Force (DMTF). On WIKIPEDIA very good overview you can find out “One way to describe CIM is to say that it allows multiple parties to exchange management information about these managed elements. However, this falls short in expressing that CIM not only represents these managed elements and the management information, but also provides means to actively control and manage these elements. By using a common model of information, management software can be written once and work with many implementations of the common model without complex and costly conversion operations or loss of information. ”

WBEM as being “web-based.”

On IBM storage systems like Storwize, XIV , SVC you could face embedded CIM agents, enabled automaticly and preconfigured. You can manage the XIV system from the CIM agent that is bundled with the admistrative module.

CIM agent services in the fallowing form

service:wbem:https://admin_module_IP:5989

Screen Shot 2014-03-18 at 14.15.36

Okay, ready to go …

Open VMM console, access Fabric  –> Storage section and add a provider

Screen Shot 2014-03-18 at 14.21.48

To find out all SCVMM supported storage arrays , pls google like “Supported Storage Arrays for System Center 2012 VMM”
Choose option two “SAN and NAS devices dicovered and managed by a SMI-S provider”

Screen Shot 2014-03-18 at 14.24.48

Keep protocol “SMI-S CIMXML”
Set ip address of your storage system , https is mostly used one
Also you should create a Run As Account which credentials should be admin username and password of XIV

Screen Shot 2014-03-18 at 14.26.48

Discovery Process

Screen Shot 2014-03-18 at 14.29.00

Device is discovered

Screen Shot 2014-03-18 at 14.29.50

You should see the all storage pools on XIV, select what pool you would like to create logical units
Choose the pool which VMM will involve and set the classification like gold,silver like usual

Screen Shot 2014-03-18 at 14.39.50

Summary

Screen Shot 2014-03-18 at 14.43.30

Fallow the process from Jobs

Screen Shot 2014-03-18 at 14.44.30

Now its okay , check it everything is fine in GUI or via powershell

Screen Shot 2014-03-18 at 14.46.13

Screen Shot 2014-03-18 at 14.47.03

To test everything is going well create small LUN on the pool Click to Array and top of the screen click “Create Logical Unit”

Screen Shot 2014-03-18 at 14.55.24

Choose the pool, set the name , size , fixed (Thick)  or dynamic (Thin) and OK
Fallow the Jobs

Screen Shot 2014-03-18 at 14.57.08

Check from both site VMM and Storage

Screen Shot 2014-03-18 at 15.00.23

Screen Shot 2014-03-18 at 15.13.09

Lovely 😀

Not over, you can want to assign the LUN to host or something , via VMM Classifications and Pools –> Choose the LUN –> Properties –> Logical Unit Assignment –> Add

😀 ISCSI 😀 HEHHEHEHE Sorry, looks like before i have to configure Fabric Channel maybe to see the SAN informations there

Screen Shot 2014-03-18 at 15.23.24

Another note, related pool will be not appear when you go to one of cluster and try to add Logical Unit there …

Screen Shot 2014-03-18 at 15.27.19

In VMM, Storage tab click Allocate Capacity

Screen Shot 2014-03-18 at 15.29.30

Choose the Host groups to assign , click Allocate Storage Pools

Screen Shot 2014-03-18 at 15.30.39

You will see the available storage pool there , click add to send it bottom

Screen Shot 2014-03-18 at 15.30.49

Perfect

Screen Shot 2014-03-18 at 15.31.31

Thats it
Please care about SAN zoning manually

VM

VAAI and XVI, really great job !

For a long time i was wondering how can i monitor and see the effect of VAAI in cloud environment

Simply i installed vSphere 5.1 and assign a lun to ESXi node then uploaded Windows 2008 R2 iso and installed test VM (200GB Disk) for testing cloning and zero handling.

Then remote the VM from inventory , unmount the datastore and execute the commands below from ESXi cli to disable VAAI

# esxcli system settings advanced set --int-value 0 --option /DataMover/HardwareAcceleratedMove
# esxcli system settings advanced set --int-value 0 --option /DataMover/HardwareAcceleratedInit
# esxcli system settings advanced set --int-value 0 --option /VMFS3/HardwareAcceleratedLocking

Mount the datastore again, add the VM to Inventory then try to clone the VM with choosing such disk option

Screen Shot 2013-09-25 at 2.32.28 PM

its take 3 minutes : 31 seconds : 39 millisecond

then back to VAAI enable, remote the VMs from inventory, unmount datastore and execute the commands like below

# esxcli system settings advanced set --int-value 1 --option /DataMover/HardwareAcceleratedMove
# esxcli system settings advanced set --int-value 1 --option /DataMover/HardwareAcceleratedInit
# esxcli system settings advanced set --int-value 1 --option /VMFS3/HardwareAcceleratedLocking

Mount the datastore again, add the VM to Inventory then try to clone the VM with choosing  disk option like above again

Before from the console execute esxtop, press u and then press f to remove some columns with pressing B, F, G, I and add VAAI things with pressing O and then enter.

Check the CLONE_RD, CLONE_WR,ZERO columns like below , all values should be increase 😀

Screen Shot 2013-09-25 at 2.41.50 PM

its take 18 seconds : 90 millisecond, perfect 😀

Like it, now i can understand how Microsoft new data transfer technology (ODX) can help us !

Some helpful documents

FAQ of VAAI : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021976

VAAI Tech Doc : http://www.vmware.com/files/pdf/techpaper/VMware-vSphere-Storage-API-Array-Integration.pdf

Enable disable VAAI : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033665

none XIV to XIV migration and unrecognized datastore

Yesterday i was testing none XIV storage to XIV migration. Very interesting that LUN is somehow discovered but no way to see it as a datastore.

I tried to recognize datastore with existing signature or push to re-signature it but still datastore was not available.

I checked the log file vmkernel under /var/log and understand there is an issue with reservation somehow.

3th article on list said that this issue caused VAAI enabled and ATS Only datastores, but it should be fixed with 5.0 Update 1 and 5.1 but i was using 5.1 and not  yet tested with 5.5

After disable VAAI like below vmware recognized the datastore.

esxcli system settings advanced set -i 0 -o /VMFS3/HardwareAcceleratedLocking

I guess for vmware point of view or virtualization point of view still storage vmotion is better way to migrate.

Some articles from vmware

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003988

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014953

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2006858