How do i remove cpus from one cpupool & add them to another cpupool?
-
We want to balance out the cpus in a cpupools, can see uat pool has not cpus and we want to add cpu's 2 & 3 to that pool.
# xl cpupool-list Name CPUs Sched Active Domain count Pool-0 4 credit y 2 uat 0 credit2 y 0 xenhorse:/xen/data# xl cpupool-list -c Name CPU list Pool-0 0,1,2,3 uat
Remove the cpus from Pool-0 first
# xl cpupool-cpu-remove Pool-0 3 # xl cpupool-cpu-remove Pool-0 2 # xl cpupool-list -c Name CPU list Pool-0 0,1 uat
Add the removed cpus to the uat pool.
# xl cpupool-cpu-add uat 2 # xl cpupool-cpu-add uat 3 # xl cpupool-list -c Name CPU list Pool-0 0,1 uat 2,3
© Lightnetics 2024