Migrating cPanel email accounts to Google Apps

Recently we found ourselves in the need to migrate our email accounts off of our cPanel server, so we were looking for a command line tool that we could script to our needs.

With information from two excellent blog posts, “Migrating from private IMAP to Google Apps Email” and “Moving to Google Apps with imapsync“, the migration went flawlessly.

I’m not going into much detail, since you can read extensive information on the blog posts mentioned above, but instead I’m going to provide the exact commands we used on our cPanel server. For each email account migration we ran two commands:

The first command is used to migrate the Inbox folder of your email account:

imapsync --host1 your.cpanel.server.com --port1 993 --ssl1 --user1 email@domain.com --password1 yourpassword \
--host2 imap.gmail.com --user2 email@domain.com --password2 yourpassword --port2 993 --ssl2 \
--exclude "Archive|Deleted Messages|Drafts|Junk|Sent|Sent Messages|Trash" --skipsize

The second command will move the rest of your email folders (Sent, Trash & Drafts) to the correct Google Apps folders:

imapsync --syncinternaldates --host1 your.cpanel.server.com --port1 993 --ssl1 --user1 email@domain.com --password1 yourpassword \
--host2 imap.gmail.com --user2 email@domain.com --password2 yourpassword --port2 993 --ssl2 \
--useheader 'Message-Id' --skipsize --noauthmd5 --reconnectretry1 1 --reconnectretry2 1 \
--folder "INBOX.Sent" --prefix2 '[Gmail]/' --regextrans2 's/Sent$/Sent Mail/g' \
--folder "INBOX.Deleted Messages" --prefix2 '[Gmail]/' --regextrans2 's/Deleted Messages$/Trash/' \
--folder "INBOX.Drafts" --prefix2 '[Gmail]/' --regextrans2 's/INBOX\.Drafts$/Drafts/'

I actually wrote this blog post for future reference mostly, but I’m hoping others will find it useful as well.

Posted in cPanel | Tagged , , , | Leave a comment

Enterprise Hosting servers upgraded to cPanel 11.34

As cPanel made v11.34 available at the RELEASE tier, we’re excited to announce that our Enterprise Hosting servers have been upgraded to cPanel 11.34!
This release includes 200 exciting features and updates, including:

  • A brand new User Interface for WHM, which brings a slick new look and easier functionality, as demonstrated at the recent cPanel Conference.
  • Web Disk support has been updated for Windows Vista, 7 & 8, and Mountain Lion. In addition to the Web Disk support update, we will soon be releasing Android and iOS clients.
  • Email client auto configuration utilities have been updated to support the latest mail clients, as well as added support for Mountain Lion.
  • Email Archiving makes its appearance in 11.34, so email users now have the option to more efficiently track, store, and access email. The Mail Delivery Reports functionality vastly improves email tracking and message retrieval.
  • In addition, we overhauled the service monitoring system to provide better notifications, and improved the robustness of the automatic repair feature.
  • New Hooks Management interface built into WHM.
  • Feature Showcase page of WHM will alert you at login to any recent changes made by upgrading cPanel & WHM.

(More details are available at: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/1134ReleaseNotes)

In the unlikely event of a problem showing up on your hosting account because of this update, please open a ticket with support.

Posted in cPanel, General, News | Tagged , | Leave a comment

New KVM Templates added

Just a quick update to everyone who’s using KVM Templates to install their Operating System, that we have renewed our list of available Operating Systems.

Here’s what’s new:

  • Debian 6.0.5 Templates were replaced by Debian 6.0.6
  • Ubuntu 12.10 Server Templates added

For a complete up-to-date list of available KVM Templates check out this Knowledgebase article.

Posted in General, KVM, News, Templates, VPS | Tagged , , | Leave a comment

KVM Templates Launched

The latest stable version of our VPS Management System (SolusVM) was just released. This new version comes with Generation 2 of the KVM Template system. You now have the option to install/re-install your OS from a list of ready-to-use templates, just like OpenVZ/Xen, avoiding the need to go through the process of the OS installation via VNC.

Here’s a list of available templates, immediately available to all our customers.
CentOS 5.8 minimal x86/x86_64
CentOS 6.3 minimal x86/x86_64
ClearOS 6.3 x86/x86_64
Debian 6.0.5 minimal x86/x86_64
Fedora 17 minimal x86/x86_64
openSUSE minimal x86/x86_64
Ubuntu 12.04 LTS minimal x86/x86_64
Scientific Linux 6.3 minimal x86/x86_64

We hope you’ll like this new feature and as always don’t hesitate to open a ticket with support in case you experience any issues.

Cheers!
George

Posted in General, KVM, VPS | Tagged , , , , , , , , , , | Leave a comment

We just launched KVM SSD Virtual Servers!

Today we’ve got some great news to share with you: Last Sunday we finished testing our new KVM node setup and we’re ready to start offering blazing fast KVM SSD Virtual Servers!

Our new Supermicro enterprise grade servers are packed with an Intel Xeon E3-1230v2 CPU, 32GB ECC RAM and 4 x Samsung 830 SSDs in RAID10 configuration on an LSI 9260-4i controller (w/ FastPath enabled). With this setup we can provide maximum I/O performance while maintaining data integrity and redundancy.
Although we began testing Xen virtualization on SSD nodes, we finally decided to ditch Xen in favor of KVM because of the build-in support in CentOS 6 and the advanced OS configuration options available because of the fact that you install your OS as if you were in front of the server yourself.

Check out the new KVM SSD Virtual Servers product line by visiting our Virtual Servers page here.

New Location

Along with the new product line, came a new location for our servers. We now host our servers at the Dataplace datacenter in Alblasserdam (Netherlands), while network connectivity is provider by Proserve with a mix of Level(3), NTT/Verio, TeliaSonera, KPN and Abovenet uplinks.

Looking Glass

We have setup a very small (64MB RAM only!) VPS to host the LookingGlass script on our Dataplace, NL location.
You can find test IPs (IPv4 & IPv6), download test files (10MB & 100MB) as well as access to ping(6), traceroute(6) and mrt utilities.

Check it out at http://nl.fusioned.net/ and let us know what you think!

New prices, new default currency

As you may have noticed, GBP is now our primary currency on all services we provide. Of course this doesn’t mean that you can’t pay in EUR or USD, this has been done only for accounting/bookkeeping reasons.

KVM ISOs & Templates

We are currently running the latest stable SolusVM version (v1.12.00) which only supports the 1st generation of their KVM Templates. While we would love to provide you with the Templates feature, we think that it’s wiser to wait for v1.13.00 to go stable and jump directly to Generation 2 KVM Templates. So for now you have the option to install your OS by using one of the preloaded ISOs or in case you can’t find the ISO you’re looking for, just send us a ticket with a URL to the .iso and we’ll get it ready for you in no time.

September has been an exciting month for us; we were lucky to be able to trial a few server configurations and datacenter locations, talk to very interesting people in the hosting industry and launch a new product from the ground up by using the finest server technologies. We are very confident that we’ll exceed your expectations with our new KVM SSD VPS and we can’t wait for you to check them out.

Till next time,
George

Posted in General, KVM, VPS | 1 Comment

New LiteSpeed & minor version upgrades for PHP 5.3 and 5.4

Today we upgraded LiteSpeed Web Server to v4.2 which provides major feature enhancements. Here’s the changelog:

  • Added support for PHP suEXEC daemon mode to improve performance and memory efficiency (LSAPI 6.0 required).
  • Improved compatibility of Apache mod_security by adding support for variable collections.
  • Improved symbolic link security for shared hosting by introducing LiteSpeed specific directives “DisableSymlinkOverride” and “VhostRestrained”.
  • Updated PHP build utility to include PHP 5.4.6 and 5.3.16.

Furthermore, we recompiled all PHP versions with LSAPI 6.0 support, and upgraded to PHP 5.3.16 and 5.4.6.
Don’t forget to check out our Knowledgebase for instructions on how to switch between PHP versions.

Posted in General, LiteSpeed, PHP | Leave a comment

Fusioned got approved for the CloudFlare Certified Partner Program

We’re exited to announce that today Fusioned got approved for CloudFlare’s Certified Partner Program!

So, what is CloudFlare?

CloudFlare accelerates and protects any website online. On average, a website on CloudFlare:

  • Loads 30% faster
  • Uses 60% less bandwidth
  • Has 65% fewer requests
  • And, is way more secure.

Today, hundreds of thousands of websites—ranging from individual blogs to e-commerce sites to the websites of Fortune 500 companies to national governments—use CloudFlare to make their sites faster and more secure. They power more than 65 billion monthly page views—more than Amazon, Wikipedia, Twitter, Zynga, AOL, Apple, Bing, eBay, PayPal and Instagram combined—and over 25% of the Internet’s population regularly passes through their network.

Faster web performance

CloudFlare is designed to take a great hosting platform like Fusioned and make it even better.

CloudFlare runs 23 data centers strategically located around the world. When you sign up for CloudFlare, we begin routing your traffic to the nearest data center.

As your traffic passes through the data centers, CloudFlare intelligently determines what parts of your website are static versus dynamic. The static portions are cached on CloudFlare’s servers for a short period of time, typically less than 2 hours before CloudFlare check to see if they’ve been updated. By automatically moving the static parts of your site closer to your visitors, the overall performance of your site improves significantly.

