HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: samba fails when ServiceGuard package fails ov...
Operating System - HP-UX
1832648
Members
3431
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
09-23-2008 01:48 PM
09-23-2008 01:48 PM
I have a ServiceGuard package running samba on three HP-UX 11.31 nodes with samba security mode set to DOMAIN. When I fail the package over to another node, samba quits working meaning users cannot authenticate to our domain server. Every time the package fails over to another node I have to reset the account (SG package) on Active Directory and then run ‘/opt/samba/bin/net rpc join’ and samba works just fine again. Are there any ideas why I this happens after failover and is there anyway this can be prevented?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 02:34 AM
09-24-2008 02:34 AM
Solution
I guess your "net rpc join" sets up the domain membership using the hostname of the individual SG node, or the domain membership data does not fail over along with the package for some reason.
After the package moves to another node, the domain servers "see" that the triplet of hostname + IP address + domain member info is not what it's supposed to be.
The important directories would be /var/opt/samba/private and /etc/opt/samba for a HP standard Samba installation. Of course, the directory paths can be changed by configuration. These directories (or their equivalents) must travel along with the package.
You should also make sure that Samba communicates with the domain server using the package IP address(es) only.
When joining the domain, the join must be done using the identity of the package, not with the identity of the individual node. I'm afraid the "net rpc join" command assumes that you'll want to use the identity (hostname) of the node unless explicitly specified otherwise.
MK
After the package moves to another node, the domain servers "see" that the triplet of hostname + IP address + domain member info is not what it's supposed to be.
The important directories would be /var/opt/samba/private and /etc/opt/samba for a HP standard Samba installation. Of course, the directory paths can be changed by configuration. These directories (or their equivalents) must travel along with the package.
You should also make sure that Samba communicates with the domain server using the package IP address(es) only.
When joining the domain, the join must be done using the identity of the package, not with the identity of the individual node. I'm afraid the "net rpc join" command assumes that you'll want to use the identity (hostname) of the node unless explicitly specified otherwise.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 09:27 AM
09-24-2008 09:27 AM
Re: samba fails when ServiceGuard package fails over to new node
Thanks Matti. The key was the /var/opt/samba/private directory. I have it setup so that part of the smb.conf file follows the package while part stays local. The fix was to specify the private directory to follow the package as well. I had to set "private dir = " in smb.conf to make sure it followed the package and now samba works when the package fails over to the other nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 09:32 AM
09-24-2008 09:32 AM
Re: samba fails when ServiceGuard package fails over to new node
See previous comment.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP