Visualizzazione post con etichetta hp. Mostra tutti i post
Visualizzazione post con etichetta hp. Mostra tutti i post

domenica 2 febbraio 2014

VMware: HP StoreVirtual VSA Part4 - Multi VSA Cluster

In fourth post of HP StoreVirtual VSA series we are gonna discuss about storage clusters composed by two or more virtual storage appliances.
As said in previous articles HP StoreVirtual is a scale-out storage solution which benefits from the addition of other nodes by increasing data reliability and throughput by load balancing requests through different nodes.

To create a proper cluster with load balancing features we need at least two VSAs.



When dealing with a cluster comprising two or more HP StoreVirtual VSAs we need to introduce a new component named as Failover Manager (simply referred as FOM). As for the physical HP StoreVirtual counterpart even VSA use a Failover Manager. Basically FOM is a virtual appliance deployed in VMware environment and to quote official HP documentation:

A specialized manager running as a VMware guest operating system that can act as a quorum tie-breaker system when installed into a third location in the network to provide for automated failover/failback of the Multi-Site SAN clusters. It also added to two-system management groups to provide the optimum quorum configuration.

The Failover Manager is a specialized version of the SAN/iQ software designed to run as a virtual appliance in either a VMware or Microsoft Hyper-V Server environment. The Failover Manager participates in the management group as a real manager in the system; however, it performs quorum operations only, not data movement operations. It is especially useful in a Multi-Site SAN configuration to manage quorum for the multi-site configuration without requiring additional storage systems to act as managers in the sites.



Despite HP StoreVirtual could even use the embedded Virtual Manager to manage quorum ownership in a single-site configuration it is a common practice to deploy FOM due to the fact that the former has some known limitations.

FOM is deployed as a virtual appliance either installable from the HP StoreVirtual VSA for VMware Installer, either downloadable from HP website as an ova assembly. In this scenario I used the former solution.



Since FOM need to communicate with all VSAs in the cluster a proper IP address must be assigned to it.



Once FOM has been installed it has to be found using CMC as for a common VSA by inserting its IP address.



Regardless you are going to create a new cluster or adding FOM to an existing one, the optimal configuration is based on one FOM per cluster plus two, or more, VSAs.

A major benefit brought by clusters with two VSAs is the ability to use Network RAID-10 in which data is replicated on both VSAs to provide a greater degree of availability.



In case of outage of the physical ESXi host running one VSA data is still available and online from other VSA running on the other powered-on host.



When VSA on failed host will be powered back on by HA it will be automatically recognized online and will actively partecipate in the cluster again.



When three or more VSAs are added to a cluster the Data Protection Level of volumes becomes pretty intresting. Network RAID-5 and Network RAID-10+1 can also be selected.

Network RAID-5 is the least space consuming protection level which only distributes parity across VSAs while Network RAID-10+1 is the most secure, yet the most space consuming, level available of data protection which replicates volume data on all three VSAs vaulting data against two appliance failures at the same time.



In a two VSA cluster the cluster itself is not impacted in case of FOM failure.



In case of failure of both FOM plus one of the two VSA the cluster becomes unusable until FOM and/or VSA are brought back on.



To prevent this situation a good practice is to place every appliace (FOM + both VSAs) on separate physical hosts decreasing the probability that an host outage could affect the entire storage cluster.

Other blog posts in HP StoreVirtual VSA Series:

HP StoreVirtual VSA Part1 - Installation
HP StoreVirtual VSA Part2 - Initial Configuration 
HP StoreVirtual VSA Part3 - Management Groups Clusters and Volume
HP StoreVirtual VSA Part4 - Multi VSA Cluster

venerdì 31 gennaio 2014

VMware: HP StoreVirtual VSA Part3 - Management Groups Clusters and Volumes

In this third post in HP StoreVirtual VSA series we will discuss about creation of Management Groups, Clusters and Volume deployment.

These aforementioned operations can be easily performed using CMC. In the Getting Started page click Management Groups, Clusters and Volumes Wizard.



Let's create a new Management Group. A Management Group is a logical container which allow the management of one or more HP StoreVirtual VSAs, as well as physical appliances counterpart, both on single-site and multi-site configurations.



