ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • metrocluster operation history show

    Display details of all MetroCluster operations

    Availability: This command is available to cluster administrators at the admin privilege level.

    Description

    The metrocluster operation history show command displays information about all the MetroCluster operations run on the local cluster.

    This command will display information about all MetroCluster commands except for the commands in the metrocluster check directory. This command will not display any information after MetroCluster has been completely unconfigured using the metrocluster unconfigure command.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-operation-uuid <UUID>] - Identifier for the Operation

    This is the UUID of the operation. If this parameter is specified, only the operation with this UUID is displayed.

    [-cluster <Cluster name>] - Cluster Where the Command Was Run

    This is the name of the cluster where the command was run. If this parameter is specified, only the operations that were run in this cluster are displayed.

    [-node-name <Node name>] - Node Where the Command Was run

    This is the name of the node where the command was run. If this parameter is specificed, only the operations that were run on this node are displayed.

    [-operation <MetroCluster Operation Name>] - Name of the Operation

    This is the name of the operation. If this parameter is specificed, only the operations with this name are displayed.

    [-start-time <MM/DD/YYYY HH:MM:SS>] - Start Time

    This is the time the operation started execution. If this parameter is specificed, only the operations that were started at this time are displayed.

    [-state <MetroCluster Operation state>] - State of the Operation

    This is the state of the operation. If this parameter is specificed, only the operations that are in this state are displayed.

    [-end-time <MM/DD/YYYY HH:MM:SS>] - End Time

    This is the time the operation completed. If this parameter is specificed, only the operations that completed at this time are displayed.

    [-error-list <text>,…​] - Error List For the Operation

    This is the list of errors that were encountered during an operation’s execution. If this parameter is specificed, only the operations that have the matching errors are displayed.

    [-job-id <integer>] - Identifier for the Job

    This is the job id for the operation. If this parameter is specificed, only the operation that has the matching job id displayed.

    [-additional-info <text>] - Additional Info for Auto Heal

    This is the completion status of the auto heal aggregates and auto heal root aggregates phases when processing switchover with auto heal.

    Examples

    The following example shows the output of metrocluster operation history show after some MetroCluster operations have been performed:

    clusA::> metrocluster operation history show
      Operation        State          Start time       End time
      ---------------- -------------- ---------------- ------------------
      configure        successful     2/15/2013 18:22:46
                         2/15/2013 18:25:18
      configure        failed         2/15/2013 18:13:45
                         2/15/2013 18:13:45
      2 entries were displayed.
    Top of Page