starting in \fB\-w\fP (watch) mode will print updates to stdout as they occur. For example,
to keep an eye on cluster state,
.IP
-ceph -C cluster.conf -w
+ceph -C ceph.conf -w
.SH COMMAND LINE MODE
Finally, to send a single instruction to the monitor cluster (and wait for a
response), the command can be specified on the command line.
will write any payload returned by the monitor cluster with its reply to \fIoutfile\fP.
Only specific monitor commands (e.g. \fIosd getmap\fP) return a payload.
.TP
-\fB\-C\fI cluster.conf\fR, \fB\-\-cluster-conf=\fIcluster.conf\fR
-Use \fIcluster.conf\fP cluster configuration file instead of the default \fI/etc/ceph/cluster.conf\fP
+\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
+Use \fIceph.conf\fP configuration file instead of the default \fI/etc/ceph/ceph.conf\fP
to determine monitor addresses during startup.
.TP
\fB\-m\fI monaddress[:port]\fR
-Connect to specified monitor (instead of looking through \fIcluster.conf\fR).
+Connect to specified monitor (instead of looking through \fIceph.conf\fR).
.SH EXAMPLES
To grab a copy of the current OSD map:
.IP
.B cfuse
is a FUSE (File system in USErspace) client for Ceph distributed
file system. It will mount a ceph file system (specified via the
-\fB\-m\fP option for described by \fIcluster.conf\fP (see below) at
+\fB\-m\fP option for described by \fIceph.conf\fP (see below) at
the specific mount point.
.PP
The file system can be unmounted with:
.TP
\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
Use \fIceph.conf\fP configuration file instead of the default \fI/etc/ceph/ceph.conf\fP
-for runtime configuration options.
-.TP
-\fB\-C\fI cluster.conf\fR, \fB\-\-cluster-conf=\fIcluster.conf\fR
-Use \fIcluster.conf\fP cluster configuration file instead of the default \fI/etc/ceph/cluster.conf\fP
to determine monitor addresses during startup.
.TP
\fB\-m\fI monaddress[:port]\fR
-Connect to specified monitor (instead of looking through \fIcluster.conf\fR).
+Connect to specified monitor (instead of looking through \fIceph.conf\fR).
.SH AVAILABILITY
.B cfuse
is part of the Ceph distributed file system. Please refer to the Ceph wiki at
Each
.B cmds
daemon instance should have a unique \fIname\fP. The name is used
-to identify daemon instances in the \fIcluster.conf\fP.
+to identify daemon instances in the \fIceph.conf\fP.
.PP
Once the daemon has started, the monitor cluster will normally assign it
a logical rank, or put it in a standby pool to take over for another daemon
Useful when run via
.BR crun (8).
.TP
-\fB\-c\fI cluster.conf\fR, \fB\-\-cluster-conf=\fIcluster.conf\fR
-Use \fIcluster.conf\fP cluster configuration file instead of the default \fI/etc/ceph/cluster.conf\fP
+\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
+Use \fIceph.conf\fP configuration file instead of the default \fI/etc/ceph/ceph.conf\fP
to determine monitor addresses during startup.
.TP
\fB\-m\fI monaddress[:port]\fR
-Connect to specified monitor (instead of looking through \fIcluster.conf\fR).
+Connect to specified monitor (instead of looking through \fIceph.conf\fR).
.SH AVAILABILITY
.B cmon
is part of the Ceph distributed file system. Please refer to the Ceph wiki at
Useful when run via
.BR crun (8).
.TP
-\fB\-c\fI cluster.conf\fR, \fB\-\-cluster-conf=\fIcluster.conf\fR
-Use \fIcluster.conf\fP cluster configuration file instead of the default \fI/etc/ceph/cluster.conf\fP
+\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
+Use \fIceph.conf\fP configuration file instead of the default \fI/etc/ceph/ceph.conf\fP
to determine monitor addresses during startup.
.SH AVAILABILITY
.B cmon
Create an empty object repository. Normally invoked by
.BR mkcephfs (8).
.TP
-\fB\-c\fI cluster.conf\fR, \fB\-\-conf=\fIcluster.conf\fR
-Use \fIcluster.conf\fP configuration file instead of the default \fI/etc/ceph/cluster.conf\fP
+\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
+Use \fIceph.conf\fP configuration file instead of the default \fI/etc/ceph/ceph.conf\fP
for runtime configuration options.
.TP
\fB\-m\fI monaddress[:port]\fR
-Connect to specified monitor (instead of looking through \fIcluster.conf\fR).
+Connect to specified monitor (instead of looking through \fIceph.conf\fR).
.SH AVAILABILITY
.B cosd
is part of the Ceph distributed file system. Please refer to the Ceph wiki at
.TP
\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
Use \fIceph.conf\fP configuration file instead of the default \fI/etc/ceph/ceph.conf\fP
-for runtime configuration options.
-.TP
-\fB\-C\fI cluster.conf\fR, \fB\-\-cluster-conf=\fIcluster.conf\fR
-Use \fIcluster.conf\fP cluster configuration file instead of the default \fI/etc/ceph/cluster.conf\fP
to determine monitor addresses during startup.
.TP
\fB\-m\fI monaddress[:port]\fR
-Connect to specified monitor (instead of looking through \fIcluster.conf\fR).
+Connect to specified monitor (instead of looking through \fIceph.conf\fR).
.TP
\fB\-\-num_client\fI num\fR
Run \fInum\fR different clients, each in a separate thread.
.SH SYNOPSIS
.B cosd
[ \fB\-a\fP ]
-[ \fB\-C\fP\fI cluster.conf\fP ]
+[ \fB\-c\fP\fI ceph.conf\fP ]
[ \fB\-\-clobber_old_data\fP ]
[ \fB\-\-mkbtrfs\fP ]
.SH DESCRIPTION
.B mkcephfs
is used to create an empty Ceph file system, possibly spanning multiple
-hosts. The \fIcluster.conf\fP file describes the composition of the
+hosts. The \fIceph.conf\fP file describes the composition of the
Ceph cluster, including which hosts are participating, which daemons
run where, and which paths are used to store file system data or
metadata.
Performs the necessary initialization steps on all hosts in the cluster,
executing commands via SSH.
.TP
-\fB\-C\fI cluster.conf\fR, \fB\-\-cluster-conf=\fIcluster.conf\fR
-Use the given cluster conf file instead of the default \fI/etc/ceph/cluster.conf\fP.
+\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
+Use the given conf file instead of the default \fI/etc/ceph/ceph.conf\fP.
.TP
\fB\-\-clobber_old_data\fR
Overwrite any existing data found in monitor or osd paths.
.TP
\fB\-\-mkbtrfs\fR
Create and mount the any btrfs file systems specified in the
-\fBcluster.conf\fP for OSD data storage using \fBmkfs.btrfs\fP. The
+\fBceph.conf\fP for OSD data storage using \fBmkfs.btrfs\fP. The
"btrfs devs" and (if it differs from
"osd data") "btrfs path" options must be defined.
.SH AVAILABILITY
OPTION(log_to_stdout, 0, BOOL, true),
OPTION(pid_file, 'p', STR, 0),
OPTION(conf, 'c', STR, INSTALL_PREFIX "/etc/ceph/ceph.conf"),
- OPTION(cluster_conf, 'C', STR, INSTALL_PREFIX "/etc/ceph/cluster.conf"),
OPTION(chdir, 0, STR, "/"),
OPTION(fake_clock, 0, BOOL, false),
OPTION(fakemessenger_serialize, 0, BOOL, true),
if (CMD_EQ("conf", 'c')) {
SAFE_SET_ARG_VAL(&g_conf.conf, STR);
- } else if (CMD_EQ("cluster_conf", 'C')) {
- SAFE_SET_ARG_VAL(&g_conf.cluster_conf, STR);
} else if (CMD_EQ("monmap", 'M')) {
SAFE_SET_ARG_VAL(&g_conf.monmap, STR);
} else if (CMD_EQ("bind", 0)) {
void generic_usage()
{
- cerr << " -C cluster.conf or --cluster-conf=cluster.conf\n";
- cerr << " get monitor IP(s) from given conf (instead of /etc/ceph/cluster.conf)\n";
cerr << " -c ceph.conf or --conf=ceph.conf\n";
- cerr << " get runtime options from given conf file" << std::endl;
+ cerr << " get options from given conf file" << std::endl;
}
void generic_server_usage()
const char *pid_file;
const char *conf;
- const char *cluster_conf;
const char *chdir;
usage_exit() {
echo "usage: $0 [options] {start|stop|restart} [mon|osd|mds]..."
- printf "\t-c cluster.conf\n"
+ printf "\t-c ceph.conf\n"
printf "\t--valgrind\trun via valgrind\n"
exit
}
fi
usage_exit() {
- echo "usage: $0 [--allhosts] [-c cluster.conf] [--clobber_old_data] [--mkbtrfs]"
+ echo "usage: $0 [--allhosts] [-c ceph.conf] [--clobber_old_data] [--mkbtrfs]"
exit
}
if (!g_conf.mon_host) {
// cluster conf?
- ConfFile a(g_conf.cluster_conf);
- ConfFile b("cluster.conf");
+ ConfFile a(g_conf.conf);
+ ConfFile b("ceph.conf");
ConfFile *c = 0;
if (a.parse())
valgrind=""
MON_ADDR=""
-conf="cluster.conf"
+conf="ceph.conf"
usage="usage: $0 [option]... [mon] [mds] [osd]\n"
usage=$usage"options:\n"