Example 2: Signature for replication details

Here is a sample HCP health check report signature that provides information regarding replication details. In this example, the signature status is reported as not matched. The output format is a JSON file.

Sample signature in JSON

{
    "name" : "ReplicationDetails",
    "description" : "System replication details",
    "issueId" : "N/A",
    "component" : "Replication",
    "modifiedDate" : May 30, 2018 7:07:51 PM",
    "product" : "Hitachi Content Platform",
    "signatureType" : "INFO",
    "supportedVersions" : [
        {
            "supportedVersion" : "8.1.0"
        }
    ],
    "signatureStatus" : "NotMatched",
    "steps" : [
        {
            "stepId" : "1",
            "commandType" : "Admin",
            "command" : "admin jvm replication list --all",
            "expectedOutputCommand" : "if [[ $(grep linkName \"%s\" | wc -l) -gt 0 ]]; then echo true; fi",
            "logTrace" : "{\n}",
            "signatureMatched" : false,
            "truncatedLogTrace" : "Truncated the LogTrace Output, please run the command manually to get the full log trace",
            "executionTime" : 12,
            "timedOut" : false,
            "stepExecutionFailure" : "No Error",
            "timeOutDuration" : 10
        }
    ]
}

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.