Select one or more HP StoreVirtual VSAs which be assigned to this Management Group.



Enter Management Group credentials. These credentials will be used for any management task of any HP StoreVirtual belonging to this specific Management Group.



Set an NTP server for automatic time synchronization or set time manually.



A good way to refer to Management Groups is using DNS which is, as you know, not influenced by IP address changes.



Set SMTP to enable notifications from VSAs. This is an important step since notification will include informations about system's health status and in physical counterpart will inform you regarding any physical failure that could occurr in HP StoreVirtual array.



Cluster are, similarly to VMware's ones, groups of VSAs that provide data fault tolerance due to particular configurations like network RAID. In this article we will setup a single site cluster.



Choose cluster name then storage to include in the cluster itself.



Enter cluster's virtual IP address. This IP address is the one who will be used from vSphere, or any other server/VM, to connect to the storage via iSCSI.
This is because due to the highly scalable HP StoreVirtual VSA architecture in this way we can dynamically add new VSAs to the cluster without changing anything in the front-end making our hosts point to the same virtual IP regardless how many HP StoreVirtual VSAs we will introduce in the cluster.



After cluster creation new volumes can be provisioned.



Previous screen deserves some words: Data Protection Level is a very important feature supported by HP StoreVirtual VSA. If in the cluster there are two or more VSAs to achieve a better data protection we can benefit from the network RAID protection which basically spreads data between different VSAs as the common RAID spreads data across different physical disks within the same array. Anyway I will return on this in a coming up post about multi-VSAs clusters.
Reported size, as name suggest, is the size of the provisioned volume. Beside this provisioning as for VMware's virtual machines disks, can be thin or thick.
Adaptive Optimization, as mentioned in previous articles, features the capability of moving frequently accessed data chunks to faster tiers to increase I/Os, though this featues does not comes for free, infact it requires VSA to be backed up by volumes physically placed on both SSDs and hard disks, as well as a dedicated license to enable this feature.



This is the summary, check that everything is set as desired then press Close.



Let's now assign the previously created volume to VMware ESXi hosts.

Right click Servers -> New Server or New Server Cluster if you need the previously created volume to be assigned to more than one host.



Enter host Name, Description and IP Address, then check Allow access via iSCSI and enter host's iqn which can be found in vCenter server under storage initiator configuration.
Enable load balancing feature allow the balancing of iSCSI sessions. All sessions pointing to the previously created virtual IP address will be balanced and managed by different VSAs to prevent bottlenecks and increase in storage response time.
CHAP can also be configured here. As a best practice CHAP should be enabled to prevent unauthorized access to HP StoreVirtual VSA.



Once server/server cluster has been created we need to specify which volume can be accessed by which hosts. Since I've created just VOLUME_TEST I will assign it to my ESXi host.

Right click VOLUME_TEST, Assign and Unassign Servers.



Select server/server cluster and choose the proper permission of the host on the volume.



Next step is to present HP StoreVirtual VSA to ESXi hosts as the iSCSI target. This is done accessing host's storage panel, and assigning either Static or Dynamic target, configuring CHAP, etc. pointing to HP StoreVirtual VSA virtual IP address created during Cluster configuration.

Other blog posts in HP StoreVirtual VSA Series:

HP StoreVirtual VSA Part1 - Installation
HP StoreVirtual VSA Part2 - Initial Configuration 
HP StoreVirtual VSA Part3 - Management Groups Clusters and Volumes
HP StoreVirtual VSA Part4 - Multi VSA Cluster

lunedì 27 gennaio 2014

VMware: HP StoreVirtual VSA Part2 - Initial Configuration

After installing HP StoreVirtual VSA let's discuss a bit about management and initial configuration. VSA management is mostly performed by using HP StoreVirtual Centralized Management Console (CMC), even if some management tasks can only be performed directly accessing the VSA, in our case opening VSA virtual machine console. In this post I will guide you through CMC main screens and initial configuration while in the next post we will create Management Groups, Clusters and, finally, Volumes.

CMC has a quite intuitive management interface, the Getting Started page will help you in finding VSAs and provisioning new volumes.



