Showing posts with label EMC. Show all posts
Showing posts with label EMC. Show all posts

Thursday, October 22, 2015

EMC Networker v/s vCenter Templates

Hi,

Recently I was part of the discussion and found few interesting things when discussing the automation and backup of the critical environmental components.

Infrastructure contains vRA 6.2.x and vRO and all the virtual machines are using the Templates situated on vCenter Server.

Now the backup solution in use is EMC Networker which replaced  Veeam recently.

Due to left over snapshots and not regular clean up were the main reasons to change the backup solution.

After having discussion with the Backup Team they sent the list of the permission the backup user needed on vCenter Server as follows.

As per NetWorker-8.2-SP1-VMware-Integration-Guide (Refer Page 44)




Now the above permission were assigned the service account which was created on vCenter Server.

But when the Backup Team tried to register the service they were getting an error.

I have assigned the Full Administrator Role in vCenter to that Service Account then the registration was successful.

Now I am not sure what exact permissions are required just to register the extension/service with vCenter Server. So asked the same question back to the Backup Team and they in turn asked to EMC support the same question and the answer received was to go through the above permissions only.

Now my question is WHY the EMC Networker service account user needs Administrator Role on vCenter Server to do the Backup and Restore of the VMs ??

As from Security perspective this is clearly a risk to assign the Admin Role level access to vCenter Server as it has enough rights to do any kind of destruction in vCenter Server.

I have looked at the other permission for restore and from the documentation found out the following.

"permissions requirements
· The account used to log into the "EMC Data Protection Restore Client" login page must have Administrator rights in vCenter (or the user must be assigned to the role that contains the minimum vCenter user account permissions for EMC Backup and Recovery).
· The Account and role with the minimum vCenter account permissions must be assigned to the root of the vCenter and the option to propagate must be selected. (Add to root, not through a group)· 
· The user account being used must also be part of the Local Administrators group on the server that is performing the file level recovery - it cannot be an AD account, (explicitly add the account to the Local Administrator group on the recovery virtual machine)
· This is required for the File Level recovery process to access the local resources on the virtual machine performing the recovery.
· Ensure that the virtual machine performing the file level recovery is part of the same vCenter server as the source virtual machine.
· The File Level recovery also interacts with the virtual machine VMware Tools, so ensure the VMware tools are installed and up to date."

So even we need to create a local user on the vCenter Server which must have the Admin privilege.

Again a security concern there. Now to get the backup going for the templates, such compromised was needed as I have tried assigning different role to the vCenter Service Account (with Backup role, and also tried changing permission on specific components from the table) but none worked.

The biggest challenge with Networker we found is to backup Templates.

EMC Network CAN'T Backup Templates. (on page 82 of the same guide). BOOOOMMM .....


This was the biggest surprise to us as we have the vRA/vRO components backed up using the same solution but what about Templates. As the vRA blueprints relies on the vCenter Templates they needs to be backed up regularly in case of a disaster.

We got few options on our hand to backup the Templates

a) Convert the Templates into VMs a day before the scheduled Backup and after the backup successfully run then convert them back to Templates

Downside/s of doing that are

1) The whole automation platform is not available to the DevOps community internally during that time

2) If the backup fails for X reason we might have to attempt one mote time and it will be a down time for the end user and keeping track of such missed backup and then schedule them again and again is a simple Pain.

3) Put a change request each time when we convert the templates and one person has to stay late to make sure all the Templates are converted to VMs properly and none left out which is more man hours on each window.

b) 2nd option was to use the Linked clone/s for vRA which is/are nothing but powered off VM/s with a snapshot on it and that DO NOT have a .vmtx format so for EMC Networker, its easy to Backup the same.

Downside of doing this

1) Each VM has a snapshot for not reason and every change to the template will grow the snapshot and we are unnecessarily occupying the space on the SSD storage (yes Xtreme IO) on the back which is not advisable when the matter comes to SLA.

2) Management to differentiate between the actual Linked clones which we are using to serve other Team (such as Server Team and Database Team) to give them ready made VMs with necessary OS/Applications loaded based on the blue print selection and they will change the IP/DNS entries based on the type of VM and the person who requested (yes IPAM solution is Work-in-progress :-))

