For some reason whoever built the server I'm working on only gave it 2 CPUs in the hyper-visor, I can easily give it 4, but I'm positive that will break it,  the kernel will not recognize the others.. I vaguely remember trying this exactly a while back and gave up.. if it ain't broke etc.. However, the load on the server is increasing, I will be increasing the size of the hard-drives and need to increase the amount of CPU/RAM etc too.. (Physical RAM is on order for the box, but I have a few Gb free I can allocate)What do I do? I'm hoping its a simple matter of installing the kernel then rebooting with new CPU's allocated, but I want some advice/tips/help first. Also, Any idea what kernel I need?ESX Seems to be configured for Linux 32 bit, can I just change this to 64?https://wiki.debian.org/Migrate32To64Bit suggests I have to do a lot of fluffing about.. https://wiki.debian.org/HowToUpgradeKernel wasn't very helpful.Possibly helpful info:apt-cache policyPackage files: 100 /var/lib/dpkg/status     release a=now 500 http://archive.debian.org lenny/non-free Packages     release v=5.0.10,o=Debian,a=oldstable,l=Debian,c=non-free     origin archive.debian.org 500 http://archive.debian.org lenny/main Packages     release v=5.0.10,o=Debian,a=oldstable,l=Debian,c=main     origin archive.debian.org 500 http://archive.debian.org lenny/contrib Packages     release v=5.0.10,o=Debian,a=oldstable,l=Debian,c=contrib     origin archive.debian.orgPinned packages:uname -aLinux webserv 2.6.26-2-686 #1 SMP Sun Mar 4 22:19:19 UTC 2012 i686 GNU/Linux/boot$ lsconfig-2.6.26-2-686  grub  initrd.img-2.6.26-2-686  initrd.img-2.6.26-2-686.bak  System.map-2.6.26-2-686  vmlinuz-2.6.26-2-686cat /proc/cpuinfoprocessor   : 0vendor_id   : GenuineIntelcpu family  : 6model       : 26model name  : Intel(R) Xeon(R) CPU           E5520  @ 2.27GHzstepping    : 8cpu MHz     : 2261.000cache size  : 8192 KBfdiv_bug    : nohlt_bug     : nof00f_bug    : nocoma_bug    : nofpu     : yesfpu_exception   : yescpuid level : 11wp      : yesflags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx rdtscp lm constant_tsc arch_perfmon pebs bts pni ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm idabogomips    : 4527.01clflush size    : 64power management:Not that I'm incredibly lazy or anything.. but I'm thinking it might be easier to simply start from scratch with a new VM and migrate the data/services..
How to upgrade debian VM with more CPUs
debian;virtualization
Going from 32-bit to 64-bit isn't necessarily complicated, but given that you're two full release cycles behind it's probably best if you create a fresh VM, install Wheezy, and then see about copying over the data.How viable this is will depend largely on what kinds of services you're running and how much custom configuration work you've done to them -- I recently ran into some trouble with a truly ancient legacy MySQL server setup (originally predating Lenny) and a bunch of config options that were suboptimal at best and outright incompatible with more modern versions of MySQL at worst. Not one of my smoother upgrades, all told...Barring more specific information, I can only give some general advice: Install each service on the new setup, then look through modern documentation to see what config options exist and what they all do, then manually compare them to the config you've originally set up on the current server, and decide what needs to be retained and what's best left in the past.