|
This section describes how to do the following:
The Views PageLifecycle Management views are displayed under the Change page in the Foundation UI.
This page is divided into two sections, "My Favorites" and "Other views", which together contain an entry for each view currently set up on the appliance. Initially, only views in the first section are displayed. To show the remaining views, click the "(Show)" link next to "Other views". The table below summarizes the details that can be displayed in the entry for each view.
A view can be edited or deleted using the "Edit" and "Delete" links shown next to a view. Editing a view is described in more detail in the following section.
Creating or Editing a ViewCreating a new view and editing an existing view are similar operations carried out using the same page in the Lifecycle Management interface. To open the page for creating a new view:
To open the page for editing an existing view:
There are two important differences between creating and editing a view. Creating a view involves creating new items for which connected sequences of nodes already exist in the Foundation data store, and associating items that already exist as members of other views with this view, if they share the view's type and satisfy its scope rule. Editing a view performs both of the above activities, but if its scope rule is changed, items previously included in the view may need to be removed. This can cause those items associated with them to be permanently destroyed. For further information on the effect of deleting items, see Deleting a View. Since changing a view's type means removing all of its items, and considering a completely different set of items to add, the view type cannot be changed once a view has been created. The "Create new view" page is displayed below. The table below summarizes the fields on this page.
View TypesA view's type determines the kind of dependencies the view will contain. It defines the particular sequence of node and kinds of relationship whose connection in the Foundation data store triggers a potential dependency to be built. The view type also determines what kinds of nodes must be linked, and in what order, for that dependency to be created. A view type can constrain how items are built not just by defining the roles and relationships that may be followed from node to node, but by placing constraints on the attributes of the nodes at either end. This is just like "where" clauses in scope rules and Foundation search service queries. These constraints are fixed, although scope rules can be applied to views of these types as normal. The dependency is built if a view with a corresponding view type exists and its scope rule is satisfied by that dependency. Every dependency has a single associated view type. This means that since a view contains dependencies of a single view type, two views with different view types can never contain overlapping sets of dependencies. Dependencies that may appear to be the same or overlapping but that have different view types have entirely independent state. This means that alerts on them can be raised and cleared independently, they may be separately owned, and so on. Even if two view types were similar enough that a sequence of connected nodes could form a dependency in each, two separate dependencies would be created. This release of Lifecycle Management supports five view types, described below. For further details of the node and relationship kinds included in each, see View Types. Direct Application to Host DependenciesThis view type builds dependencies that represent direct dependencies between business applications and hosts. They record the relationship between applications and the underlying physical and virtual host resources without regard to particular pieces of software that allow these relationships to be inferred. Such views are useful for authorizing, monitoring and performing export control on the basis of application dependency maps. Items in this view follow this pattern: < BAI - HostedSoftware - Host > Full Application and Software Dependencies on Host and ClusterThis view type builds dependencies that trace out the containment and dependency relationships between business applications, running software, hosts and clusters. Views containing such dependencies are useful for fine-grained monitoring of application resource dependencies and for verifying and enhancing application models. Items in this view follow this pattern: XXX BAI - SI - Host, virtual example, cluster example Full software dependencies on host and clusterThis view type builds items that trace out the dependency relationships from software to the hosts, clusters and host containers on which it runs. It is identical to the "Full application and software dependencies on host and cluster" view except that the items it creates do not include or require BusinessApplicationInstances. Views containing such items are useful for examining the footprint of software that has not been explicitly modeled as part of a business application. Items in this view follow this pattern: SI -> [... -> sub-SI ] -> Host [ -> Cluster/HostContainer ] Virtual host to physical hostThis view type builds items containing virtual hosts, the virtualization software on which they depend, and in turn the physical host on which that runs. Views containing such items can be used to monitor the underlying dependencies of your virtualized infrastructure and constrain virtual machine sprawl. Items in this view follow this pattern: Host -> Virtualisation SI -> Host Host OnlyThis view type builds dependencies that correspond directly with individual hosts, without regard for their connections to the software or applications that they may run. Use this view type to create views for monitoring and performing export control from an infrastructure-only perspective. Scope RulesA view's scope rule can be used to filter the dependencies that a view contains by expressing constraints on the nodes that make up those dependencies. This means that you can use views to partition how the monitoring of change in the IT infrastructure is managed and how its associated data is exported. For example, scope rules may constrain a view's contents by geographic area, by production environment, or along lines of business. Dependencies that do not match the view type and scope rule of any views on the appliance are never created. This has the advantage that system resources are saved on maintaining dependencies in which users have no interest. A scope rule is a simple list of zero or more requires statements, whose format is described below. A requires statement checks that nodes and relationships of a particular kind are present in the dependency, and can also apply an optional where clause, which is identical in syntax to a Foundation search service where clause. To apply multiple conditions to different types of node or relationship, list them one after the other. If you supply multiple conditions, a dependency will be required to match all of them: that is, the clauses form a logical and. An empty scope rule is valid, and matches all dependencies. In this case, the view will contain all dependencies of that view type that could be created from the Foundation data store. You may only specify at most one requires statement for each node or relationship kind: use the Boolean operators and, or and not in a where clause to combine multiple conditions on a single kind.
Notation: The format of a requires statement is: requires [unchecked] nodekind|relationshipspec [where whereclause ] In these statements nodekind|relationshipspec must be one of the following:
The optional keyword unchecked is described in the following section. Scope Rule ExamplesThis section gives a number of example scope rules that satisfy some common filtering requirements for views. Note: For further information on the Foundation Search Service and how to apply conditions using where clauses, see the Search and Reporting Service document. Filtering by Infrastructure PropertiesThe scope rules in this section can be used to match dependencies on the basis of the properties of their infrastructure components. They express these conditions in terms of the Host node kind. Because all three of Lifecycle Management' supported view types require a Host in order to form a dependency, these scope rules are suitable for each of them. Scope rules evaluating simple Host attributes:
The "Full application and software dependencies on host and cluster" view type can include dependencies showing the dependency of a virtual host on the software providing its virtual machine platform and on its underlying host. Dependencies may display multiple nested levels of virtualization representing virtual machines running in other virtual machines. Since a requires statement, if present, is applied to all nodes of a kind in the dependency, scope rules may need to take care to express conditions that apply to both the virtual and physical host or distinguish between them by testing the virtual attribute or using the fact that the final, physical host does not have a HostContainment relationship linked to it. This is illustrated in the examples above. Filtering by Software or Business Application PropertiesThe scope rules given below can be used to match dependencies on the basis of the properties of their software or business application components. Evaluating attributes of BusinessApplicationInstance nodes:
Requiring a SoftwareInstance node means that, without modification, they suit only views using the "Full application and software dependencies on host and cluster" view type. However, it is possible to use key expressions to test conditions on nodes that are not directly included in a dependency. In order to demonstrate this, the following example transposes the above scope rules to be a condition on "BusinessApplicationInstance" nodes using a nodecount clause. This means that it is suitable for views using the "Direct application to host dependencies" view type. The Host network connectivity examples above are further examples of this.
See the discussion in the next section on using key expression and nodecount expressions in scope rules. Validating Scope RulesWhenever a user attempts to create or edit a view, Lifecycle Management validates the scope rule. It performs a number of checks:
If any of these validation steps fail, you will not be able to apply the changes until you have resolved the problem. Details of the error will be displayed on the page. If you intend to set up scope rules that refer to attributes or node kinds not present in the Foundation Taxonomy, you may use the unchecked keyword after the appropriate requires keyword in order to skip these validation checks. Evaluation of Scope RulesScope rules are evaluated in two ways:
Scope rules are currently evaluated only when nodes and relationships are created or unlinked in the Foundation data store. They are not re-evaluated when attributes on nodes are updated. This means that views may contain dependencies that originally matched its scope rule when the dependency was first created, but no longer do so. Similarly, a dependency that when first created was not associated with a view may be updated in such a way that means their conditions would have matched that view's scope rule but the dependency will not be added to the view. Editing a view, even without explicitly changing its scope rule, reconciles its contents and adds or removes (as appropriate) dependencies that fall into these categories. If a scope rule uses key expressions or nodecount expressions containing traversals, a dependency will only match the scope rule if those conditions hold at the time that a dependency is considered to be created or becoming a member of the view. The following example shows a view with "Host only" view type and the following scope rule: requires Host where nodecount (traverse Host:HostedSoftware:RunningSoftware:BusinessApplicationInstance where type = "...") The intended result is to contain dependencies corresponding to single Host nodes running a specific business application. Note: It is safe to refer to a Host from a SoftwareInstance and to a Host or SoftwareInstance from a BusinessApplicationInstance from within key expressions or nodecount expressions in scope rules. Deleting a ViewA view can be deleted using the "Delete" link shown next to its entry on the "Manage views" page. After selecting the link, a confirmation dialog will be presented that requires you to confirm the deletion. Deleting a view causes the view to be removed from the appliance. This has the following effects:
Note that deleting a dependency never deletes any of its dependency components, so the Foundation nodes that made up the dependency (for example a SoftwareInstance or Host node) are retained. However, the state of the dependency itself is lost. This means if a view with the same view type and scope rule is recreated, an equivalent dependency will be created but its alert status, authorization state, provenance, history will be as for a new dependency.
Audit Logging for Lifecycle Management ViewsEvery time a view is created, updated or deleted in Lifecycle Management, a log entry is created in Tideway Foundation.
Full Name and User Groups are not populated.
Auditing for View CreationOn creating a view, an audit entry of event type Create LMView is created. Auditing for View EditingOn editing a view, an audit entry of event type Alter LMView is created. Auditing for View DeletionOn deleting a view, an audit entry of event type Delete LMView is created. The additional details for the deleted view will include:
For further information about logging in Tideway Foundation, see Appliance Audit. |