c) The last option was to not use any of the above but just dedicate a separate LUN where we can store the Templates and then replicate the LUN

Downside of doing this

1) We need an additional LUN which is not cost effective

2) More manageability from storage perspective

As option C was more effective apart from the cost involved, we had no other choice as it was easy for time being till EMC come up with an actual fix to resolve such issue in any future release.

Now not having such functionality is totally a down hill in the whole backup plan and such dilemma was resolved by putting the templates on a specific LUN and then replicate that LUN on to a DR Site using EMC Recover Point.

Eventually we took care of the Backup for Templates but could not understand the reason why such support is not provided. Is it Technical ly not possible which is hard to believe or some other gotchas involved (which I dont have any idea about).


Hopefully this will help people running in to the same situation and gives a better option to decide which solution to go with.


Please share and Care !!  

Wednesday, January 21, 2015

End of Era.... Waiting for new Beginning !

Hi,

This is very unexpected and unfortunate but I received this news today that due to Organizational restructuring my position at VMware got eliminated so now I am open to any position within the SDDC, NSX, cloud computing or any other suitable position if you or someone in your circle knows about it.

Its been solid 8 years at VMware and saw the whole organization very closely including its growth, products, vision etc. etc.

I started in the days of ESXi 2.x onwards and now 6 is almost on the door step this year.

During my journey here I took some challenges apart from my normal routines and got awarded externally with vExpert (2014/2015) and Cisco Champion 2015 recently. so far I am the only TSE in GSS of VMware who is Cisco Champion so that is a proud moment.

Recently also received an award for Super KM Hero for the year 2014 by the Knowledge Management Team of VMware which is given to an individual who has the highest contribution to the Internal/ External KB articles and White Papers/official documentation by providing positive constructive Feedback/s.

Created around 130+ articles in the repository of the articles and got numerous awards over the years too for the efforts I have put it in.

Anyway my Linkedin Profile has all the details but please get in touch with me if you have any position for me and if you know someone who has such opening in the above areas where I can use my knowledge and experience and I am sure I won't let the selection down.

You can also reach me through Twitter (DM) if you are following me.

I am really thankful for your support and hoping to get some gig soon as I am open to any location in US as decided to move from Canada. I can provide more details if you need once we start having conversation.

This is very hard to digest but C'est la vie !!

If you are on my Linked contacts then please feel free to provide recommendation at your convenient time. Also any references you can provide is appreciated (personally/professionally).

When one door closes, another one opens. This is what I strongly believe and now just waiting for the right moment.

Not feeling anything negatively but staying strong and hoping things changes soon.

Please feel free to reach out to me if you need any more information through email, Linkedin or Twitter or using this blog. 

Sunday, May 25, 2014

EMC VNXe 5100 and Checkpoint Folders on VMFS volumes

Hi,

Came across an interesting situation where the virtual machine stopped responding as the External Backup application tried to take the snapshot and the storage ran out of disk space

Infrastructure details

ESXi: 5.x

VM: Windows 2Kx OS

Storage: EMC VNXe 5100

4 HDDs are mounted on the VM which are coming from separate individual VMFS datastore.

All 4 VMDKs consumed the overall space of 4 TB in total.

The Datastore summary states the total size is 18.7 TB consumed out of 28.25 TB provisioned. This is the only VM using those 4 LUNs for each VMDK.

So the question is where is the additional space of 14TB lost apart from 4 TB used by the VM??

Here is the output of du -h for the VM and /vmfs/volumes

/vmfs/volumes/50cc5dd8-555143cbd-44d2-ac162d783818/SVRAP01 # du -h
332.6G  .
/vmfs/volumes/50cc5dd8-555143cbd-87d5-ac162d783818/SVRAP01 # du -h
3.7T    .

