Archive for March, 2010

Bandwidth is getting calculated higher than expected in Ensim Pro for Linux

For RHEL4, Cent OS 4.1, Cent OS 4.2, Cent OS 4.3:

http://download.swsoft.com/ensim/download/pro/linux/4.1.0/hotfix/bandwidth2/rhel4/webppliance-bandwidth-4.1.0-38.rhel.4ES.i386.rpm

Installation Procedure:

rpm -Uvh webppliance-bandwidth-4.1.0-38.[os version].i386.rpm
service webppliance restart

service bandwidth_manager restart
service [affected service] restart (where affected services are proftpd, sendmail, ssh)

Reference : http://parallels.com/

Installation issues on CentOS for Ensim Pro Linux

Since a minimal OS installation for CentOS don’t install prerequisites packages for Ensim Pro X 10.0.0, it is mandatory to create CentOS repos on the local drive or provide an external repos while installing Ensim Pro X 10.0.0

e.g.

python ./ensim-installer.py –adminemail=admin@email.com –adminname=admin –adminpasswd=password –updater=yum –os-source=http://mirror.centos.org/centos/4/os/i386/ –updates-source=http://mirror.centos.org/centos/4/updates/i386/

OR

python ./ensim-installer.py –adminemail=admin@email.com –adminname=admin –adminpasswd=password –updater=yum –os-source=file:///path/to/repos/os –updates-source=file:///path/to/repos/updates

Instructions for deleting the swap file after import in Ensim

Eg. partition - /dev/hda3 mounted on /, swap file - /var/swapfile.

Turn off swapping for file “/var/swapfile” with the following command:

swapon, swapoff - enable/disable devices and files for paging and swapping

Swapoff disables swapping on the specified devices and files. When the -a flag is given, swapping is disabled on all known swap devices and files (as found in /proc/swaps or /etc/fstab)

#swapoff /var/swapfile

Delete the file “/var/swapfile” with the following command:

#rm -f /var/swapfile
SBDavid

Instructions to setup swap file

Instructions to setup swap file

Select the partition where you want to create the swap file. This partition must have free disk space to create the swap file.

Create a file for swap with the following command (# is shell prompt):

#dd if=/dev/zero of=/var/swapfile bs=1024 count=[count]

where [count]= number of 1024 blocks required. If count=1024000 size of /var/swapfile will be 1024* 1024000 = 1 GB .

You can decide the size of “/var/swapfile” depending on the size of the backup tar file.

Setup an extra swap with the following command:

#mkswap /var/swapfile

Enable “/var/swapfile” for swapping with the following command:

#swapon /var/swapfile

Verification: The file “/proc/swaps” must contain the entry for the swap file “/var/swapfile”. If this entry is not present, then swapping has not been enabled for the swap area.

Fix MemoryError exception occuring during import sites with Ensim Pro

Restore of appliance, reseller, site and user fails with the “MemoryError” if the size of the backup tar file is greater than the aggregate size of RAM and swap space.

Add extra swap space to the EPL server before doing the restore.

The extra swap space is added to the EPL server by setting up a new swap file and enabling swapping on it. The EPL server must have enough disk space to create the swap file. After the restore is successful the swap file can be deleted following the instructions provided to delete the swap file.

« Prev - Next »