Centos7: After reboot the grid, how to reset the NIS

From cslt Wiki
Revision as of 03:16, 19 May 2016 by Lilt (Talk | contribs)

Jump to: navigation, search

For Centos 7, when the grid reboots, you may encounter that the log shows that 'Permission denied' and so you are unable to login the grid.

In this case, the NIS should be restarted.

1. ssh grid-5 -l root 2. cd /nfs/disk/perm/sys/admin 3. ssh grid-XX < mount_nfs.sh

4. ssh grid-XX -l root 5. systemctl stop NetworkManager.service 6. systemctl restart ypbind. systemctl restart NetworkManager.