Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

VMware Solutions Discussions

Snap Center Plugin for vmware vsphere - auto tagging

AutoTeam

Hey all,

I don't know if here is the right place to ask, please be patient 🤗

We have On-prem environment based on VMWare vsphere (a few ESXi hosts and VMware VCenter). We also have Snap Center plugin for vmware VCetner installed on the VCenter itself, and a dedicated server for backups (snap center server on windows os, snap center version 4.0)

 

Since the plugin for VCenter is installed, we can to do a simple recovery actions from snapshots (restore a single vmdk file, de-attach and attach disks, restore entire vm, etc...). Those actions automatically creats a datastore (usually named snap-<some uid>) managed by the snap center vmware 'run as account'. I will call these 'snap center datastores'

However, a regular user still can create Virtual disks on these datastores - makig it difficult to manage. 

We thought create a storage policy that prevent a regular VM disks reside on Datastore generated by the snap center. For this to come out, we need to find a way to attach vmware tag to each datastore created by the snapcenter.

 

Is it possible to define some vmware storage tag added automatically to those datastores when they are created?

This is important for us since we have some "leftovers" - snap center datastores being kept for a long time for some research reasons.

 

Hope this message is clear enough 😊

 

Tankwell

2 REPLIES 2

hmoubara

Hello,

 

Based on your detail provided, you wanting the datastore created during a clone or restore to a have a specific tag like the option you have within Vsphere (Tags &Custom Attributes). Currently there is no such option within Snapcenter.

You should be able to add tag once the datastore is available from the vsphere itself.

You can also reach out to your account team to assist in getting your request to Engineering if possible.

 

Thanks

AutoTeam

I wanted to use the tagging feature in order to assign a specific storage policy to those datastores, in order to prohibit regular users to write a new files to the restored datastore.

It turns out that when someone place a new vmdk file in Datastore created by the snap center, the snap center plugin see's it as attached disk - which will cause a problems when trying to remove the snap center datastore in the future.

 

Do you have another  suggest how do I prevent such situations?

Thanks

Tankwell

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public