Samba High Availability issue using luci (HA Manager) on CentOS

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Samba High Availability issue using luci (HA Manager) on CentOS
# 1  
Old 03-21-2016
Samba High Availability issue using luci (HA Manager) on CentOS

Hello,

I am working on to setup a Samba High availability on CentOS using luci (HA Manager) and GFS2 using 2 nodes cluster.

I am successfully able to configure GFS HA and VIP HA using luci but when trying to add samba server HA, i am in trouble and not able to figure out what is the issue. Below are the errors from /var/log/messages

Code:
Mar 21 13:57:09 node1 rgmanager[26935]: [samba] Looking For IP Addresses [samba:samba] > Failed - No IP Addresses Found
Mar 21 13:57:09 node1 rgmanager[2170]: start on samba "samba" returned 1 (generic error)
Mar 21 13:57:09 node1 rgmanager[2170]: #68: Failed to start service:samba; return value: 1
Mar 21 13:57:09 node1 rgmanager[2170]: Stopping service service:samba
Mar 21 13:57:10 node1 rgmanager[27025]: [samba] Stopping Service samba:samba
Mar 21 13:57:10 node1 rgmanager[27047]: [samba] Checking Existence Of File /var/run/cluster/samba/samba:samba/smbd-smb.conf.pid [samba:samba] > Failed - File Doesn't
Mar 21 13:57:11 node1 rgmanager[27069]: [samba] Checking Existence Of File /var/run/cluster/samba/samba:samba/nmbd-smb.conf.pid [samba:samba] > Failed - File Doesn't
Mar 21 13:57:11 node1 rgmanager[27091]: [samba] Stopping Service samba:samba > Succeed
Mar 21 13:57:11 node1 rgmanager[2170]: Service service:samba is recovering
Mar 21 13:57:11 node1 rgmanager[2170]: #71: Relocating failed service service:samba
Mar 21 13:57:13 node1 ricci[27121]: Executing '/usr/bin/virsh nodeinfo'


Finding bit on internet and found that there are some lines need to add in smb.conf file. I create a new file smb.conf.cluster1 which will be use by samba HA from luci. Same is copied to another node.

Code:
        workgroup = QASLABS
        pid directory = /var/run/cluster/samba/samba:smb
        lock directory = /var/cache/samba/cluster1
        server string = Samba Server Version %v
        log file = /var/log/samba/%m.log
        encrypt passwords = yes
        bind interfaces only = yes
        netbios name = smb
        interfaces = 10.10.1.122
        local master = no
        domain master = no
        preferred master = no
        password server = none
        guest ok = yes
        guest account = root
        security = SHARE
        dns proy = no
;       interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
        hosts allow = 10.10.1. 10.10.10. 127.

But that too not working. Please let me know if i am missing something else.
Moderator's Comments:
Mod Comment Please use CODE tags (not HTML tags) to display sample input, sample output, and code segments.

Last edited by Don Cragun; 03-21-2016 at 05:01 PM.. Reason: Change HTML tags and add missing CODE and ICODE tags.
# 2  
Old 04-05-2016
I didn't figure out the issue and didn't get a help from internet regarding this issue.
However i did this by using some other alternative. Instead of setup Samba HA using LUCI/Conga i used CTDB with LUCI/Conga and DRBD for this Active-Active Samba setup.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Email Server High Availability

Hello, We are planning to setup a Email server with High Availability for email services so that if SMTP/POP/IMAP goes down on one server, the services switch to second server. We are planning to use a Linux machines from a hosting provider and will do it using DNS with multiple MX records with... (0 Replies)
Discussion started by: sunnysthakur
0 Replies

2. Red Hat

Redhat: High Availability

Hi, I want to create gfs storage. But getting error as below: --> Finished Dependency Resolution Error: Package: pacemaker-1.1.12-22.el7_1.2.x86_64 (rhel-ha-for-rhel-7-server-eus-rpms) Requires: sbd You could try using --skip-broken to work around the problem You could try... (1 Reply)
Discussion started by: mzainal
1 Replies

3. Solaris

High availability

hi guys I posted problem last time I didn't find answer to my issue. my problem is as below: I have two servers which work as an actif/standby in high availability system. but when i use command HASTAT -a i have the following message: couldn' find actif node. the servers are sun... (1 Reply)
Discussion started by: zineb06
1 Replies

4. Red Hat

Redhat 5 High Availability Add-on

Hello Experts, I have a question about Redhat HA Add-On, how can i setup an Active/Active Cluster using Redhat 5.7 64Bit, with Round-Robin technique. Each server will run an application and oracle database without RAC. Thanks (0 Replies)
Discussion started by: karmellove
0 Replies

5. AIX

AIX high availability 1-3/69

Hi, Can someone help and give the answer for the following questions: 1. When PowerHA SystemMirror 7.1 is installed on AIX 7.1, what RSCT component does Cluster Aware AIX (CAA) replace? A. Group Services B. Resource Manager C. Topology Services D. Resource Monitoring and Control... (2 Replies)
Discussion started by: walterchang100
2 Replies

6. UNIX for Dummies Questions & Answers

iscsi high availability

Hi, I want to set up a iscsi high availability with sheepdog distributed storage. Here is my system set up. Four nodes with sheepdog distributed storage and i am sharing this storage through iscsi using two nodes as well as using a virtual ip set up using ucarp.Two nodes using same iqn. And... (0 Replies)
Discussion started by: jobycxa
0 Replies
Login or Register to Ask a Question