I have two clusters in mongoDB, which is M0 ( for personal testing ) and M5 cluster ( for development ), both with default 3 nodes Replica set. and i have the admin access for entire cluster.
i have connected these two clusters with MongoDB SHELL separately and performed certain operations like all the CRUD operations and checking Replica set Status { through - rs.status() and db.hellow() }…
but my concern is for M5 cluster MongoDB defaultly provides only 3 nodes replica set, so i was decided to add 2 more AWS instances to the replica set. But in MongoDB Shell i can perform only these operations
which i have mentioned above ( CRUD and seeing the replica set status ), Apart from this, i couldn’t perform operations like Adding a new Node or Editing the Replica set Configuration or Creating a DB user or defining Read Preference to Secondary Node and so on.
I couldn’t perform any operations related to Replica set in MongoDB SHELL, The error shows like
I really appreciate your guidance and Your prompt attention to this matter is highly valued