Networknet.nl Blog
Stay Connected
Stay Connected
Mar 8th
I am creating and configuring virtual appliances for ESX server with Ubuntu JeOS 8.04 server release. When you create something it is always good to test what you created.
I finshed one of my JeOS virtual machines running with ESX server and cloned the JeOS virtual machine. JeOS appliance was booted and I logged on. A bash script run to change default passwords and SSH server was re-installed to generate SSH keys; immediately after apt-get tried to install SSH server I got an error and script stopped. I run ifconfig and saw no ethernet interface on Eth0 or Eth1.
The OS did not active the eth0 interface because virtual machine has been cloned and new MAC address assigned to the network interface. In network scripts only eth0 has been enabled and set for DHCP. Open file /etc/udev/rules.d/70-persistent-net.rules to see the problem where two network interfaces are shows with diffrent MAC addresses.
To fix this problem run the following command:
Reboot and the problem has been solved. This issue is not documented and part of the JeOS documentation yet. I hope this post will help you out there. Credit goes to “oneloveamaru” who helped me in the right direction for finding a solution on my problem.
Apr 17th
I have two identical Cacti (0.8.6h) virtual machines and both based on CactiEZ version 1 installation. I have been migrating the virtual machines between different Vmware hosts and at some point my second Cacti appliance did not update the RRD graphs and using the web interface was very slow. I tried rebooting; changing parameters in the Configuration Settings but noting helped to solve the issues. I even tried to bring the virtual machine on the original vmware host and I had same symptoms.
I logged in with a SSH session and went to my cacti database folder. I did a list and reviewed the file structure.
Shell> cd /var/lib/mysql/cacti
Shell> ls -all
-rw-rw—- 1 mysql mysql 303340164 Apr 15 09:32 poller_output.MYD
-rw-rw—- 1 mysql mysql 119115776 Apr 15 09:32 poller_output.MYI
As you can see the poller_output.MYD and poller_output.MYI are too huge and mysqld used a lot of resources. Total size of two files 366MB and my physical memory assigned to this virtual machine was only 384MB.

I read couple posts on the Cacti forms and decided to clean up my poller_output table from shell.
Shell> mysqld
mysql>use cacti mysql>
delete from poller_output;
mysql>exit
Mar 2nd
At some point the VMWare Server host run out of diskspace on which the virtual guest machines were stored. Windows started to complain about low disk space and only 32KB was left. I tried to open VMWare Server console and I got the error message below "511 vmware-serverd service is not running." All virtual machines were running except the one which consumed the remaining diskspace of the physical SAS drives.
To resolve this issue I shutdown one of the virtual machines with a RDP session and moved the directory to another VMWare Server host; next step I did I tried to bring other virtual machines down by a RDP session and at some point I was left with two other virtual machines which both were not accessible by RDP nor by SSH for the linux one.
I opened Task Manager and located the remaining processes for the virtual machines.
vmware-vmx.exe is individual process for each virtual machine. Two were left and I stopped both vmware-vmx.exe processes. Open Services.msc console and restart the "VMware Registration Service" service.
After the service was restarted the initial process of starting the virtual machines started and all virtual machines were up and running. This is how I resolved the problem with VMWare Server, but it brings me back to the root cause of why this happened and one of the import things is to really think how you are going to seize your virtual machines and their disk space. I am going to implement thresholds and notifications with CactiEZ appliance soon and hopefully something which can help you also.