Showing posts with label Storage. Show all posts
Showing posts with label Storage. 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 !!  

Sunday, February 8, 2015

Recommendation on Linkedin - Yes, I need it !

Hi All,

I never thought about this before to write a blog post of about requesting the community members and friends and others who are in touch with me one or the other way, to provide recommendation to me through Linkedin.  Now  a days Social media is the way to reach out to mass and seems to be very effective too.

After serving 8 years at VMware, now I am in a position where I am searching for a new challenge so at the same time feeling necessity about having Recommendation of my Work done in that duration.

If my contribution / reply / update / pointers helped you in any way or at least put you in the direction you want, then please just take few minutes to provide a Recommendation as its very valuable for me a lot. I would say it will be priceless.

As everyone knows Linkedin is the platform for all professionals to be in touch with each other and this is a most respective way in our professional world where one can find out everything about other person in this very space.

I have provided recommendations to those who needs them time to time and never thought of the need at that time but now I am in the same boat as them. Time is same for everyone and you never know when it will change. As it changed for me, I humbly request to provide the same at your earliest convenience and me and my Family are truly grateful to you for your time and help.

So please feel free to reach out to me if you need the same and I am happy to provide it as well.

This is a general stand I am taking to get the recommendation as it will take lot of time to reach out to people individually (in fact I am doing that too) but as the person might be busy or not checking his linkedin, the message may be sitting there idle. I have seen few messages like that in my inbox which I just acted and agreed that they were requested by the person/s almost a year back. Now providing the recommendation at present, may or may not help as it was not done on time (may be they need at that time) and I have provided today. So please check your inbox for such message and at least let the person know the status about it. Going forward, I will be taking care of it for sure as now realized the importance of it. As everyone has their own priorities to do things so please dont take this as any advice or such. but consider it as a general thought of a person who is in need at the moment.

If you are not in my circle then just send out the request on my way and my doors are open.

If you see any request from me about the recommendation then once again, just requesting few minutes of your busy schedule to provide it.

Community is all about help and hence this blog post.

Hope you will help and also spread the message to others.

Thanks for your time and help

Please share and care !

Wish me luck !





Wednesday, February 20, 2013

Need 5 mins of your valuable Time

Hi All,


Back in 2012 the announcement of vExpert for 2011 was made and I was not selected based on the standards and criteria but I took that as a challenge and committed to myself to do blogging about all VMware related technologies and actively started blogging from April 2012 onwards and here I am with 70 Blog posts so far.

This blog is dedicated to all the VMware Community and to the people who are using VMware on a daily basis.

Spreading knowledge is the key for me when it comes to VMware. I am not in the race but just to get the support from you in one of the categories such as the following would be highly appreciated.

"Best New Blog"

"Best Networking Blog" 

"Best Storage Blog"



There are others blogs out there but if you think a single blog post helped you then Vote for my blog just for the support and extend the help to contribute more and more going further.

It will take few minutes of your time but will make more long time effect on me and will give enough fuel for the upcoming years. I expect nothing else as your invaluable Vote will have everything.

Use the following link to vote and urging not to do any Fake multiple voting.


http://www.surveygizmo.com/s3/1165270/Top-vBlog-2013

Thanks for your time and appreciate all the help you are doing to recognize the efforts




Share and care !!

Cheers !!


Vote for the "Best New Blog" of 2012

Wednesday, December 19, 2012

Storage Path Ranking in vSphere

Recently I was researching some storage related issues and found out this cool feature in @MostafaVMW's recent book on Storage Implementation on vSphere 5.0 about ranking your paths when you are using VMW_PSP_MRU with ALUA arrays or non-ALUA Active/Passive Arrays.

So by using the ranked paths you can (indirectly) actually configured preferred path without using the VMW_PSP_FIXED plugin.

As you can rank the paths in ALUA configuration, if one path is no longer valid then PSP fails back to a path which has a higher rank configured. In non-ALUA it goes by the path Group State which is Active and if not available then goes by Standby state. 

You can use the following command to setup the rank which goes in the way like "Higher the value and higher the rank for that path" (Default is 0 - Zero).

esxcli storage nmp psp generic pathconfig set -c "rank-" -p  

You can get the existing ranking for the path using the command:

esxcli storage nmp psp generic pathconfig get –p

Note: Where XX needs to be replaced by numeric value and path name should be provided depending on your requirement/s. Path names can be runtime path name or physical path name.

So to summarize if an AO path with highest rank fails , it will find the next path with highest rank and fails over to that path, but suppose there is no other AO path available with any ranking, then it will fail over to the next highest ranked path which is connected to a port in ANO state and eventually in standby state.

vSphere Client does not have the functionality at present to setup the ranking for the paths so you need to use esxcli command line only for now.

Hope you can use this feature in certain conditions where multipathing policies are not fully available but you can still benefit out of the existing setup using this feature.

I am just spreading the information for those who does not have access to the book. At the same time indeed suggesting to everyone to buy it and read it for further/deeper understanding of all the vSphere Storage related concepts.

Thanks and please share !!

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.