At first VSA has to be added to the CMC, click Find Systems -> Add. Enter VSA management IP address which by default is eth0 address you setup while installing VSA.



Press OK and wait until the VSA it is found.



Once VSA has been added to CMC the main screen will appear. From here you can have a rapid glance of system status, version and supported features, like Adaptive Optimization.



As told in previous article VSA does not support RAID configurations, this is because RAID is assumed as properly configured in the underlying storage at physical level.



VSA also supports storage tiering, which means that different profiles of storage can be set based on performances of underlying physical drives. I explain myself better: let's pretend that VSA store its data on two volumes, presented, one as a RAW LUN by the storage, one as a datastore by ESXi host, to the VSA VM. These two stores (LUN+datastore) are physically located one in NL SAS disks and one in SSD storage. Without proper configuration for VSA would be impossible to recognize that a part of its data is placed on fast SSDs while another part on slower NL SAS disks so VSA would place data on these two volumes disregarding the different kind of underlying physical storage.
VSA can be configured to classify storage as per tiers by marking SSD storage as highest tier (tier0) and NL SAS as lower tier.
By setting tiers, volumes can benefit from Adaptive Optimization which moves chunks of frequently accesses data to faster tiers thus offering better performances when needed.



Network configurations can be changed/modified via Network screen. IP addresses of both interfaces can be changed here.
Please note that only one interface can be used for management and by default this is the interface with a Default Gateway (the unused interface will report 0.0.0.0 as default gateway).
Unlike physical HP StoreVirtual appliance, VSA does not support interface bonding for throughput increase by channel aggregation.



Also NIC Flow Control is not supported in VSA while speed & duplex and frame size can be edited.



As depicted in the picture above frame size is greyed out using CMC. It can be modified by accessing VSA interface (i.e. VSA virtual machine console). This is done by typing "start" (without quotes) at login prompt, then Network TCP Status, select interface, then Frame Size can be customized.



Once changes occurred CMC will report Jumbo Frames as enabled.



Please bear in mind that JumboFrame to work properly needs all path traversed by iSCSI data set with an MTU of 9000bytes, this means that virtual switches, and physical switches, if any, must have their interfaces properly configured in order to support frames with a payload size of 9000bytes because otherwise bottlenecks will occurr since switches will fragment packets using smaller MTU size or, in worst case scenario, switches will drop packets if their ports are configured with "Do Not Fragment" policy.

Other blog posts in HP StoreVirtual VSA Series:

HP StoreVirtual VSA Part1 - Installation
HP StoreVirtual VSA Part2 - Initial Configuration
HP StoreVirtual VSA Part3 - Management Groups Clusters and Volumes
HP StoreVirtual VSA Part4 - Multi VSA Cluster

martedì 21 gennaio 2014

VMware: HP StoreVirtual VSA Part1 - Installation

A few months ago I wrote a blog post regarding EMC VNX virtual storage appliance.
Today I would like to start a blog post series on HP StoreVirtual VSA. If the VNX was intended to be a simulator to practice with Unisphere for file storage provisioning, HP StoreVirtual VSA is a proper virtual storage appliance (VSA) supported in production environments providing block-based storage via iSCSI.

A VSA is a virtual appliance deployed in a VMware environment which aggregates and abstracts physical underlying storage in a common storage pool which will be presented to the hypervisor and can be used to store virtual machine disks and related files.
StoreVirtual VSA can use both existing VMFS datastores or RDM (raw LUNs) to store data and it can be configured to support sub-volume tiering to move data chunks across tiers. StoreVirtual VSA as the "physical" HP StoreVirtual counterpart is a scale-out solution, this means that if you need to increase storage capacity, resilience or performance other StoreVirtual VSA nodes (i.e. virtual appliances) can be deployed.

I will discuss scale-out capabilities in another article since by adding StoreVirtual VSA nodes proper configurations need to be applied (cluster creation, FOM deployment, etc.).

