This post is more than 5 years old
22 Posts
0
1600
February 7th, 2017 00:00
ScaleIO remove fault sets
Hello, is it possible remove scaleIO fault sets while maintaining data on SDS nodes ? we run 3 fault sets for storage pools and want to remove fault sets.
I can find scaleio cli reference guide command to remove all sds from Fault-set. But we want to make sure what data will be save and operations will continue to run.
No Events found!
pawelw1
306 Posts
0
February 23rd, 2017 00:00
Hi Matas,
Yes, I actually did, just yesterday :-)
Basically, this command is non-disruptive - it only affects MDM settings (where to place copies of the combs). When executed, it can cause a rebalance, other than that - it's safe.
Hope it helps
Cheers,
Pawel
pawelw1
306 Posts
0
February 8th, 2017 06:00
Hi Matas,
I just tried this in the lab (to be honest, I've never run this command) and encountered no issues. I had 3 FS, each containing a single SDS and a volume spread across the whole Storage Pool - I cleared all 3 FS, one by one while reading the volume on the SDC side with 'dd' - I saw no IO errors, no rebuilds etc. so I would assume it should work fine.
Query all returned 1 Protection Domain:
Protection Domain pd1 (Id: df60d22700000000) has 1 storage pools, 3 Fault Sets, 3 SDS nodes, 1 volumes and 88.0 GB (90112 MB) available for volume allocation
Operational state is Active
(…)
Volumes summary:
1 thick-provisioned volume. Total size: 904.0 GB (925696 MB)
# scli --query_all_fault_sets --protection_domain_name pd1
Protection Domain has 3 Fault Sets:
Protection Domain ID: df60d22700000000 Fault Set: ID: 0be456ef00000000 Name: FS1 SDS Count: 1
SDS ID: 690bffe500000000 Name: N/A
Protection Domain ID: df60d22700000000 Fault Set: ID: 0be456f000000001 Name: FS2 SDS Count: 1
SDS ID: 690bffe600000001 Name: N/A
Protection Domain ID: df60d22700000000 Fault Set: ID: 0be456f100000002 Name: FS3 SDS Count: 1
SDS ID: 690bffe700000002 Name: N/A
# scli --clear_fault_set --protection_domain_name pd1 --fault_set_name FS1
Clearing a Fault Set will permanently disable it. Press 'y' and then Enter to confirm: y
Successfully cleared Fault Set
# scli --clear_fault_set --protection_domain_name pd1 --fault_set_name FS2
Clearing a Fault Set will permanently disable it. Press 'y' and then Enter to confirm: y
Successfully cleared Fault Set ScaleIO-10-136-243-112:~
# scli --clear_fault_set --protection_domain_name pd1 --fault_set_name FS3
Clearing a Fault Set will permanently disable it. Press 'y' and then Enter to confirm: y
Successfully cleared Fault Set
# scli --query_all_fault_sets --protection_domain_name pd1
Protection Domain has 3 Fault Sets:
Protection Domain ID: df60d22700000000 Fault Set: ID: 0be456ef00000000 Name: FS1 SDS Count: 0
Protection Domain ID: df60d22700000000 Fault Set: ID: 0be456f000000001 Name: FS2 SDS Count: 0
Protection Domain ID: df60d22700000000 Fault Set: ID: 0be456f100000002 Name: FS3 SDS Count: 0
While on the SDC I was running:
# dd if=/dev/scinib of=/dev/null bs=1M
No errors reported.
If you like, I can try to reach out to developers to fully understand what 'scli --clear_fault_set' does, but there is a good chance it won't do any harm - given your system is healthy and configured properly.
Cheers,
Pawel
Matas1
22 Posts
0
February 22nd, 2017 06:00
Hi, Pawel, did you get answer from devs , what that command really means ?
Thanks,
Matas