cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ichan09
Level 7
Report Inappropriate Content
Message 1 of 6

How to Change the # of CPU of a Device (ERC) using CLI?

Jump to solution

Hi! I am having trouble changing the # of CPU cores using Linux CLI command in a device during the initial configuration of said device. I have to match the # of CPU cores in the CLI command to the one set in the VM.

I have already extracted the set_vm_cores in the respective devices using WinSCP. After that, I tried the bash set_vm_cores.sh command. Afterwards, I rebooted the Virtual Machines. Then after rebooting, I used /usr/local/bin ResizevmVolume command and set the core to from 8 cores to 20 cores (this is as per plan). Then I tried using htop command but it only shows that I still have 8 cores for the device.


Seeking help in changing # of CPU. Thank you.

1 Solution

Accepted Solutions
erelleke
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 6 of 6

Re: How to Change the # of CPU of a Device (ERC) using CLI?

Jump to solution

I would say from your responses you have provided it would seem that the set_vm_cores did not finish correctly. You might try running it again and if you still do not get the message of it finishing then please open a service request.

Thank You,
Eric

View solution in original post

5 Replies
lratcliffe
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 6

Re: How to Change the # of CPU of a Device (ERC) using CLI?

Jump to solution

set_vm_cores.sh is the script to use.  Did it show you any errors?

Did you increase the number of cores provided to the VM from the hypervisor?

What is the output of lscpu?

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
ichan09
Level 7
Report Inappropriate Content
Message 3 of 6

Re: How to Change the # of CPU of a Device (ERC) using CLI?

Jump to solution

Hi!

For this project, we do not use hypervisor. We use VMware for the virtual machine, wherein the CPU cores there are initially configurated as per plan. For the lscp command, we run the lscp for the device, it says 20 cores. However when we run htop command, it shows only up to 8 cores. 

Can you please enlighten me on this, sir? Thank you.

erelleke
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 6

Re: How to Change the # of CPU of a Device (ERC) using CLI?

Jump to solution

Question when you ran the set_vm_cores.sh and selected the 20 cores did you get the messages finished installing c43fea... and then it should have given the message "date VM cores set to 20". In the Iscp does it say ERC-VM20?

Thank You,
Eric
ichan09
Level 7
Report Inappropriate Content
Message 5 of 6

Re: How to Change the # of CPU of a Device (ERC) using CLI?

Jump to solution

Hi!

As I have ran the set_vm_cores, I did not receive any messages like "finished installing c43fea..." and the "date VM cores set to 20". Also, as I have check the lscpu and cat /etc/NitroGuard/ipsmodel, it is still showing ERC-VM8.

Thank you.

erelleke
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 6 of 6

Re: How to Change the # of CPU of a Device (ERC) using CLI?

Jump to solution

I would say from your responses you have provided it would seem that the set_vm_cores did not finish correctly. You might try running it again and if you still do not get the message of it finishing then please open a service request.

Thank You,
Eric

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community