Archive for the 'Cloud' category

Gmail Backup done !

 | Wednesday, 9. March 2011 0:05

After I found out that also Gmail maybe has a need for Backup I found a few Ideas / Software to made a Backup.

First I remember that now Zarafa is in Fedora ! –> Thanks to kanarip http://planet.ergo-project.org/

So that’s easy setup a Fedora 14 on my KVM Hosts and install the Zarafa Community Version of it.

http://fedoraproject.org/wiki/Zarafa
http://www.ghacks.net/2010/06/16/zarafa-fedoras-exchange-killer/

# yum install zarafa zarafa-webaccess mysql-server httpd

# service mysqld start
# service zarafa-server start
# service zarafa-gateway start
# service zarafa-spooler start 

# zarafa-admin -s
# zarafa-admin -c USERNAME -e USERNAME@localhost -f “Zarafa Tester” -p PASSWORD
# service httpd restart

 

Then go to http://Server/webaccess –> done

maybe also make them persistent against reboot with “chkconfig Servicename on” per Service.

Then the Problem pops up how to sync my Gmail account with the Zarafa Server. So Imapsync was the first choice, but it turns out that it could be tricky not not so performant :-(

http://www.zarafa.com/wiki/index.php/Imapsync_migrating_to_a_new_server

http://www.linux-france.org/prj/imapsync_list/msg00017.html

http://www.bouthors.fr/wiki/doku.php?id=en:linux:imapsync

http://blog.otelconsulting.com/2010/01/imapsync-to-gmail-script/

# imapsync –noauthmd5 –allowsizemismatch –syncinternaldates –host1 imap.gmail.com –ssl1 –port1 993 –user1 YYYYYYYYYY@gmail.com –password1 XXXXXXX  -sep2 / –prefix2 “” –host2 192.168.1.245 –user2 YYYYYYY –password2 ZZZZZ –folder “[Gmail]/All Mail” –regextrans2 ‘s/\[Gmail\]/Gmail/’ —useheader ‘Message-Id’ —skipsize –dry

Also the Server need lot of Memory, first I think 512 MB is enough, Wrong I go to 1GB / 2CPU now its better ( see graph, red is swap before go to 1GB). Also the process toke very long and skip lot of mails.

 

so  I search another Methode and found it with OfflineIMAP

“Be aware that this is a Offline Version and will be synced back to Gmail if you delete or change something in the Offline Version next Time you sync !!!!!”

http://www.bramschoenmakers.nl/en/node/713

 

#sudo apt-get install offlineimap

and just add ~/.offlineimaprc to your homedrive

[general]
accounts = GMail
maxsyncaccounts = 3

[Account GMail]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = /storage/Gmail_Backup

[Repository Remote]
type = IMAP
remotehost = imap.gmail.com
remoteuser = your_username@gmail.com
remotepass = your_password
ssl = yes
maxconnections = 1

#Setting realdelete = yes will Really Delete email from the server.
#Otherwise "deleting" a message will just remove any labels and 
#retain the message in the All Mail folder.
realdelete = no

 

 

 

Share

Fedora 14 out

 | Tuesday, 2. November 2010 0:11

Fedora 14 is out now. They don’t include systemd right now, so the Bootprocess will stay with upstart.

First Time they will release also some Images on Amazon EC2.

Share

Virtualization with a Fedora 13 Host

 | Wednesday, 7. July 2010 22:38

After a few years of having a old Proliant ML370 Server with a Pentium III i decide to go with a AMD Athlon DualCore and install KVM for having some virtual Servers.

But there where some problems, as usual.

[root@cetus ~]# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 8
model name    : Pentium III (Coppermine)
stepping    : 6
cpu MHz        : 997.345
cache size    : 256 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips    : 1996.56

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 8
model name    : Pentium III (Coppermine)
stepping    : 6
cpu MHz        : 997.345
cache size    : 256 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips    : 1993.38

[root@cetus ~]#

Show me more… »

Share

Red Hat Virtualization 2.2 v2v

 | Friday, 25. June 2010 17:29

Red Hat Virtualization 2.2 introduce v2v for XEN and Vmware ESX

http://www.redhat.com/promo/summit/2010/highlights/

Share

Cloud Computing Other way!

 | Sunday, 20. June 2010 21:35

Share

IBM Nehalem EX Server released, 1.5 TB RAM ready!

 | Sunday, 7. March 2010 0:23

First Nehalem EX Server are released from IBM!

They looks very good with lot of Memory Slots and also impressive RSA Features.

maybe I will also do some tests. Actualy they run already with RHEL 4 !

Share

Connect Amazon EC2 / GoGrid with OpenVPN VPN-Cubed Part 2

 | Tuesday, 23. February 2010 1:08

I try to install the VPN-Cubed into Amazon EC2 and GoGrid

with the following Howto http://www.cohesiveft.com/dnld/VPN-Cubed_051_SSL-to-Cloud_Free-Edition_20091124.pdf

Using the EC2 command line:
  • export EC2_URL=https://us-east-1.ec2.amazonaws.com
  • ec2-add-group vpncubed-mgr -d “vpncubed managers”
  • ec2-add-group vpncubed-client -d “vpncubed clients”
  • ec2auth vpncubed-mgr -P udp -p 1194 -o vpncubed-client -u AWS_ACCOUNT
  • ec2auth vpncubed-mgr -P tcp -p 8000 -o vpncubed-mgr -u AWS_ACCOUNT
  • ec2auth vpncubed-mgr -P udp -p 1195-1197 -o vpncubed-mgr -u AWS_ACCOUNT
  • ec2auth vpncubed-mgr -P tcp -p 8000 -s IP_WHERE_YOU_WILL_MANAGE_CUBE/32
IMPORTANT: This line limits cube access. Use this technique for security of your network.
The /32 means “host only” and is needed in the command.
Now repeat same ec2 commands for EU region:
  • export EC2_URL=https://eu-west-1.ec2.amazonaws.com
  • <ec2 commands from above>
Unset the EC2_URL variable:
  • export EC2_URL=

and after this I don’t see my keypairs anymore !

http://www.cohesiveft.com/dnld/VPN-Cubed_SSL-2-GoGrid_Free_Edition_v20091103.pdf

and also the one from GoGrid but  unfortunately  I was not able to add my own Private Cloud into this connection

I need some more Infos about the VPN Cubed Manager but I can’t find it.

I now wrote a email to Cohesiveft.com, now we will see.

Share

Connect Amazon EC2 / GoGrid with OpenVPN VPN-Cubed

 | Saturday, 20. February 2010 13:32

Since Amazon launched his AWS VPC ( Virtual Private Cloud ) I’m Looking into Cloud Computing. But the Problem with Amazon Webservice VPC is that is little bit overkilled for private use or just a POC. They setup 2 ipsec Links with BGP Routing.

So I’m Looking into something similar best with OpenVPN because I have that already running with my Pfsense Firewall.

I found after a few Websearches the VPN-Cubed that works also with OpenVPN:

Thats how it works, you run a preinstalled Cloudserver with VPN-Cubed and also on the second site and then Connect them together. Looks pretty simple, but I have to test first.

–> and the best news, almost for free

http://www.cohesiveft.com/Cube/VPN/VPN-Cubed_SSL/

Share