XenCenter

Using Folders

A folder is a container that groups managed resources in whatever manner makes sense for your environment. For example, you might create a folder for each branch office in your organization. Folders can contain any type of resource from anywhere in your XenServer environment. Resources can be accessed independently of the folder in which they are referenced.

The organization of folders in XenCenter is conceptual, not physical. The resources are not physically located in the folder. Therefore, you can place resources into folders independently of their physical location. For example, placing a VM into a folder does not place its host server in the folder as well. Placing a server into a folder does not place all the VMs and storage resources on that server into the folder as well.

Folders can also be used in search queries. For example, you can search by folder with a “contained in” or “not contained in” relation and a list hierarchy of folders. For more information, see Create a Search Query.

The folder in which a resource is located is shown on the resource’s General tab and in its Properties dialog box. You can always see folder information for a resource. You can also move a resource into a different folder or remove it from a folder from the General tab.

To create a folder

The simplest way to create a folder is through Resources pane. Click Organization Views in the Navigation pane, and then select Objects by Folder. In the Resources pane, click the Folders group, right-click, and select New Folder from the shortcut menu. Type a name for the new folder, select the server where your folder metadata is stored, and then click Create.

You can also create folders from the General tab for any resource:

  1. In the Resources pane, select a pool, server, SR, virtual machine, or template, then click the General tab and click Properties.
  2. On the General tab of the Properties dialog box, click Change in the Folder box.
  3. In the Change Folder dialog box, click In this folder button and then click New Folder.
  4. Type a name for the new folder and select the server where your folder metadata is stored, then click Create.
  5. Click Move to apply the change and click OK on the Properties dialog box.

To move resources into and out of folders

Move a resource into a folder by dragging it from the Resources pane or Search tab and to the folder. Resources can only be in one folder. If the resource is already in another folder, it is moved when you drag in onto a different folder.

You can also move a resource into a different folder or remove it from a folder from the General tab:

  1. In the Resources pane, select the pool, server, SR, virtual machine, or template you want to place in a folder.

  2. Select the General tab and click Properties.

  3. On the General tab of the Properties dialog box, click Change in the Folder box.

    • To remove the resource from its current folder, select Not in any folder.
    • To move the resource into a different folder, select In this folder and choose a folder or a subfolder from the list.
    • To place the resource in a new folder, click New Folder. Type a name for the new folder and select the server where your folder metadata is stored, and then click Create.
  4. Click Move to apply the change and click OK on the Properties dialog box.

To rename a folder

  1. In the Resources pane, select the folder then right-click and select Rename Folder on the shortcut menu.
  2. Type the new name.

To delete a folder

You do not actually delete the resources in the folder when you delete the folder. The resources return to the general collection.

  1. In the Resources pane, select the folder, then right-click and select Delete Folder on the shortcut menu.
  2. Click Yes to confirm.

All the contents are moved out of the folder and then the folder is deleted.

Using Folders