Virtualization makes another thing easier: complete, bare-metal backups. With this contributed package ( vzdump ), it is very easy to make backups of complete VE, sometimes with only little distruption. Features: Can send an e-mail when finished Can compress the resulting tarball Can selectively back up individual VE, or just all of them Can use different method to make sure the snapshot is consistent (stop the VE, suspend the VE, LVM snapshot) Restoring is very easy and the VEID can be different than the original Can do differential backup using xdelta (not tested myself)
Posts
Steps to setup my asterisk server in an OpenVZ VE
- Get link
- X
- Other Apps
Set the VE up Install asterisk wget ftp://ftp.digium.com/pub/asterisk/asterisk-1.2-current.tar.gz tar -xzf asterisk-1.2-current.tar.gz cd asterisk-1.2.18/ yum install glibc-devel ncurses-devel gcc openssl-devel zlib-devel make make mpg123 make install make config Edit /usr/sbin/safe_asterisk to comment out the line about TTY 9 Start asterisk Copy asterisk config files (/etc/asterisk/*) Copy moh mp3's (/var/lib/asterisk/mohmp3/) Copy custom sounds (IVR) Copy voicemail directory Get french sounds : wget ftp://ftp.digium.com/pub/telephony/sounds/asterisk-core-sounds-fr-wav-current.tar.gz tar -xzf asterisk-core-sounds-fr-wav-current.tar.gz Use the script "install_french.sh" (must be run in /var/lib/asterisk/sounds/fr) (see below for script) Change DNS records Test! Create backups (with vzdump) install_french script: #!/bin/bash # Script creant des liens symboliques permetannt l'utilisation des fichiers audios plus rapidement # # Clod Patry (removed e-mail address) # Vers...
Asterisk works under OpenVZ (no zaptel)
- Get link
- X
- Other Apps
Hi, Just to let you know that I did a basic test with asterisk on an OpenVZ VE and it works. We only tested SIP connectivity (it would probably be complex to have Zaptel support and I don't really need it). We were able to connect to a VoIP provider using SIP ( unlimitel ) and music on hold works. The only thing I had to change to make it work is to comment out this line in /usr/sbin/safe_asterisk: #TTY=9 # TTY (if you want one) for Asterisk to run on (I guess there is no TTY9 (console # 9) on openVZ since it is a virtual machine and TTY9 is usually a physical console (monitor)). I'll soon put my asterisk server in a VE, I'll let you know how it goes. I also use Unlimitel and ATAs to link my PSTN line and cordless phones.
MySQL 4.1 on CentOS3
- Get link
- X
- Other Apps
Hi, This is more of a reminder for me, but may be usefull for anyone who needs MySQL 4.1 on RHEL 3 or one of its clone. The trick is to download mysql-client, mysql-server, and mysql-shared-compat. The latter is the most important as it makes the mysql rpm that comes with the distribution unnecessary. If you don't install it, or if you install the mysql-shared-standard package, you will be forced to re-install mysql (the 3.23.x client) if you are using php-mysql. By installing the mysql-shared-compat, you provide the prerequesites for php-mysql, so you can just download all the new MySQL packages in a directory and do a rpm -Uvhf MySQL*.
My favoroite songs...
- Get link
- X
- Other Apps
Just a list of the songs I like most... - Sting: A thousand years, Shape of my heart, I miss you kate - Ariane Moffat: Seul dans sa categorie, Se perdre (J'aime bien le "Se perdre dans ses propre mots, entre un un et un zero), Retourne chez elle - Dave Matthews: Big eyed fish, Crush (funny, a lot of people seem to like Dave's 'Crash', oh, what can a single letter do !), The stone, Captain - Red Hot Chili Peppers: Death of a martian, Sir Psycho Sexy, Breaking the girl - Daniel Belanger: Primate electrique, Respirer dans l'eau, Imprafait - Rush: Animate (Rocks!), Leave that thing alone, Limbo - Beau Dommage: J'aimais l'hiver, Picbois - Ben Harper: Alone - Blind Melon: Paper scratcher, Mouthfull of cavities - George Michael: Careless Whisper - Chicane: Calvaire, Tu peux partir - Claude Dubois: Pas question d'aventure - Coldplay: White shadows - David Usher: Joy in small places - Delirium: Fallen, eternal odyssey - Eagles: Hotel California - Evanescence...
How come Pod is dead?
- Get link
- X
- Other Apps
Yeah... Sorry to let you know that my water dragon died... I'm not sure of what happened but he drowned in the aquarium that is in its vivarium... Can't exactly what is the cause, either he died of some disease, or he got into the water and was unable to get out... However, there was some plastic plants that were accessible in the water (as always), so I think it should have been able to get out. Anyway, I can't do anything about it now, it's gone. It happened a couple of days ago so I had some time to think about whether I'll get another reptile or not. I'm tempted about a snake. Less agitated, eats once a month... I'll see later on.
Back to winter Hiking
- Get link
- X
- Other Apps
Hmmm, winter, snow, mountain, ice... Went hiking yesterday. I really love hiking during winter. I didn't know what kind of weather to expect, so I brought my snowshoes and crampons... I came back after the sunset, using my Petzl lamp. I felt good, alone, with the snow and the nature. In fact, I had the feeling that I wasn't really alone out there. Maybe it's because I was getting closer to myself, or maybe it was something else. Or maybe both. Once I got down, I saw 2 persons, looking for their 17-year-old kid and his girlfriend. I offered my help... I hiked another 2 hours. It wasn't easy because I was becoming tired and it is a bit scary, in the dark, alone, in the woods... but at least I knew I had extra food, water and clothes... and when I got back to my car again, I had a note on my wiper, saying that the kid was back and safe, with thanks and their phone #. So I called them to thank them for letting me know and to let them know that I'm also back an...
64-bit
- Get link
- X
- Other Apps
Well, I know 64-bit computing isn't new, but it is new for me. Even though I had 64-bit hardware available, I've always installed 32-bit version of the OS (linux on x86_64). I had to deal with an x86_64 CentOS 3 server and I liked it. It just took some time to figure out how to install 32-bits packages. yum install package.arch (package.i386). Pretty neat! I just can't say anything about the performance as of now.
milter-greylist
- Get link
- X
- Other Apps
Hi, A few words on milter-greylist , especially because the new version (3) is now RC6 and looks pretty stable. What are the features of milter-greylist? Per-domain and per-user settings. Friendly networks whitelisting Multi-MX sync (database is replicated many mail servers if needed) SMTP-AUTH support SPF records: can be configured not to impose GreyListing to messages that are SPF-compliant Access lists with DNSbls This last option is new in version 3. It is very nice: it allows one to configure milter-greylist to impose GreyListing if the source IP is on (configurable) DNS black lists (DNSbls). I've installed it and it decreased the number of messages/day by about 60%. I only had to whitelist one server.
PfSense Follow-Up II
- Get link
- X
- Other Apps
Hi, Lasts week, I installed PfSense RELEASE 1.0, and it has been running very smoothly since the install. No more crashes! It's been running for 7 days straight now and I had absolutely no problem with it, except for my VoIP config for static port (see my other PfSense posts). Thanks a lot to the PfSense team! I just upgraded to 1.0.1 now...
UltraVNC SC
- Get link
- X
- Other Apps
Hi, I've been using UltraVNC for a while and while commenting on an article on UnixTutorials , I thought it would be a good idea to share my knowledge. First, I must say that UltraVNC is a free version of VNC that has more features than the free version of RealVNC (thanks for sharing the code, though...). It supports encryption and Active Directory authentication, and a few other nice features. But what I want to talk about today is the Single-Click feature (SC). Very useful... Example situation: One of your client went to a foreign country and he wants to configure the e-mail client of a laptop he borrowed there. VNC is not installed. You can spend an hour telling him over the phone how to configure Outlook or Thunderbird, or just tell him to go to your website, download a single executable, and take control of the PC and configure it. How to proceed: Make sure the VNC (or UltraVNC, for the rest of the text) viewer is loaded on your computer, in listen mode. You can access...
Wget
- Get link
- X
- Other Apps
Ah, I do feel good when I solve a complex problem with a simple tool. wget. This time, I wanted to take a backup of the database I have hosted somewhere. The only way to get these databases' backup files is to go the control panel of my hoster, cpanel. Usually, then I think about that, it is too late (as these files are the current databases, so if I just screwed something, these files are useless) I then remembered that wget can send authentication, so I basically use wget in a cronjob that downloads the database files and put them in a folder named after the current day's name. This way, I have 7 days of backup history. I like that :).