[Linux-cluster] CTDB configuration files are missing

Gordan Bobic gordan at bobich.net
Thu Dec 31 02:19:37 UTC 2009


Epel repository has 32-bit packages. I beileve the same epel-release rpm 
file will work. If not, use the one on the same site only replace x86_64 
with i386 in the URL.

Gordan

Diamond Li wrote:
> thanks everyone, what I am looking for 32 bit package, but RHN only
> provides 64 bits.
> 
> 
> On Wed, Dec 30, 2009 at 5:59 PM, Gordan Bobic <gordan at bobich.net> wrote:
>> Never used CTDB myself, but as far as RPMs go, they are available in the
>> epel yum repository.
>>
>> rpm -Uvh \
>> http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
>>
>> yum install ctdb
>>
>> should to get you going without building your own.
>>
>> Gordan
>>
>> Diamond Li wrote:
>>> Hello, everyone,
>>> it may not the right group to ask CTDB question, but if someone
>>> happens to know the answer, I would appreciate. after I compiled and
>>> installed ctdb, I did not see configure file  /etc/sysconfig/ctdb, but
>>> there is no errors during installation.
>>>
>>> It should be created during installation, right?
>>>
>>> one more question, is there easy to build CTDB rpm package?
>>>
>>> [root at wplccdlvm445 config]# ls -l /etc/sysconfig/ctdb
>>> ls: /etc/sysconfig/ctdb: No such file or directory
>>>
>>> installation steps:
>>> cd ctdb
>>>   ./autogen.sh
>>>   ./configure
>>>   make
>>>   make install
>>>
>>>
>>>
>>> [root at wplccdlvm445 ctdb]# make install |less
>>> ctdb will be compiled with flags:
>>>  CFLAGS = -g -I./include -Iinclude -Ilib -Ilib/util -I.
>>> -I./lib/talloc -Ilib/tdb/include -I./lib/re
>>> place -DVARDIR=\"/usr/local/var\" -DETCDIR=\"/usr/local/etc\"
>>> -DLOGDIR=\"/usr/local/var/log\" -DUSE_
>>> MMAP=1  -I./lib/replace -Wall -Wshadow -Wstrict-prototypes
>>> -Wpointer-arith -Wcast-qual -Wcast-align
>>> -Wwrite-strings
>>>  LIBS =
>>> mkdir -p //usr/local/lib/pkgconfig
>>> mkdir -p //usr/local/bin
>>> mkdir -p //usr/local/sbin
>>> mkdir -p //usr/local/include
>>> mkdir -p //usr/local/etc/ctdb
>>> mkdir -p //usr/local/etc/ctdb/events.d
>>> mkdir -p //usr/share/doc/ctdb
>>> /usr/bin/install -c -m 644 ctdb.pc //usr/local/lib/pkgconfig
>>> /usr/bin/install -c -m 755 bin/ctdb //usr/local/bin
>>> /usr/bin/install -c -m 755 bin/ctdbd //usr/local/sbin
>>> /usr/bin/install -c -m 755 bin/smnotify //usr/local/bin
>>> /usr/bin/install -c -m 755 bin/ping_pong //usr/local/bin
>>> /usr/bin/install -c -m 644 include/ctdb.h //usr/local/include
>>> /usr/bin/install -c -m 644 include/ctdb_private.h //usr/local/include
>>> # for samba3
>>> /usr/bin/install -c -m 644 config/functions //usr/local/etc/ctdb
>>> /usr/bin/install -c -m 755 config/statd-callout //usr/local/etc/ctdb
>>> /usr/bin/install -c -m 644 config/events.d/README
>>> //usr/share/doc/ctdb/README.eventscripts
>>> /usr/bin/install -c -m 644 doc/recovery-process.txt
>>> //usr/share/doc/ctdb/recovery-process.txt
>>> /usr/bin/install -c -m 755 config/events.d/00.ctdb
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/01.reclock
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/10.interface
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/11.natgw
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/11.routing
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 644 config/events.d/20.multipathd
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 644 config/events.d/31.clamd
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/40.vsftpd
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/41.httpd
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/50.samba
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/60.nfs
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/61.nfstickle
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/70.iscsi
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 config/events.d/91.lvs
>>> //usr/local/etc/ctdb/events.d
>>> /usr/bin/install -c -m 755 tools/ctdb_diagnostics //usr/local/bin
>>> /usr/bin/install -c -m 755 tools/onnode //usr/local/bin
>>> if [ -f doc/ctdb.1 ];then /usr/bin/install -c -d //usr/local/man/man1; fi
>>> if [ -f doc/ctdb.1 ];then /usr/bin/install -c -m 644 doc/ctdb.1
>>> //usr/local/man/man1; fi
>>> if [ -f doc/ctdbd.1 ];then /usr/bin/install -c -m 644 doc/ctdbd.1
>>> //usr/local/man/man1; fi
>>> if [ -f doc/onnode.1 ];then /usr/bin/install -c -m 644 doc/onnode.1
>>> //usr/local/man/man1; fi
>>> if [ ! -f //usr/local/etc/ctdb/notify.sh ];then /usr/bin/install -c -m
>>> 755 config/notify.sh //usr/local/etc/ctdb; fi
>>>
>>> --
>>> Linux-cluster mailing list
>>> Linux-cluster at redhat.com
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list