Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- tagging RC_CURRENT
[fs/lustre-release.git]
/
lustre
/
utils
/
mds-failover-sample
1
#!/bin/sh
2
3
MDS=NET_mds_tcp_UUID
4
MDSHOST=mds
5
6
/r/src/lustre/utils/lctl <<EOF
7
network tcp
8
close_uuid $MDS
9
del_uuid $MDS
10
connect $MDSHOST 988
11
add_uuid $MDS $MDSHOST
12
quit
13
EOF
14
15
/r/src/lustre/utils/lctl <<EOF
16
device \$RPCDEV
17
probe
18
newconn $MDS
19
quit
20
EOF