Saturday, February 25, 2017

ODA X6-2-- decreasing the CPU core count

The command syntax that we use for decreasing the Cpu core count of ODA is not so different than the command syntax that we use for increasing it.

There is an important that we need to know for decreasing the CPU core count in ODA.
That is -> It is not supported! :)

Here; I try to decrease the cpu core count of an ODA from 8 to 4 and I get "reduction in number of cores is not supported"

[root@odademo ~]# odacli describe-cpucore

Node  Cores  Modified                       Job Status    
----- ------ ------------------------------ ---------------
0     8      February 23, 2017 12:23:26 PM EET Configured    

[root@odademo ~]# odacli update-cpucore --cores 4
reduction in number of cores is not supported

However, there is force argument which makes us force this action.

Here ->

[root@odademo ~]# odacli update-cpucore --cores 4 --force
{
  "jobId" : "9d294bfd-e582-4484-a75c-621b4ac1c2ca",
  "status" : "Created",
  "message" : null,
  "reports" : [ ],
  "createTimestamp" : "February 25, 2017 10:46:59 AM EET",
  "description" : "CPU cores  service update",
  "updatedTime" : "February 25, 2017 10:46:59 AM EET"
}

[root@odademo ~]# odacli describe-cpucore

Node  Cores  Modified                       Job Status    
----- ------ ------------------------------ ---------------
0     4      February 25, 2017 10:47:02 AM EET Configured

So, using the "--force" argument, we can decrease the Cpu core count of an ODA X6.
However since it is not supported, I don't recommend to use it!
In my opinion, this can only be used after the first deployment, before we start using the machine.

No comments :

Post a Comment