4.5. Organizing Logical Structure¶
Virtuozzo Automator allows you to organize all your registered physical servers and with virtual environments on them in the following ways:
All of them present a logical and easily manageable structure (with as many levels as you like).
The other Virtuozzo objects, like OS, and application templates, and virtual environment backups, are automatically filtered to conform to the current level of the object hierarchy.
The Virtuozzo Automator security policies can be set up not on the physical server or virtual environment level, but on the level of an arbitrary group of objects, provided these objects are united into a folder.
There are two independent ways to design the structure organization. They are called Infrastructure and Logical View and presented as top-level elements in the Virtuozzo Automator left menu. You can use either one of them or, better, both at once, as their functions are different:
Infrastructure allows you to display the physical organization of the VA infrastructure. For example, all the physical servers will take place one level lower than the datacenter, and all the virtual environments running on a certain physical server will be shown under it. You can create your own folders in the Infrastructure group, but you cannot violate the order of nesting objects. As a way to help with the visual representation of physical objects, the folders you create here can also be called Datacenters and Racks.
Logical View allows you to group your physical servers and virtual environments in your own way independently of the physical infrastructure. For example, by grouping all the financial department activities under a common ‘FinDep’ folder, your organization will be able to manage them as a single entity by collectively managing permissions, scheduling backups, applying system updates, and more. Additionally, physical server or virtual environment may simultaneously appear in any number of folders.
The main operations related to organizing the VA infrastructure are available with the top toolbar buttons visible if you are currently located in the Infrastructure/Logical View context (i.e. not in the physical server or virtual environment context). Below are the ways to set about:
Adding a folder. On the left menu, click the folder in which you want to create a new folder. On the top toolbar, click the Create in this Folder button and select Create Subfolder.
Renaming a folder. On the left menu, click the folder you wish to rename. On the top toolbar, click the Manage Folder button, then click General Settings.
Moving a folder. On the left menu, click the folder you wish to move. On the top toolbar, click the Manage Folder button, then click Move Folder.
Deleting a folder. On the left menu, click the folder you wish to delete. On the top toolbar, click the Manage Folder button, then select Delete Folder.
Including a physical server in a folder. Click on Infrastructure on the left menu and go to the Hardware Nodes tab. Select the physical servers you wish to include in a certain folder and click Move on top right of the Hardware Nodes table. If you are working with Logical View, the course of actions is a bit different, because any physical server can belong to any number of folders. On the left menu, click the folder where you wish to include the physical server. Then click the Add to Folder button on the top toolbar, and select Hardware Nodes.
Including a virtual environment in a folder. In the Infrastructure section, the virtual environments always go with the physical server on which they are hosted, so you cannot include them separately in folders. In Logical View, any virtual environment can belong to any number of folders. On the left menu, click the folder where you wish to include the virtual environment. Then click the Add to Folder button on the top toolbar, and select Virtual Environments.
Moving a physical server or a virtual environment to another folder. These actions do not essentially differ from including these objects in folders, so you should be guided by the explanations given above.
Removing a physical server or a virtual environment from the Infrastructure section. Unregister the corresponding physical server (the Unregister button on the Hardware Nodes tab) or delete the virtual environment (the Delete button on the Virtual Environments tab).
Removing a physical server or a virtual environment from a Logical View folder. On the left menu, click the folder from which you wish to delete a physical server/virtual environment, then go to the Hardware Nodes/Virtual Environments tab. Select the object(s) you want to remove and click Remove on top right of the table.
Using the built-in Virtuozzo Automator functionality, you can create a logical structure of your own:
create new folders and edit them;
change the structure hierarchy by moving folders and physical servers;
change the hierarchy by adding physical servers and virtual environments to folders, i.e. you can group the physical and virtual environments according to your needs.
4.5.1. Adding New Folder¶
The new folder you are creating will be placed directly under the currently selected folder in the Infrastructure or Logical View hierarchies.
Folders created are assigned a Folder Type. The default folder type is Folder. Folders created in the Infrastructure section can be of type Folder, Datacenter, or Rack. Folders created in the Logical View section can be of type Folder or Datacenter.
The Folder Title field is mandatory, as it sets the name of the folder. Duplicate folder names are not allowed.
4.5.2. Editing Folder Properties¶
On the General Settings screen, it is possible to change the name of a folder and the icon representing the folder type.
To change the name of the folder, enter a new folder name in the text box in the Title section. To change the folder icon, select the radio button next to the desired icon in the Folder Type section. Click the Submit button to apply any changes, otherwise click Cancel.
Any changes made to the folder name or folder type will not affect any physical server or virtual environment settings.
4.5.3. Moving Folder¶
Folders under the Infrastructure and Logical View level can be moved to other locations within their corresponding hierarchies. You cannot change the location of the following folders:
the parent folder - a folder is already a child of its parent;
the current folder - a folder cannot be a child of itself;
any child folder - this would break the hierarchical structure by disconnecting any links to the hierarchy (one or more folders directly under the folder being moved would have to become the root physical server(s) in a new detached folder hierarchy).
In the drop-down within the Destination Folder section, select the folder you want to move the currently selected folder to. Invalid destinations cannot be selected and are grayed out. Click the Move button to commit the folder move operation, or Cancel to discard it.
For detailed information on working with Infrastructure of Virtuozzo Automator and Logical View trees, refer to Organizing Logical Structure.
4.5.4. Moving Physical Servers to Another Folder¶
Physical servers can be moved from folder to folder in the Infrastructure section only, because the Logical View section allows one and the same object to be simultaneously included in different folders, so this section deals with objects inclusion, and not their moving.
For the selected physical server(s) to be included in the folder of your choice, select this folder from the Destination Folder drop-down menu and click Submit. The physical server(s) will be displayed on the left menu as sub-levels of the selected folder.
4.5.5. Adding Physical Servers to Folders¶
On the Add Hardware Nodes screen you can include any registered physical server in the current folder of the Logical View hierarchy. To do that, press the Add button below the Hardware Nodes section, select the physical servers to belong in the folder, click Use Selected, and finally click Save.
4.5.6. Adding Virtual Environments to Folder¶
On the Add Virtual Environments screen you can include any of the existing virtual environments in the current folder of the Logical View hierarchy. To do that, press the Add Virtual Environments button below the Virtual Environments section, select the virtual environments to belong to the folder, click Use Selected, and finally click Save.