Hi Harley,
I ran PowerHA/HACMP in support of Peoplesoft and Oracle RDBMS for many years. At one point, I had vWPARs running as cluster services as well. Though I haven't done what it is specifically you are trying to do, I can offer some insights from my experiences.
Do I need to install all samba rpm on both primary and secondary cluster node?
You have a couple of choices here, but really, this is dictated by how your cluster appears to the outside world. If at all possible, you want to present your cluster as a single object to remote systems, from a security perspective. So, you could install samba from the rpms on each node. That would allow you to simply follow the OSS releases to maintain the security posture of your boxes. Your other option is to install samba from source on the cluster storage itself. We did this with Oracle RDBMS and it makes sure that the version of the software you need follows your data. In your case, I would probably install from the rpms and point the installations to custom configuration files on the cluster storage.
Will there be two smb.conf in two cluster nodes?
I would put this file on the cluster storage and control samba from the startup/shutdown scripts for the resource group.
When the nodes will join to AD, do I need to join both the node or one node?
This is what I meant by making your cluster appear as one object to external systems. When you bind your system to the AD, the key material will be stored somewhere. It should be stored on the cluster resource group storage so that it follows the service on failover. When it comes up on the other node, it should appear to be the same node to the AD.
Or the service ip will join the AD?
Traffic originating from the cluster will be from a node's IP. I don't think you can tune this in PowerHA. Hopefully the AD won't be fussy about that aspect.
Will there be one samba server configuration for two node cluster or two samba server configuration?
One samba configuration per resource group. Try to think of the resource group as a third computer.
That's how I would go about it. Best of luck on your config. Test it thoroughly lest you ruin your weekend.
Cheers,
M
------------------------------
Mario Stargard
------------------------------
Original Message:
Sent: Wed July 27, 2022 02:20 AM
From: Harley AIX
Subject: samba 4.14 configuration for powerHA/HACMP
Hi,
I need to upgrade samba in powerHA/HACMP node. I upgraded samba from 3.6.25 to 4.14, in non HACMP aix 7.2 box, and joined that aix server to AD, which is running fine without any issue. I need more info about how I will setup samba in our 2 node powerHA cluster node, which will be an AD joined.
Do I need to install all samba rpm on both primary and secondary cluster node?
Will there be two smb.conf in two cluster nodes?
When the nodes will join to AD, do I need to join both the node or one node?
Or the service ip will join the AD?
Will there be one samba server configuration for two node cluster or two samba server configuration?
Thanks,
HD Team
------------------------------
Harley AIX
------------------------------