On the Adding properties - tutorial page we set up a scenario with three departments whose devices we want to manage using Tachyon. The three departments are Finance, IT Support and Sales. We want to map these departments onto the devices in our example by setting tags. The only thing that links the devices is the departments they belong to and this is known according to the FQDN of the devices. The best way to handle the setting of the tags is to use a question where the coverage is set to a list of FQDN for a particular department and follow that with an action that sets the tags for that department.
The following table shows the department mapping we want to model using tags:
Our example environment, as shown in the picture opposite, is obviously very small but the advantages will be seen for much larger examples, where each department's set of devices may run into the hundreds or even thousands.
To run an action you first need to ask a question, but which question should you ask?
Fundamentally, questions return a list of device names, with associated information. This list of device names can then be used to target the devices on which to run actions.
There are many different circumstances, questions and actions that may be used, but generally the question selected should try to meet the following guidelines:
In our example we will select the question How many of each operating system version are installed?.
We choose this question because:
For our example the user TCNActioner01, with the Tachyon global actioner role, is going to set the tags for the finance department devices. The animation opposite illustrates the following steps:
Having set the tag for the finance devices the exact same approach can be used to set the tags for the other two department's devices. Once all the tags have been set, questions can be asked with scopes that target the tags, as described in Using tags to set the coverage for a question - tutorial.