CloudFlare’s intelligent caching system also means you save bandwidth, which means saving money, and decreases the load on your servers, which means your web application will run faster and more efficiently than ever. On average, CloudFlare customers see a 60% decrease in bandwidth usage, and a 65% in total requests to their servers. The overall effect is that CloudFlare will typically cut the load time for pages on your site by 50% which means higher engagement and happier visitors.

Broad web security

Over the course of 2011, CloudFlare identified a 700% increase in the number of distributed denial of service attacks (DDoS) they track on the Internet (see the chart below). As attacks like these increase, CloudFlare is stepping up to protect sites.

CloudFlare’s security protections offer a broad range of protections against attacks such as DDoS, hacking or spam submitted to a blog or comment form. What is powerful about our approach is that the system gets smarter the more sites that are part of the CloudFlare community. They analyze the traffic patterns of hundreds of millions of visitors in real time and adapt the security systems to ensure good traffic gets through and bad traffic is stopped.

In time, their goal is nothing short of making attacks against websites a relic of history. And, given our scale and the billions of different attacks they see and adapt to every year, we’re well on our way to achieving that for sites on the CloudFlare network.

Signing up

Any website can deploy CloudFlare, regardless of your underlying platform. By integrating closely with Fusioned, we make the process of setting up CloudFlare “1 click easy” through your existing Fusioned cPanel dashboard. Just look for the CloudFlare icon, choose the domain you want to enable, and click the orange cloud. That’s it!

We’ve kept the price as low as possible and plans offered through Fusioned are free. Moreover, we never charge you for bandwidth or storage, therefore saving you tons via reduced bandwidth costs.

For site owners who would like to take advantage of CloudFlare’s advanced offerings, we also offer a ‘Pro’ tier of service for $20/month. The ‘Pro’ tier includes all of the ‘Free’ tier’s offerings, as well as extra features like SSL, full web application firewall and faster analytics.

We’re proud that every day more than a thousand new sites, including some of the largest on the web, join the CloudFlare community. If you’re looking for a faster, safer website, you’ve got a good start with Fusioned, but the next step is to join the CloudFlare community.

Check out our Knowledgebase article for detailed information on how to activate and setup your website with CloudFlare.

Posted in CloudFlare, cPanel, General, News | Leave a comment

First test results of our upcoming Xen VPS servers

We’re very exited on this one! For the past few weeks we’ve been beta testing our soon to launch Xen VPS service and we’re proud to say that we’re almost there.

Built on servers with Xeon E3-1275 CPUs, 32GB ECC RAM and 4x 240GB SSD (RAID10), in one of Europe’s largest datacenter, you can expect nothing but amazing performance!

