From 0d4090fc0a32e55902293f7a3591028215157d5e Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 7 Dec 2019 22:33:47 +0100 Subject: [PATCH] correct mds script --- bootstrap.sh | 2 -- node.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 75eecfc..139993f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -38,8 +38,6 @@ docker run -d --rm --net=ceph --hostname $(hostname) --privileged -v /ceph/osd01 mkdir -p /ceph/mds/etc/ceph/ /ceph/mds/var/lib/ceph/bootstrap-mds (docker exec ceph_mon ceph config generate-minimal-conf) > /ceph/mds/etc/ceph/ceph.conf cp -a /ceph/mon/etc/ceph/ceph.client.admin.keyring /ceph/mds/etc/ceph/ -docker run --rm --net=ceph --hostname $(hostname) -v /ceph/mds/etc/ceph:/etc/ceph -v /ceph/mds/var/lib/ceph:/var/lib/ceph -e CEPHFS_CREATE=1 --name ceph_mds docker.io/ceph/daemon:latest-nautilus mds -rm /ceph/mds/etc/ceph/ceph.client.admin.keyring docker run -d --rm --net=ceph --hostname $(hostname) -v /ceph/mds/etc/ceph:/etc/ceph -v /ceph/mds/var/lib/ceph:/var/lib/ceph -e CEPHFS_CREATE=1 --name ceph_mds docker.io/ceph/daemon:latest-nautilus mds #set cephfs autoscaling diff --git a/node.sh b/node.sh index 0df6f09..005680f 100755 --- a/node.sh +++ b/node.sh @@ -43,8 +43,6 @@ docker run -d --rm --net=ceph --hostname $(hostname) --privileged -v /ceph/osd05 mkdir -p /ceph/mds/etc/ceph/ /ceph/mds/var/lib/ceph/bootstrap-mds (docker exec ceph_mon ceph config generate-minimal-conf) > /ceph/mds/etc/ceph/ceph.conf cp -a /ceph/mon/etc/ceph/ceph.client.admin.keyring /ceph/mds/etc/ceph/ -docker run --rm --net=ceph --hostname $(hostname) -v /ceph/mds/etc/ceph:/etc/ceph -v /ceph/mds/var/lib/ceph:/var/lib/ceph -e CEPHFS_CREATE=1 --name ceph_mds docker.io/ceph/daemon:latest-nautilus mds -rm /ceph/mds/etc/ceph/ceph.client.admin.keyring docker run -d --rm --net=ceph --hostname $(hostname) -v /ceph/mds/etc/ceph:/etc/ceph -v /ceph/mds/var/lib/ceph:/var/lib/ceph -e CEPHFS_CREATE=1 --name ceph_mds docker.io/ceph/daemon:latest-nautilus mds