Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7084

Not enough parameters described for seedSecondary.sh usage

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Ops Manager
    • None

    Description

      The documentation at https://docs.opsmanager.mongodb.com/v1.8/tutorial/restore-replica-set/ describes the usage of seedSecondary.sh as:

      ./seedSecondary.sh <mongod-port> <oplog-size-in-gigabytes>

      But in reality, the current version of the script (as generated by OpsManager 1.8.3.329) requires four parameters:

      if [ "$#" -ne 4 ]; then
      echo "Usage: $0 MONGODB_PORT OPLOG_SIZE_GB RS_NAME PRIMARY_HOST:PRIMARY_PORT"
      exit 1
      fi

      Attachments

        Activity

          People

            tony.sansone@mongodb.com Anthony Sansone (Inactive)
            niklas.lindblad@theguardian.com Niklas Lindblad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 2 weeks ago