We help IT Professionals succeed at work.

Noob: I wish to reallocate resources for my guest servers -- still clueless how to measure what's available.

182 Views
Last Modified: 2018-05-24
I had this question after viewing VMWare Resource Limiting.

Disclaimer: I am a senior DBA, new to VMware (and several other SA responsibilities). What I've studied so far isn't focused enough on my immediate need.

I've inherited a single server, ESXi 5.10, with several guest VMs. Each guest runs Oracle systems on RHEL. All but one of the VMs are production. I'm tasked with converting the one non-production VM into a scratch/ lab platform. This repurposed VM, which I'll call LAB1, will be staged with current versions of RHEL and Oracle,

To illustrate, say that I have three prod VMs plus LAB1. The resource distribution seen in vClient is 30-30-30-10. My target is 25-25-25-25. As far as I can tell, prod CPU usage is very low, and memory use is mostly low to moderate. I'm not aware of any resource pools, reserves, etc.  It stands to reason that my alterations will come in gradual steps.

So, please help me keep from crashing production while I learn from my mistakes :) TIA.
Comment
Watch Question

Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Memory is often the bottleneck, and can be changed, and reduced without any issues.

Active Memory, is the indicator you need to look at.

Commented:
So to prevent one machine from hogging resources would you just change the available memory on the non production server to a smaller amount? Just curious on this issue as well.
David VanZandtSr Software Engineer
CERTIFIED EXPERT

Author

Commented:
@Brian, not so. I need to increase resources to the non-production, LAB1, to become at least equal to the others -- and without crashing the production VMs as their resources shrink.

Once configured with RHEL 7 and Oracle 12c (and backed up), LAB1 will be loaded with a copy of production data, then used for user-acceptance testing prior to upgrading each production system. Perhaps I should clarify that both RHEL, and Oracle, strongly recommend a clean install of the new product, rather than a migration.
David VanZandtSr Software Engineer
CERTIFIED EXPERT

Author

Commented:
@Andrew, I'll check that out. It's pretty clear, however, that the memory load as a point-in-time doesn't tell me a thing about load over time -- say for a 24x7 week. With a historical record, I might find that PROD2 never goes over 10% CPU.  I could safely pull from that one.

The system log shows that each prod server will throw a resource warning when the daily backup kicks off. I don't need to hear from my tech lead that users called her with after-the-fact complaints :)
David VanZandtSr Software Engineer
CERTIFIED EXPERT

Author

Commented:
@Andrew, thank you. The article is way over my little Pooh head for now, but it will be fun to understand -- eventually. You got me looking for active memory, and this one link caught my eye: https://communities.vmware.com/docs/DOC-10398.pdf.

Think sar or top, piped to a text output.
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
David VanZandtSr Software Engineer
CERTIFIED EXPERT

Author

Commented:
@Andrew, on current Oracle systems the memory allocation is dynamic up to pre-set limits (targets). Swapping is discouraged -- whereas what I read on this topic, vSphere appears to be just the opposite. I suspect I need to talk to VMware about what one learns in which classes.

However, the answers here have been mostly helpful, thanks. There's one follow-up question about the active memory suggestions. In the pop-up window titled Customize Performance Chart, I figured out to create a custom chart. My earlier frustration was that this tool is locked down to display only the last one hour by default. The last and the from-to controls are not available to me as root. I'd appreciate  any last advice before I have to open a formal service ticket.
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
A virtual server hosted on VMware vSphere is no different to a physical server. So not quite sure about your reference. Swapping only occurs on a Windows VM, if you run out of memory.

From your last post mentioning 1 hour, and root, suggests you maybe not logged into vCenter Server, which allows better reporting.

Is this just a single standalone ESXi server, and you are logged in as root ? no vCenter Server for management, and maybe you are using the FREE ESXi version ? e.g. no paid license to VMware.
David VanZandtSr Software Engineer
CERTIFIED EXPERT

Author

Commented:
@Andrew, thanks -- part of my fog may be that I'm not seeing the same features that you experienced people are -- but I'm coming along.  Also, I had time today to focus in on the CPU/memory/storage consumption. I finally noticed that my time window choices were still locked down, allowing me only the recent-sixty-minutes display. I did experiment with choosing the advanced reporting control. Unfortunately, that didn't seem to unlock my duration radio buttons.

My license is for Essentials, not the plus version, however.
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Okay, you have Essentials.

Have you installed vCenter Server ?

It's also included in your license ?

vCenter Server will allow you to store the performance data, and review it, and therefore look at more than 1 hours worth.

What version of ESXi do you have ?
David VanZandtSr Software Engineer
CERTIFIED EXPERT

Author

Commented:
5.10. No to the vCenter, yet. :)

It's the only choice that's presented after O/S login. I read something this week that inferred there's a submenu to provide a limited set of O/S commands, I suspect that's available in some other VM product. Further, whoever set up this master server apparently disabled ssh access.

So, my current action includes a Monday SR with VMware about the apparent locked down options (vClient prohibits changes to the one hour metrics); and to RHEL to work around the command line access. I have a weekend maintenance window coming up, my first opportunity to bounce the master server. And no, acquiring another ESXi host is not likely to happen :(

In the meantime, I've begun manually recording the VMs' consumed resources during the peak hours.

And finally, I feel like my original question has been addressed, how/where to measure the load. I'll create new questions, I'm sure, after the server bounce.  I'll wait for your reply to this, then award points / close.

Regards,
dvz
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
David VanZandtSr Software Engineer
CERTIFIED EXPERT

Author

Commented:
Every day I learn more than I used to -- all this is appreciated to a slightly less noobie.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions