diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2015-04-14 08:17:10 -0400 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-04-29 18:25:12 -0700 |
commit | d28a99d6f20650e5d78accb1e16bd3721a2b6d02 (patch) | |
tree | 4fd1de4d028265d601cec7057b10ffe70e51e8d4 /glusterfs.spec.in | |
parent | 5b5048670c34df3f9eab9a6a3ab8eec288bd9d74 (diff) |
common-ha: delete-node implementation
omnibus patch consisting of:
+ completed implemenation of delete-node (BZ 1212823)
+ teardown leaves /var/lib/nfs symlink (BZ 1210712)
+ setup copy config, teardown clean /etc/cluster (BZ 1212823)
setup for copy config, teardown clean /etc/cluster:
1. on one (primary) node in the cluster, run:
`ssh-keygen -f /var/lib/glusterd/nfs/secret.pem`
Press Enter twice to avoid passphrase.
2. deploy the pubkey ~root/.ssh/authorized keys on _all_ nodes, run:
`ssh-copy-id -i /var/lib/glusterd/nfs/secret.pem.pub root@$node`
3. copy the keys to _all_ nodes in the cluster, run:
`scp /var/lib/glusterd/nfs/secret.* $node:/var/lib/glusterd/nfs/`
N.B. this allows setup, teardown, etc., to be run on any node
Change-Id: I9fcd3a57073ead24cd2d0ef0ee7a67c524f3d4b0
BUG: 1213933
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/10234
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: soumya k <skoduri@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index fe0ef897e41..577c854d154 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -956,8 +956,8 @@ fi %files ganesha %{_sysconfdir}/ganesha/* -%{_libexecdir}/ganesha/* -%{_prefix}/lib/ocf/resource.d/heartbeat/* +%attr(0755,-,-) %{_libexecdir}/ganesha/* +%attr(0755,-,-) %{_prefix}/lib/ocf/resource.d/heartbeat/* %if ( 0%{!?_without_georeplication:1} ) %files geo-replication |