Guidelines for Improving XCP-ng Performance in a Production Setting
-
Hello Everyone ,
As I build up an XCP-ng setup for our company's manufacturing facilities, I would be very grateful for any guidance and ideas from people like you who have more expertise.
A variety of web-based applications, data bases, and file storage will be hosted on the multiple physical servers or uipath installation (link removed) that make up our infrastructure. Achieving a balance between cost-effectiveness, performance, and reliability is our goal.
I have the following specific queries:
Resource Allocation: In XCP-ng, what are the recommended methods for assigning virtual machines' (VMs) CPU and memory resources? Exist any particular rules or resources that may be used to monitor and dynamically modify these resources?
Solutions for Storage: Various storage alternatives (local retention, NFS, iSCSI, etc.) are under consideration. Regarding performance and dependability, which storage option would you suggest for a production setting? Are there any specific settings or adjustments that we should be mindful of?
Network Configuration: In order to guarantee high availability and redundancy, what network configurations are advised? In particular, how should our networking be configured to minimise latency and optimise throughput for database applications?
Backup and Recovery: How should a reliable backup as well as restoration solution be implemented in XCP-ng? What programs or tools do you think would be especially helpful for automating these tasks?
Security Points to Remember: What security controls must to be put in place to safeguard our XCP-ng environment? Do you have any recommendations for any particular configurations or procedures that strengthen the system and guarantee data integrity?
Performance Tuning: What are some general pointers or sophisticated setups for adjusting XCP-ng's performance? This can entail making adjustments within specific VMs or at the hypervisor level.
Community Tools & Resources: Do you know of any scripts, tools, or resources that have been provided by the community that you have found to be extremely helpful in maintaining and enhancing your XCP-ng environment?
I'm interested in learning about your insights and suggestions. We will rely heavily on your feedback as we develop a reliable and effective XCP-ng setup.
Thank you in advance for your support and assistance.
-
...some hard to answer questions, but I will give it a try:
-
Ressource Allocation
I would always prefer to assign static memory instead of dynamic. That always the "more stable" version and I would avoid memory-overprovisioning at any time. -
Storage
Most people here are prefering NFS because of its simplicity. I am prefering iSCSI because of MPIO, but you will loose thin-provisioning, if your storage does not do it "in the background", like a ZFS-based storage -
Network
My reference layout it:
2x 10 GbE "Management + Backup" active-passive bond
2x 10 GbE "VM network"
2x 10 GbE iSCSI/NFS -
Backup
XOA can provide a lot. Check it please and come back if something is "missing" for you. -
Security
Nothing special. XOA can provide 2FA. The downside is, that there is always ONE root-password on the XCP-ng-hosts without any alternative -
Performance
Install guest-tools -
Community Tools
That is highly individual. You can find a lot in this forum, but I think, most people don't need any special scripts.
KPS
-
-
@Angela I removed your link to a 3rd party website related to the installation of uipath as I don't see how it is related to XCP-ng. Please refrain from including these unrelated links as they will likely get removed again in any future posts.