13.07.2015 Views

Linux System Administration Recipes A Problem-Solution Approach

Linux System Administration Recipes A Problem-Solution Approach

Linux System Administration Recipes A Problem-Solution Approach

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 3 ■ MONITORING AND UPDATINGWith this setup, though, you’ll be logging on as whatever user you’re currently logged in as. To set itup so that you log in as a specific user (say, as root), you can use this syntax in the cluster tag:servers root@server1 root@server2 root@server3It becomes even more useful if you have login via SSH key set up; see recipe 6-1 for more on this.■ Note You can also stick clusters together. If you set up these cluster definitions (tags):servers server1 server2 server3desktops desktop1 desktop2 desktop3all servers desktopsthen cssh all will connect to all six machines at once.93Download at WoweBook.Com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!