You can create custom attributes in the vSphere Client and associate the attribute with an object, such as a host, virtual machine, cluster, or network. You can also edit custom attributes.
After you create the attributes, set an appropriate value for the attribute on each virtual machine. This value is stored with vCenter Server and not with the virtual machine. Use the new attribute to filter your virtual machines. If you no longer need the custom attribute, remove it. A custom attribute is always a string.
- Create a Name custom attribute for the sales person's name.
- Add the Name custom attribute column to one of the list views and add a name to each product entry.
- You can now click the Name column to sort alphabetically by sales person.
- In the vSphere Client Home menu, select Tags and Custom Attributes.
- Click Custom Attributes.
All currently defined custom attributes for vCenter Server are displayed.
- Click New.
- Enter the values for the custom attribute.
After you have defined an attribute on an object, it is available to all objects of that type in the inventory. However, the value you specify is applied only to the currently selected object.
- Type the name of the attributes in the Attribute text box.
- Select the attribute type from the Type drop-down menu.
- Click OK.
- You can later edit a custom attribute.
- Select the attribute and click Edit.
- Change the Name.
- Change the type if it's available.
- Click OK.