Magicloud Work List
Magicloud
Following are features those I developed in Magicloud:
UI Theme Reconstruction
- The major modification is on css;
- Css code is in the file --- custom-ui.css;
- A little modification is on html and js;
- Uglify:gulp(npm build)
- Server:webpack(npm start)
- Dev flow: please refer to README.md
SSD Lifetime Monitor
Use smartctl tool to get ssd health lifetime, but limit to megaraid which can use megacli tool
- diskutils.py: list_local_disks()
- raidcardutils.py(get_ssd_health())
Network And OSD Notification
- network: mcs3-deploy/check_host_status.py
- osd: mcs3-ui/index.py: event
Recovery Process Display
- panel_cluster_realtime_recovery.js: register_statistics_render()
- statistic_fetcher.js: register_render()
- RestApi.js: fetch_realtime()
- realtime_statistic.py: realtime_statistic()
- cluster_metric_manager.py: get_data()
Refer:
Ganglia scale in python
Disk Drift(Now only support origin slot disk pull plug)
- 70-disk-plug.rules: umount after disk remove which was mounted
- 60-persistent-storage-dm-part.rules: execute osd_hotplug.py after disk added
- get slot number and serial number by added disk name
- loop all osds, if exists the slot number, then the slot is on the origin host
- Judge president disk serial number is the same as that saved when osd created
- If serial number equal, then restart osd, else update config file and recreate new osd by the old config
HA Of RBD Export Nfs Via Keepalived
- single VIP
- multi VIP
- high-capacity rbd dynamic expansion
- use RBD Snapshot ensure RBD recover when expendsion went error
- high-capacity rbd async delete
Refer:
Design:https://www.zybuluo.com/tony-yin/note/990981
YiDong Perfomance Test First Round
Test Plan:https://www.zybuluo.com/tony-yin/note/1042432
Author:Tony
Date:2018/3/2