Here are some interesting benchmark results:

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: testvps33.fusioned.net: GNU/Linux
   OS: GNU/Linux -- 3.2.0-26-virtual -- #41-Ubuntu SMP Thu Jun 14 18:08:54 UTC 2012
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 2: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 3: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 4: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 5: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 6: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 7: Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (6800.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   12:22:29 up 13 min,  1 user,  load average: 0.01, 0.04, 0.04; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Sun Jul 29 2012 12:22:29 - 12:50:25
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       22589390.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2700.8 MWIPS (8.5 s, 7 samples)
Execl Throughput                                866.7 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        244206.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           72833.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        890127.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                              456258.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  61496.9 lps   (10.0 s, 7 samples)
Process Creation                               2094.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3079.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1988.2 lpm   (60.0 s, 2 samples)
System Call Overhead                         401764.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   22589390.4   1935.7
Double-Precision Whetstone                       55.0       2700.8    491.1
Execl Throughput                                 43.0        866.7    201.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     244206.7    616.7
File Copy 256 bufsize 500 maxblocks            1655.0      72833.7    440.1
File Copy 4096 bufsize 8000 maxblocks          5800.0     890127.0   1534.7
Pipe Throughput                               12440.0     456258.9    366.8
Pipe-based Context Switching                   4000.0      61496.9    153.7
Process Creation                                126.0       2094.6    166.2
Shell Scripts (1 concurrent)                     42.4       3079.3    726.3
Shell Scripts (8 concurrent)                      6.0       1988.2   3313.6
System Call Overhead                          15000.0     401764.6    267.8
                                                                   ========
System Benchmarks Index Score                                         529.2

------------------------------------------------------------------------
Benchmark Run: Sun Jul 29 2012 12:50:25 - 13:18:35
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables      166570947.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    30618.7 MWIPS (10.1 s, 7 samples)
Execl Throughput                               7179.2 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        627487.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          160296.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2014836.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3586425.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 523565.0 lps   (10.0 s, 7 samples)
Process Creation                              14623.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  18119.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2478.6 lpm   (60.1 s, 2 samples)
System Call Overhead                        3604467.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  166570947.4  14273.4
Double-Precision Whetstone                       55.0      30618.7   5567.0
Execl Throughput                                 43.0       7179.2   1669.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     627487.8   1584.6
File Copy 256 bufsize 500 maxblocks            1655.0     160296.2    968.6
File Copy 4096 bufsize 8000 maxblocks          5800.0    2014836.8   3473.9
Pipe Throughput                               12440.0    3586425.8   2883.0
Pipe-based Context Switching                   4000.0     523565.0   1308.9
Process Creation                                126.0      14623.3   1160.6
Shell Scripts (1 concurrent)                     42.4      18119.1   4273.4
Shell Scripts (8 concurrent)                      6.0       2478.6   4131.1
System Call Overhead                          15000.0    3604467.1   2403.0
                                                                   ========
System Benchmarks Index Score                                        2670.2
# wget -O /dev/null http://mirror.leaseweb.com/speedtest/500mb.bin
--2012-07-29 13:24:32--  http://mirror.leaseweb.com/speedtest/500mb.bin
Resolving mirror.leaseweb.com (mirror.leaseweb.com)... 94.75.223.121, 2001:1af8:4030:1:0:dead:beef:cafe
Connecting to mirror.leaseweb.com (mirror.leaseweb.com)|94.75.223.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 500000000 (477M) [application/octet-stream]
Saving to: `/dev/null'

100%[==============================================================================>] 500,000,000 97.5M/s   in 5.2s    

2012-07-29 13:24:38 (91.0 MB/s) - `/dev/null' saved [500000000/500000000]
# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 2.41199 s, 445 MB/s
# ioping . -c 5
4096 bytes from . (ext3 /dev/xvda1): request=1 time=0.1 ms
4096 bytes from . (ext3 /dev/xvda1): request=2 time=0.2 ms
4096 bytes from . (ext3 /dev/xvda1): request=3 time=0.2 ms
4096 bytes from . (ext3 /dev/xvda1): request=4 time=0.2 ms
4096 bytes from . (ext3 /dev/xvda1): request=5 time=0.2 ms

--- . (ext3 /dev/xvda1) ioping statistics ---
5 requests completed in 4001.6 ms, 6053 iops, 23.6 mb/s
min/avg/max/mdev = 0.1/0.2/0.2/0.0 ms
# ioping -R /dev/xvda1

--- /dev/xvda1 (device 20.0 Gb) ioping statistics ---
7575 requests completed in 3000.2 ms, 4385 iops, 17.1 mb/s
min/avg/max/mdev = 0.0/0.2/2.2/0.1 ms
# ioping -RL /dev/xvda1

--- /dev/xvda1 (device 20.0 Gb) ioping statistics ---
2427 requests completed in 3001.0 ms, 946 iops, 236.5 mb/s
min/avg/max/mdev = 0.5/1.1/3.1/0.2 ms
Posted in General, VPS, Xen | Tagged , , , | Leave a comment

cPanel rndc connection refused issue on CentOS 6.3

We were migrating dns2.fusioned.net from a UK VPS to our own infrastructure in Germany today and we came up with an issue which prevented us from running named.

While trying to run /scripts/fixrndc we were getting the following error message:

/usr/sbin/rndc status failed: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)rndc: connect failed: 127.0.0.1#953: connection refused
Error reloading bind on web: rndc: connect failed: 127.0.0.1#953: connection refused

After searching a little bit through the cPanel forums, we found a working fix and we’re posting it here in case anyone comes up with this issue again.

First run the following commands:

# mv /etc/init.d/named /etc/init.d/named.bak
# yum reinstall bind

You should then see the expected output when running:

# grep portrelease /etc/init.d/named

Example output should be:

[ -x /sbin/portrelease ] && /sbin/portrelease named &>/dev/null || :

If you see this output, you can then run:

# /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start; netstat -plan | grep 953 | grep named

This should resolve the issue, and you should no longer receive connection refused errors when reloading rndc.

The instructions above were posted here.

Posted in cPanel, General | Tagged , , | 1 Comment

R1Soft Enterprise servers upgraded to CDP v4.0.1

Just a heads up that we have upgraded our R1Soft Enterprise servers to CDP v4.0.1. (Release Notes)

If you’re a R1Soft backup service client (i.e. running an agent on your own VPS/Dedicated server) please be sure to upgrade your agent’s installation.

For CentOS, RHEL or Fedora run:

# yum install r1soft-cdp-enterprise-agent

For Debian or Ubuntu run:

# apt-get install r1soft-cdp-enterprise-agent
Posted in General, R1Soft | Tagged , , | Leave a comment