du -h
8.0K    ./.ckpt_group.vmware_21_sg_443.fs.13/lost+found
272.0K  ./.ckpt_group.vmware_21_sg_443.fs.13/.etc
3.7T    ./.ckpt_group.vmware_21_sg_443.fs.13/SVRAP01
8.0K    ./.ckpt_group.vmware_21_sg_443.fs.13/.vSphere-HA
3.7T    ./.ckpt_group.vmware_21_sg_443.fs.13
8.0K    ./.ckpt_group.vmware_21_sg_441.fs.13/lost+found
272.0K  ./.ckpt_group.vmware_21_sg_441.fs.13/.etc
3.7T    ./.ckpt_group.vmware_21_sg_441.fs.13/SVRAP01
8.0K    ./.ckpt_group.vmware_21_sg_441.fs.13/.vSphere-HA
3.7T    ./.ckpt_group.vmware_21_sg_441.fs.13
8.0K    ./.ckpt_root_rep_ckpt_51_832916_2/lost+found
272.0K  ./.ckpt_root_rep_ckpt_51_832916_2/.etc
3.7T    ./.ckpt_root_rep_ckpt_51_832916_2/SVRAP01
8.0K    ./.ckpt_root_rep_ckpt_51_832916_2/.vSphere-HA
3.7T    ./.ckpt_root_rep_ckpt_51_832916_2
8.0K    ./.ckpt_root_rep_ckpt_51_832916_1/lost+found
272.0K  ./.ckpt_root_rep_ckpt_51_832916_1/.etc
3.7T    ./.ckpt_root_rep_ckpt_51_832916_1/SVRAP01
8.0K    ./.ckpt_root_rep_ckpt_51_832916_1/.vSphere-HA
3.7T    ./.ckpt_root_rep_ckpt_51_832916_1
8.0K    ./lost+found
272.0K  ./.etc
3.7T    ./SVRAP01
8.0K    ./.vSphere-HA
18.7T   .


So as you can see the overall space used on the VM is approx 4 TB and at the datastore level is 18.7 TB.

After doing more research found that the these files are created during EMC SAN root replication to preserve a replication pair which had no prior replication relationship. So technically this includes all 4 LUNs used by the virtual machine.

Found few articles here (EMC community) and here (By Justin Paul) found the culprit as well for the Datastore space consumption and how to reclaim it.

As a work around we storage vMotioned smaller VMDK to another datastore and now the VM can be powered on and the users can work with it.

Plan recommended to contact EMC support for better guidance on how to reclaim that space properly without losing any data.

Hope this helps to find out the lost space on the VMFS datastore !

Share and care please !!




Monday, July 15, 2013

VCDX Sponsorship - A cool idea !!

Hi VCDX Aspirants,

If you are not aware about this but recently Nutanix has offered Sponsorship to anyone who is going for VCDX or in process of attaining VCDX.

The exact criteria is described here:

"We are looking for someone who has successfully completed all of the prerequisite exam requirements for VCDX and is ready to submit a Nutanix-based design for their VCDX defense. The lucky chosen candidate will receive as much preparation support as needed and have all submission fees paid for by Nutanix. Let us help you achieve your ultimate goal of becoming a member of the exclusive VCDX community."

And the benefits are:

The chosen candidate will receive:
• A VCDX bootcamp to prepare the candidate for the VCDX defense
• The VCDX submission fees paid for by Nutanix
• Travel and lodging for the VCDX defense


Now looking at this trend, wondering tomorrow or in near future all the big players e.g. EMC, NetApp, IBM, HP etc. will come up with an offering like this, which would give a candidate a chance/motivation to include the components in their design and get benefits of such offerings.


Now this is just my assumption here but it is something which can be done and the company will get more visibility in the community by promoting the VCDX process as a whole which is Elite and Unique in itself.

People are becoming more innovative day by day so not sure what kind of other offers they may started getting from such organizations or even from their employer, which eventually boost the morale of a person to go for such valuable status being a "VCDX".

Good Luck to those who entered in this offer from Nutanix and love to see more of such offers from others in the community.

Share and care !!

Cheers !! 

Thursday, November 8, 2012

Storage Integration Guides for vSphere

Vendor Integration Guides

I am putting here the links for the storage integration guide from various vendors which will help you configure and design your VMware Storage based on the vendor recommendation and best practices.
If you see any storage array not listed here, please leave the comment below and I will update it.