mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
initial webpage
(This used to be ctdb commit b24b48fe6e9da38036452e82a1b3d6311ebaa6f4)
This commit is contained in:
commit
52291b18a5
@ -47,6 +47,11 @@
|
||||
# the default is not to wait for any local services
|
||||
# CTDB_WAIT_TCP_PORTS="445 139"
|
||||
|
||||
# use this to specify any local directories to wait on before starting
|
||||
# ctdb. You should list any critical Samba or NFS shared directories
|
||||
# the default is not to wait for any local directories
|
||||
# CTDB_WAIT_DIRECTORIES="/some/directory"
|
||||
|
||||
# the shared directory where you want to put statd information on
|
||||
# which clients to notify on a NFS restart
|
||||
# there is no default
|
||||
|
@ -8,10 +8,10 @@ shift
|
||||
|
||||
case $cmd in
|
||||
startup)
|
||||
# wait for local services to come up
|
||||
# wait for local services to come up.
|
||||
[ -z "$CTDB_WAIT_TCP_PORTS" ] || {
|
||||
all_ok=0
|
||||
echo "Waiting for tcp services on $CTDB_WAIT_TCP_PORTS to come up"
|
||||
echo "Waiting for local tcp ports $CTDB_WAIT_TCP_PORTS"
|
||||
while [ $all_ok -eq 0 ]; do
|
||||
all_ok=1
|
||||
for p in $CTDB_WAIT_TCP_PORTS; do
|
||||
@ -23,7 +23,24 @@ case $cmd in
|
||||
exit 1
|
||||
}
|
||||
done
|
||||
echo "Local tcp services on $CTDB_WAIT_TCP_PORTS are up"
|
||||
echo "Local tcp services are up"
|
||||
}
|
||||
# wait for local directories to becomes available (could be slow to mount)
|
||||
[ -z "$CTDB_WAIT_DIRECTORIES" ] || {
|
||||
all_ok=0
|
||||
echo "Waiting for local directories $CTDB_WAIT_DIRECTORIES"
|
||||
while [ $all_ok -eq 0 ]; do
|
||||
all_ok=1
|
||||
for d in $CTDB_WAIT_DIRECTORIES; do
|
||||
[ -d $d ] || all_ok=0
|
||||
done
|
||||
[ $all_ok -eq 1 ] || sleep 1
|
||||
/usr/bin/ctdb status > /dev/null 2>&1 || {
|
||||
echo "ctdb daemon has died. Exiting event startup"
|
||||
exit 1
|
||||
}
|
||||
done
|
||||
echo "Local directories are available"
|
||||
}
|
||||
exit 0;
|
||||
;;
|
||||
|
47
ctdb/web/ctdb.html
Normal file
47
ctdb/web/ctdb.html
Normal file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>ctdb</TITLE>
|
||||
</HEAD>
|
||||
<BODY BGCOLOR="#ffffff" TEXT="#000000" VLINK="#292555" LINK="#292555" ALINK="#cc0033">
|
||||
|
||||
<h1>ctdb</h1>
|
||||
|
||||
ctdb is a fast cluster database for temporary data.
|
||||
ctdb also provides HA features such as IP failover between nodes.
|
||||
|
||||
It is the core component for samba3/4 clustering.
|
||||
|
||||
To get started with ctdb, I would recommend you read <a
|
||||
href="http://wiki.samba.org/CTDB_Setup">the ctdb wiki</a>.
|
||||
|
||||
<h2>Discussion and bug reports</h2>
|
||||
|
||||
ctdb does not currently have its own mailing list or bug tracking
|
||||
system. For now, please use the <ahref="https://lists.samba.org/mailman/listinfo/samba-technical">samba-technical</a>
|
||||
mailing list, and the <a href="http://bugzilla.samba.org/">Samba
|
||||
bugzilla</a> bug tracking system.
|
||||
|
||||
<h2>Download</h2>
|
||||
|
||||
You can download the latest release either via rsync or anonymous
|
||||
svn. To fetch via svn use the following command:
|
||||
|
||||
<pre>
|
||||
svn co svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/cluster/ctdb ctdb
|
||||
</pre>
|
||||
|
||||
To fetch via rsync use this command:
|
||||
|
||||
<pre>
|
||||
rsync -Pavz samba.org::ftp/unpacked/samba4/source/cluster/ctdb .
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
<tiny>
|
||||
<a href="http://samba.org/~tridge/">Andrew Tridgell</a><br>
|
||||
ctdb AT tridgell.net
|
||||
</tiny>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
Loading…
Reference in New Issue
Block a user