Set rs.slaveOk() is not working via CLI?

Hi @Stennie_X ,
Thank you for the details.

In that case, don’t I need to run the “rs.slaveOk()” on the secondary node?

Thanks and Regards,
Ramesh