How to reduce active mds number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm testing MDS expasion,
my original environment has 3 MON, 2 MDS (one active, one standby), 10
OSD which are built on 15 physical machines.

the following is my step to test add/remove active MDS:


Step1: check mds status

root@MON1:~# ceph mds dump -o -
4097:   192.168.200.184:6800/2095 '0' mds0.1 up:active seq 66
4107:   192.168.200.185:6800/1911 '1' mds-1.0 up:standby seq 2
There are two mds, one is active, another is standby

Step2: ceph mds set_max_mds 2

Step3: ceph -s
2011-04-22 08:33:03.836554   mds e18: 2/2/2 up {0=up:active,1=up:active}

or
root@MON1:~# ceph mds dump -o -
max_mds 2
in      0,1
up      {0=4097,1=4107}
failed
stopped
4097:   192.168.200.184:6800/2095 '0' mds0.1 up:active seq 66
4107:   192.168.200.185:6800/1911 '1' mds1.1 up:active seq 25635


Step4: I want to set one mds to standby, so I execute "ceph mds set_max_mds 1"

root@MON1:~# ceph mds set_max_mds 1
2011-04-22 08:35:29.964667 mon <- [mds,set_max_mds,1]
2011-04-22 08:35:30.133274 mon0 -> 'max_mds = 1' (0)


Step5: Then I check mds status

root@MON1:~# ceph mds stat
2011-04-22 08:39:04.160139 mon <- [mds,stat]
2011-04-22 08:39:04.160823 mon0 -> 'e19: 2/2/1 up {0=up:active,1=up:active}' (0)
                                                              ^^^^^^
What does the 2/2/1 means ?

I found that the number of active MDS still remains two...
Could you tell me how to reduce the active mds number from 2 to 1...?
and what the 2/2/1 means ?

Thanks a lot !  :)

Best Regards,
Annie
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux