- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MC ServiceGuard /etc/passwd ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 10:12 AM
12-28-2001 10:12 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 10:17 AM
12-28-2001 10:17 AM
Re: MC ServiceGuard /etc/passwd ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 10:19 AM
12-28-2001 10:19 AM
SolutionTake this scene. You have system 1 and system 2 and package 1 and package 2 running on the two systems respectively. You have different sets of users using the packages and are defined in the password file on the respective systems. In the case of a failover if the user id's are not available on the other node, though the packge is running on that node, the users will not be able to use the same.
This can be solved by keeping the password files on the two systems in sync manually. Same set of users on both the systems with the same password. you can also get the same results by using NIS for login authentication. This way you have to add the user on the master and it will be replicated across NIS and authentication will be done by the NIS server irrespective of the NIS node the client is logging from.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 10:20 AM
12-28-2001 10:20 AM
Re: MC ServiceGuard /etc/passwd ?
User authenication is independent of ServiceGuard so that some provision must be mage to allow logins. UserA could have a different password on the two hosts but in order to maintain file permissions his uid and gid would have to be the same. Your solution is reasonable in an untrusted environemnt. It would be a bit more complicated if you were running trusted servers. One possible solution to consider is setting up one node as an NIS (or NIS+) master server and the other as a slave server. That way, the hosts, services, passwd, group, ... entries would always be in sync.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 10:56 AM
12-28-2001 10:56 AM
Re: MC ServiceGuard /etc/passwd ?
As others say, the users of packages that fail over must be able to login on both systems so they need to be able to be authenticated by both systems. That could be with a manual rcp of the password file but NIS would be better (how does one know which system's passwd file is the master since a user could change his password on either system). Don't forget about /etc/group, /etc/profile, and home directories (which may be nothing more than customized .profile files).
Yes, you can have unique users on each system. However, the users of the packages should be connecting to the package IP address (or hostname) and don't know or care which server they are running on. They just want the app and data to be available. They need to have the same uid and gid on both systems.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 11:23 AM
12-28-2001 11:23 AM
Re: MC ServiceGuard /etc/passwd ?
MC/ServiceGuard and /etc/password are not related. So, you can safely use your rcp functionality to sync up the password files. I would suggest to go with NIS but it will be complicated for a simple password sync.
-Sri