Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rtechie

Pages: [1] 2
1
Take a second look.  What I am suggesting doesn't involve shared storage but real-time duplication between vm's on two physical machines just like the solution you are pursuing.  Giving the machine physical access to an LV gives a performance boost over container files and gives you an easy target to duplicate via DRBD or ISCSI.  The packages I suggested just wrapped all of the details together for you.  I have looked again since my first post and noticed the same is possible using KVM.  What I suggested avoids the "split brain" problem that you appear to be trying to avoid.  I am sorry that I didn't make myself clear the first time.  If I am not mistaken, DRBD wants to work with whole drives not just directories, no?  Oops.... re-reading your first post ....   isn't rsync going to be very cumbersome?

I think I get what you're saying.

Set up 2 VM servers each with a single VM that uses a LVM-mirror of 2 NFS shares (one on each server) as it's storage. This will create a  cold spare of the VM server and backs up everything but the VM server config.

This is functionally identical to what we're doing now with VMWare, except that the ESX cluster is using shared storage. Is there any reason why I shouldn't just use a VMWare ESX cluster with distributed storage (other than cost)?

2
Installation and Upgrades / Re: Import/Export DNS Zones
« on: March 03, 2011, 09:40:50 pm »
I had few enough static hosts that I went ahead and did it by hand. That probably took less time than coding and testing the script would've.

However, I'll keep this in mind for the future and hand this off to one of our perl hackers.

Thanks for the help.

3
Installation and Upgrades / Re: Import/Export DNS Zones
« on: March 02, 2011, 01:44:44 am »
You can use Zentyal API from a script that parses your previous bind configuration file, have a look at the exposed methods on DNS.pm.

Digging into the perl script it looks like most of the methods expect STDIN as input.

So I have to write a script that parses the contents (basically every individual word) of the DB file into individual variables that are sent to methods in DNS.pm for adding to ebox's DNS.  It seems like a major hassle to properly parse the contents of the db file using perl.

Sorry, I'm not very good with perl.


4
Thanks, but VMs with shared storage are not acceptable.

Right now, a lot of these services are running on VMs in an ESXi cluster which is specifically what we want to get away from.

And I'd still have the exact same problem, the VM configuration would go out of sync just like the physical hardware.


5
So this one's a bit complicated:

I'm setting up 2 identical Zentyal boxes to run in HA. So far, I've got the bridge interface and Pacemaker working properly on both boxes.

The problem I have now is syncing the configuration. My first though was to use DRBD, but that doesn't appear to be an option because I can't use a DRBD volume as root and it doesn't look like Zentyal's configuration is stored in a single subdirectory (apparently Zentyal has config files in many places other than /home). Mounting an NFS share is not an option (defeats the purpose), so I was looking at rsync.

My question basically is: What do I rsync?

6
Installation and Upgrades / Is there any way to import LDAP information?
« on: February 23, 2011, 01:20:14 am »
Is there any way to import information from an existing OpenLDAP server into Zentyal? I have an existing that I'd like to migrate.


7
Installation and Upgrades / Import/Export DNS Zones
« on: February 23, 2011, 01:14:55 am »
Is there any way to import and export DNS information out of Zentyal? I have a pre-existing bind server and I would very much like to import the db files from bind.


8
The solution is much more complicated.

As the other poster mentioned you have to configure pam_ldap and winbind on the client. This involves editing a bunch of config files on the clients.

Assuming you have a real Windows Server Active Directory server that you are authenticating against, I strongly recommend Likewise Open which is MUCH easier to use than winbind.

9
I've been wondering how to do this as well.

The "Domain Users" and "Domain Administrators" groups already exist by default in Zentyal., You just can't assign users to them or do anything with them for some reason.

Apparently Zentyal assigns users to the group "__Users__" by default, and I can't seem to change that. I would really like to give LDAP users the "Domain Users" group by default instead.


10
I've been wondering how to do this as well.

Apparently Zentyal assigns users to the group "__Users__" by default, and I can't seem to change that. I would really like to give LDAP users the "Domain Users" group by default instead.


11
Installation and Upgrades / Re: OpenVPN keepalive problem?
« on: January 20, 2011, 02:41:59 am »
Likely you are using the same client certificate for all windows client. You should use one different for each one.

About the keep alive sometimes nets between mangle the things. I suggest you to try to switch the server protocol .. this sometimes solves the problem but depends on the networks that are between your clients and your servers. If this doesnt work we could try to increase the keepalive parameter.

I know this is an old topic.

But I'm having this exact same problem with Windows clients, all of them die after 2 minutes. Is this because they're all using the same client cert?

This problem seems to be related to the "keepalive" parameter in the ebox OpenVPN config. Is there any way to change this? It reverts when I try to edit it manually.


12
Tried that, and it definitely seems to be working better. Faster anyway.

I haven't actually deployed this system yet. Should I just go ahead and upgrade to 2.0-3?


13
I've got my copy of Zentyal 2.0-2 running, and everything appears to work just fine except...

When the screensaver kicks in, or the monitor is unplugged or goes to sleep, the user is kicked to a console prompt on F1. If I try to switch back using Alt-F7, the X session is apparently locked with a text display and some gibberish at the bottom, but reports as still running. I can't seem to kill it and I can't seem to start a new instance with startx.

It looks like the driver might be crashing when the screensaver kicks in for some reason, but I can't find this reported in logs anywhere.

Help on this would really be appreciated.

14
Installation and Upgrades / Re: Restore backup during install
« on: December 12, 2010, 03:00:58 am »
Quote
So far i know, you can choose what you want to backup. So when you only backup your Data there should not be anything hardware-specific in it.

Okay... And all the Data is stored in /home, right?

The docs say that by default the entire system is backed up except /mnt, /dev, /media, /sys, /tmp, /var/cache and /proc which covers most of the hardware but INCLUDES /home. So the "Backup" backs up pretty much everything.

So, in theory, I could make a PXE Zentyal image and add a script to it that uses the "restore" app to call rsync or something to push the configuration back separately. Correct?

Quote
A good way would be clonezilla to make an image, but you have to shutdown the server.

It wouldn't be mounted then, would it?  :) This is intended for a production server that is intended to ALWAYS be up, 24/365.


15
Installation and Upgrades / Re: Restore backup during install
« on: December 08, 2010, 09:13:14 pm »
Do you know any way to clone a mounted root filesystem?


Pages: [1] 2