Saturday, February 25, 2017

ODA X6-2 , Increasing the CPU Core count in ODA

Capacity on Demand is not a new option for ODA. It was there earlier as well.
However, the new CLI (ODACLI) is introduced with ODA X6 and that's why I m writing this blog post.
Increasing  the CPU core count is a little different the earlier . (OAKCLI)

Note that, I did a test on an ODA X6-2M and  created the following demo/example to show you the command / syntax to be used for increasing the core count in ODA is as follows;

First I check, the current cpu cores.

[root@oak bin]# ./odacli describe-cpucore 
Node  Cores  Modified                       Job Status     
----- ------ ------------------------------ ---------------
0     8     February 20, 2017 12:10:18 PM EET Configured   

[root@odademo bin]# cat /proc/cpuinfo|grep processor| wc -l (Checking it from the OS)

16 (this is becauase of Hyper threading)

Then, I update the cpu cores ->

[root@oak bin]# ./odacli update-cpucore --cores 12
{
  "jobId" : "b53d8ab8-c59a-48bf-805f-fe1c477d6e6a",
  "status" : "Created",
  "message" : null,
  "reports" : [ ],
  "createTimestamp" : "February 20, 2017 14:57:44 PM EET",
  "description" : "CPU cores  service update",
  "updatedTime" : "February 20, 2017 14:57:44 PM EET"
}

I check the running jobs to ensure my action is successfuly.

[root@oak bin]# ./odacli list-jobs

ID             Description                                 Created                             Status    
---------------------------------------- --------------------------------------------------------------------------- 
...
4d8bb3d     Provisioning service creation   February 20, 2017 2:01:05 PM EET    Success   
b53d8ab8-c59a     CPU cores  service update  February 20, 2017 2:57:44 PM EET    Success   

Lastly, I check the current cpu cores once again, to ensure my cpu core count is updated to 12.

[root@oak bin]# ./odacli describe-cpucore

Node  Cores  Modified                       Job Status     
----- ------ ------------------------------ ---------------
0     12     February 20, 2017 2:57:45 PM EET Configured   

[root@odademo ~]# cat /proc/cpuinfo|grep processor| wc -l (Checking it from the OS)

24 (this is becausae of Hyper Threading, it means 12 Cpus cores -- as expected)

No comments :

Post a Comment

If you will ask a question, please don't comment here..

For your questions, please create an issue into my forum.

Forum Link: http://ermanarslan.blogspot.com.tr/p/forum.html

Register and create an issue in the related category.
I will support you from there.