Guest OS, of a VM residing in StoreVirtual VSA, issues I/O requests to its VM disks residing in a datastore which is presented via iSCSI to the ESXi host by StoreVirtual VSA. StoreVirtual VSA itself issues I/Os to its disks residing on datastores or RDMs located in the physical underlying storage. This allow at first to abstract storage arrays having StoreVirtual VSA disks residing in different physical storage (DAS disks, NFS or iSCSI, FCP, FCoE, etc. datastores), secondly it introduces tiering capabilities by defining (I will explain how in the next article) higher and lower disk tiers. These aforementioned requests pass through VMKernel again before hitting physical storage. Conversely data returns from physical storage to guest OS following the opposite path.
Due to the long path followed by I/O, performances are not the prior concern when dealing with VSAs. I/Os managed by VMKernel have an average latency of microseconds (KAVG metric) while to hit physical storage we incur in millisecons latencies (DAVG metric). Consider that usually using a VSA we introduce several more passages through VMKernel. As an additional note certain VSAs (AFAIK not HP's VSA) use their RAM memory, which physically resides inside an ESXi host, as a caching layer on which frequently accessed data is fetched from storage due to locality access principle. This avoids I/Os to traverse VMKernel through physical storage when a certain block, requested by a guest OS, belongs to the pre-fetched & cached blocks. If block is not there (MISS on cache) VSA retrieves it from physical storage.

Prerequisites for HP StoreVirtual VSA according to HP VSA Documentation are the following:

-3GB of RAM reserved for VSA VM.
-One vCPU with 2GHz reserved for VSA VM.
-A minimum of 5GB and a maximum of 2TB for each virtual disk. Up to 10TB of space is supported per each VSA.
-A dedicated gigabit virtual switch.

Prior to start VSA installation a dedicated gigabit virtual switch needs to be created. Both VM PortGroup and VMKernel for iSCSI will reside on the same vSwitch preventing in this way iSCSI traffic to hit physical switch. If possible (i.e. Enterprise Plus license with vDS) setting LACP/Etherchannel on virtual switch physical ports will increase available bandwidth. I also set MTU to 9000bytes on both iSCSI VMKernels and vSwitch.



Let's now install the HP StoreVirtual VSA. Once downloaded and uncompressed run the setup. If want to use GUI installer select option 2.



Centralized Management Console is the software used to manage HP StoreVirtual VSA (and physical appliance) so if you don't already have it you need to install it.



Next connect to a vCenter (or ESXi host) in order to deploy HP StoreVirtual VSA.



Select host on which place the HP StoreVirtual VSA. ESXi host's datastores or connected RDMs will be listed.



Select HP StoreVirtual VSA. I will return on FailOver Manager (FOM) installation in a coming up blog post. If you have different datastores in different storage arrays you could also enable VSA auto-tiering.



Select datastore in which HP StoreVirtual VSA files will reside. This is the datastore where VSA VM files and OS disk will be created. Data stored in HP StoreVirtual VSA will *NOT* reside here.



By default VSA comes with two virtual network adapters. Only one of these will be used for LeftHand OS management traffic, iSCSI data transfer and intra-cluster (data exchanged between different VSAs) traffic. Edit network settings accordingly to your environment.



Select VSA VM name.



Next you need to select how much space will HP StoreVirtual VSA provide and from which datastore VSA will use it. As you can see in image below I selected 10GB of space from Datastore_VSA datastore and 40GB from Datastore_DATA_VSA datastore. Up to 7 different datastores can be used to store VSA disks. Usable space presented by StoreVirtual VSA will be the sum of these values. In my case StoreVirtual VSA will have 50GB of raw/usable space. Raw space and usable space are the same since in VSA striped RAID will be used by default because VSA assumes that proper RAID configurations are already implemented on underlying physical storage.



Since in this article we are installing a single node VSA select "No, I'm done".



Summary screen will appear, if everything is correct press Deploy.



After deployment has completed press Finish button.



HP StoreVirtual VSA has been installed and powered-on in your selected ESXi host.
VSA configuration will be explained next.


Other blog posts in HP StoreVirtual VSA Series:

HP StoreVirtual VSA Part1 - Installation
HP StoreVirtual VSA Part2 - Initial Configuration 
HP StoreVirtual VSA Part3 - Management Groups Clusters and Volumes
HP StoreVirtual VSA Part4 - Multi VSA Cluster