![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| ||||
Chapter 8Reliable NFS StatisticsThis chapter describes the Reliable NFS statistics that can be accessed from the NMA. This chapter contains the following sections: Introducing Reliable NFS StatisticsThe Reliable NFS statistics collected by the NMA provide a view on the current state of replication in the cluster, node by node, reliable link by reliable link. Reliable NFS statistics are available only on the master node and the vice master node. See "File Sharing and Data Replication" in the Netra High Availability Suite Foundation Services 2.1 6/03 Overview for more information. Reliable NFS Master StatisticsThis section describes the Reliable NFS statistics collected by the NMA running on the master node. RnfsMasterReplicatedSliceMBeanThe RnfsMasterReplicatedSliceMBean MBean models a Reliable NFS replicated slice. Each slice is composed of a primary partition and a secondary partition. One instance of this MBean is instantiated for each replicated slice mounted on either the master or the vice master node. Getting the Completed Recovery PercentageTo get the percentage of segments of the slice that has been resynchronized, invoke the getCompletedRecoveryPercentage method. The getCompletedRecoveryPercentage method takes no parameters, and returns a float. This information is meaningful if the primary slice of this MBean is mounted on the host running the agent. No statistics are provided for distant primary MBean. Getting the Percentage of Segments Requiring RecoveryTo get the percentage of segments of the slice that require recovery, invoke the getNeededRecoveryPercentage method. The getNeededRecoveryPercentage method takes no parameters, and returns a float which indicates the percentage of segments that require recovery. This information is meaningful if the primary slice of this MBean is mounted on the host running the agent. No statistics are provided for distant primary MBean. Reliable NFS Node StatisticsThis section describes the Reliable NFS statistics collected by the NMA running on each peer node. RnfsStatisticsMBeanThe RnfsStatisticsMBean MBean provides global Reliable NFS statistics. One instance of this MBean is instantiated on each master eligible node in the cluster. This MBean only provides statistics about Reliable NFS on the node on which it is running. Getting the Primary SliceTo return the primary dual copy slice file name and slice name, invoke the getPrimarySlice method. The getPrimarySlice method takes no parameters, and returns a Slice. Getting the Secondary SliceTo return the secondary dual copy slice file name and slice name, invoke the getSecondarySlice method. The getSecondarySlice method takes no parameters, and returns a Slice. RnfsMasterStatisticsMBeanThe RnfsMasterStatisticsMBean MBean provides Reliable NFS statistics on the master node. Getting the Names of All Primary Files on the Local HostTo get an array of the names of the primary slices mounted on the local host, invoke the getPrimaryFiles method. The getPrimaryFiles method takes no parameters, and returns a String[]. Getting the Names of All Secondary Files on the Local HostTo return an array of the names of the secondary slices mounted on the local host, invoke the getSecondaryFiles method. The getSecondaryFiles method takes no parameters, and returns a String[]. RnfsReplicatedSliceMBeanThe RnfsReplicatedSliceMBean MBean models a Reliable NFS slice. One instance of this MBean is instantiated for each replicated slice mounted on each master-eligible node. Getting the Completed Recovery PercentageTo get the percentage of segments of the partition that has been resynchronized, invoke the getCompletedRecoveryPercentage method. The getCompletedRecoveryPercentage method takes no parameters, and returns a float. This information is meaningful if the primary slice of this MBean is mounted on the host running the agent. No statistics are provided for a distant primary MBean. Getting the Dual Copy StatusTo get the current status of the dual copy as a DualCopyStatusEnum value, invoke the getDualCopyStatus method. The getDualCopyStatus method takes no parameters, and returns a DualCopyStatusEnum. This information is meaningful if the primary slice of this MBean is mounted on the host running the agent. No statistics are provided for a distant primary MBean. Getting the Link StatusTo find out if replication is enabled, disabled, or in progress, invoke the getLinkStatus method. The getLinkStatus method takes no parameters, and returns a LinkStatusEnum. The LinkStatusEnum can have one of the following values:
Getting the Percentage of Segments Requiring RecoveryTo indicates the percentage of segments of the partition that require recovery, invoke the getNeededRecoveryPercentage method. The getNeededRecoveryPercentage method takes no parameters, and returns a float. This information is meaningful if the primary slice of this MBean is mounted on the host running the agent. No statistics are provided for a distant primary MBean. Getting the Primary SliceTo returns the primary dual copy slice file name and slice name, invoke the getPrimarySlice method. The getPrimarySlice method takes no parameters, and returns a Slice. Getting the Secondary SliceTo return the secondary dual copy slice file name and slice name, invoke the getSecondarySlice method. The getSecondarySlice method takes no parameters, and returns a Slice. Getting the Names of All Primary Files on the Local HostTo get an array of the names of the primary slices mounted on the local host, invoke the getPrimaryFiles method. The getPrimaryFiles method takes no parameters, and returns a String[]. Getting the Names of All Secondary Files on the Local HostTo return an array of the names of the secondary slices mounted on the local host, invoke the getSecondaryFiles method. The getSecondaryFiles method takes no parameters, and returns a String[]. | ||||
| ||||
![]() |