How to indicate Managed By #11589
-
Hi I am looking for a way to document which virtual machine is managed by whatever other virtual machine. We have many virtual firewalls. Each of these firewalls are managed by another virtual machine, a management-vm. Some of the management-hosts are managing several virtual firewalls (as some customers have more than one), others have just one virtual firewall. We are an ISP. I know I can do this using 2 customs fields, but is there a better way? Perhaps something that link the 2 vm's "dynamically". Please ask if I need to elaborate further |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
A single "managed by" custom field sounds like the right model to me. On the firewall, set it to point to the manager VM, since this is a many-to-one relationship. When viewing the manager VM, I presume you'd want to see the reverse relation: a list of firewalls which is managed by that VM. You can do that creating a custom link to I think you should avoid having a second, multi-select custom field pointing in the opposite direction, because that doubles the data entry and means inconsistencies are likely; you'd then need to run a report periodically to hunt out and highlight these inconsistencies. |
Beta Was this translation helpful? Give feedback.
A single "managed by" custom field sounds like the right model to me. On the firewall, set it to point to the manager VM, since this is a many-to-one relationship.
When viewing the manager VM, I presume you'd want to see the reverse relation: a list of firewalls which is managed by that VM. You can do that creating a custom link to
/virtualization/virtual-machines/?cf_managed_by=NNN
(where NNN is the id of the manager VM). Or you might be able to do it with a plugin.I think you should avoid having a second, multi-select custom field pointing in the opposite direction, because that doubles the data entry and means inconsistencies are likely; you'd then need to run a report periodically to…