ROLE

    • Information of a master instance may include the following.
      • “master”
      • An integer that represents state of replication
    • Information of a follower instance may include the following.
      • “follower”
      • Master IP address
      • Master IP port
      • Connection state that is either “disconnected”, “connecting”, “sync”, or “connected”
      • An integer that represents state of replication
    • Information of a sentinel instance may include the following.
      • An array of master names.
    1. 1) "master"
    2. 2) 0
    3. 2) "9200"
    4. 3) "0"
    5. 2) 1) "127.0.0.1"
    6. 3) "0"