Top
PRIMECLUSTER  Reliant Monitor Services (RMS) with Wizard Tools Configuration and Administration Guide 4.6
FUJITSU Software

2.1.2 Initializing

After RMS starts, the initial state of all objects is Unknown. RMS changes this state after the object has the necessary information for identifying the actual state.

The following is necessary information for identifying the state:

Two conclusions can be drawn from the above:

After the userApplication object exits the Unknown state, the initializing process of the application ends. From this point, RMS controls the application.

The initializing processes of userApplication objects are independent of each other. Therefore, one userApplication object may be initialized to an Online, Offline, or Standby state while a second userApplication object is still in the Unknown state.

The initializing process of SysNode objects is also independent. A SysNode object exits its initial Unknown state after receiving its detector report.

The Unknown state is a pure initial state. Once an object exits the Unknown state, it does not return to that state.

Example configuration

The examples of RMS processing in the following sections are based on an application app configured to run on fuji2RMS and fuji3RMS as follows:

A diagram of the object hierarchy is shown in the following figure.

Figure 2.1 Object hierarchy for initializing examples

Note that the hierarchy in the figure includes the SysNode objects as parents of the application. While this is often done by convention, these SysNode objects are not dependent on the application objects in any way; however, their presence serves as a reminder of which nodes are represented by the application's child andOp objects. They also appear in the graph generated by the GUI, but in this case their major purpose is to indicate the node where the application is currently running.

The actual RMS graph for this configuration as produced by RMS Wizard Tools is shown in the following figure.

Figure 2.2 System graph for initializing examples - RMS Wizard Tools

The title bar contains the name of the node on which the graph was drawn, which is fuji2RMS. The line connecting fuji2RMS to app is green, indicating the node where the application is online.

The corresponding output from 'hvdisp -a' is shown in the following figure.

Figure 2.3 hvdisp output for initializing examples - RMS Wizard Tools

To match the hvdisp output, the actual graph includes resource names, which can be displayed by selecting Preferences -> Show Resource Names in Graph in the Cluster Admin rms tab view.

Note that some of the actual object names generated by the RMS Wizard Tools are more complex than the simplified, generic names shown in the abstract graph of Figure 2.1 Object hierarchy for initializing examples. Also, Figure 2.1 Object hierarchy for initializing examples contains additional dependencies that are automatically inserted to ensure proper operation. Selecting other items from the Cluster Admin Preferences menu will display further detail and reveal additional objects and dependencies.

Neither the additional objects nor the complex names in the actual graph are required for a basic understanding of RMS operation. Therefore, to simplify the discussion, the examples in this chapter will focus on the abstract graph and use the generic names.

Example 1

The following process for the configuration illustrated in Figure 2.1 Object hierarchy for initializing examples is applicable for a monitor running on fuji2RMS:

  1. RMS starts.

  2. The base monitor determines the state of the SysNode objects.

  3. The detectors of the cmd and lfs resources report their respective states as Offline.

  4. Since it is a leaf object, lfs changes immediately to Offline and reports this state change to its parent.

  5. After receiving the detector report and the report of its child, cmd possesses the necessary information for determining its own state. It then goes offline and notifies this change of state to its parent andOp1.

    Point

    andOp2 is a remote object which is ignored by the base monitor on fuji2RMS.

  6. andOp1 is a logical object which has no detector. It uses the message of the child to determine its own state as Offline and notifies this change of state to app.

  7. app is also an object without a detector. When the child andOp that corresponds to the local node goes offline, app also goes offline.

  8. All local child objects of app have exited the Unknown state and the initializing procedure is complete.