Skip to the content.

Cấu hình Scheduler Filter multiple backend trong Openstack Cinder

1. Giới thiệu.

Openstack block storage cho phép bạn chọn backend cho volume dựa trên các tính chất cụ thể của backend bằng cách sử dụng DriverFilter và GoodnessWeighter để lập lịch. Việc lập lịch với driver filter và weighter giúp scheduler chọn backend tốt nhận dựa theo tính chất của volume được yêu cầu.

Các filter(bộ lọc) của Cinder Scheduler

Cinder Scheduler Weights

2. Cấu hình và sử dụng driver filler và weighing để lập lịch(scheduler).

Enable driver filter and weighing

Các toán tử hỗ trợ trong filter và goodness funtion.

Operations Type  
+, -, *, /, ^ standard math  
not, and, or, &, , ! logic
>, >=, <, <=, ==, <>, != equality  
+, - sign  
x ? a : b ternary  
abs(x), max(x, y), min(x, y) math helper functions  

Tài liệu nguồn: