How to import sites with custom MX records Ensim Pro Control Panel Linux
The import of a site with custom MX records could cause creation of duplicated MX records: apart from custom MX records which are defined in the imported archive, default MX records could be created.
In order to avoid this, please proceed through the following steps when importing a site with custom MX records:
1. Before importing sites disable the creation of default MX records. Run the following command(s) as root:
/usr/local/bin/SetDefaultMXRecordState -f on
2. Restart epld service using the following commands as root:
3. Import site from the archive.
4. When the site is succesfuly imported, please turn off the freezing of MX records for imported sites.
For this, run the following commands as root:
/usr/local/bin/SetDefaultMXRecordState -f off
Reference : http://parallels.com/
Zend Optimizer Installation on Ensim Pro Control Panel
Steps to Install Zend Optimizer on Ensim Pro for Linux.
1.Download Zend Optimizer from www.zend.com and follow the installation procedure.
2.Once the installation is complete, create tar file using following command.
# tar cf virtDomain.tar /usr/local/Zend
(Assuming that Zend has been installed at default location - /usr/local/Zend)
3.Copy this tarball to /etc/appliance/customization
4.Download the
http://download.swsoft.com/ensim/download/pro/linux/kb/2800/virtDomain.sh
custom script named virtDomain.sh and upload the same to /etc/appliance/customization
5.Download the
http://download.swsoft.com/ensim/download/pro/linux/kb/2800/editVirtDomain.sh
custom script named editVirtDomain.sh and upload the same to /etc/appliance/customization
Note : you need to replace Zend Extension part with one copied from /usr/local/Zend/etc/php.ini in the attached scripts.
6.chmod both script to 755
Now all new domain created on server with any security level will be Zend enabled. If you want existing domain with high security to be zend enabled then you just need to re-save the site from Webppliance.
Reference: http://parallels.com/
Fix For Memory Error in Ensim Pro for Linux Version
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.
Instructions to fix MemoryError exception occuring during import sites.
Resolution: Add extra swap space to the server before doing the restore. The extra swap space is added to the server by setting up a new swap file and enabling swapping on it.
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=
Where = number of 1024 blocks required. If count=1024000 size of /var/swapfile will be 1024* 1024000 = 1 GB.
Setup an extra swap with the following command:
Enable “/var/swapfile” for swapping with the following command:
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.
Restore can be performed after the extra swap file has been enabled for swapping.
Instructions for deleting the swap file after import:
Turn off swapping for file “/var/swapfile” with the following command:
Delete the file “/var/swapfile” with the following command:
Notification from Ensim ALERT: An instance has expired
The email indicates that the Ensim License Server (http://elm.swsoft.com) has not received any license update request from the product instance for some extended period. Please login to the server, go to the license manager and click on “Renew License”.
It should send a new request to the license server. If the request fails, check if you can open http://els.swsoft.com/ from the Ensim server - maybe there is an issue with a firewall.
When you can access http://els.swsoft.com/ you should get “You are connected with Ensim Pro License Manager!”
The Parallels Pro Control Panel License Manager (ELM) allows you to manage your Parallels Control Panel Pro (formerly Ensim Pro) licenses.
If you are changing the IP address of your server you need to modify the following files with the new IP address, replacing any instance of the old IP address:
/etc/hosts
/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/virtualhosting/namebased_ip_addrs
/etc/httpd/conf/httpd20_app.conf
/etc/virtualhosting/localnameserver
/etc/bind/options.conf.wp
/home/virtual/FILESYSTEMTEMPLATE/siteinfo/etc/resolv.conf
Now reboot the server and then run the following command.
/usr/local/bin/NBDetectchanges