The more time passes with tarsnap, the more impressive it is.
Following is a list of all my privately used systems (2 machines which only host jails — here named Prison1 and Prison2 — and several jails — here named according to their functionality) together with some tarsnap statistics. For each backup tarsnap prints out some statistics. The amount of uncompressed storage space of all archives of this machine, the compressed storage space of all archives, the unique uncompressed storage space of all archives, the unique compressed storage space of all archives, and the same mount of info for the current archive. The unique storage space is after deduplication. The most interesting information is the unique and compressed one. For a specific archive it shows the amount of data which is different to all other archives, and for the total amount it tells how much storage space is used on the tarsnap server. I do not backup all data in tarsnap. I do a full backup on external storage (zfs snapshot + zfs send | zfs receive) once in a while and tarsnap is only for the stuff which could change daily or is very small (my mails belong to the first group, the config of applications or the system to the second group). At the end of the post there is also an overview of the money I have spend so far in tarsnap for the backups.
Attention: the following graphs are displaying small values in KB, while the text is telling about sizes in MB or even GB!
Prison1
The backup of one day covers 1.1 GB of uncompressed data, the subtrees I backup are /etc, /usr/local/etc, /home, /root, /var/db/pkg, /var/db/mergemaster.mtree, /space/jails/flavours and a subversion checkout of /usr/src (excluding the kernel compile directory; I backup this as I have local modifications to FreeBSD). If I want to have all days uncompressed on my harddisk, I would have to provide 10 GB of storage space. Compressed this comes down to 2.4 GB, unique uncompressed this is 853 MB, and unique compressed this is 243 MB. The following graph splits this up into all the backups I have as of this writting. I only show the unique values, as including the total values would make the unique values disappear in the graph (values too small).
In this graph we see that I have a constant rate of new data. I think this is mostly references to already stored data (/usr/src being the most likely cause of this, nothing changed in those directories).
Internal-DNS
One day covers 7 MB of uncompressed data, all archives take 56 MB uncompressed, unique and compressed this comes down to 1.3 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/named, and /var/db/mergemaster.mtree.
This graph is strange. I have no idea why there is so much data for the second and the last day. Nothing changed.
Outgoing-Postfix
One day covers 8 MB of uncompressed data, all archives take 62 MB uncompressed, unique and compressed this comes down to 1.5 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/spool/postfix, and /var/db/mergemaster.mtree.
This looks not bad. I was sending a lot of mails on the 25th. And the days in the middle I was not sending much.
IMAP
One day covers about 900 MB of uncompressed data, all archives take 7.2 GB uncompressed, unique and compressed this comes down to 526 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/db/mergemaster.mtree, /home (mail folders) and /usr/local/share/courier-imap.
Obviously I have a not so small amount of change in my mailbox. As my spamfilter is working nicely this is directly correlated to mails from various mailinglists (mostly FreeBSD).
MySQL (for the Horde webmail interface)
One day covers 100 MB of uncompressed data, all archives take 801 MB uncompressed, unique and compressed this comes down to 19 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/db/mysql and /var/db/mergemaster.mtree.
This is correlated with the use of my webmail interface, and as such is also correlated with the amount of mails I get and send. Obviously I did not use my webmail interface at the weekend (as the backup covers the change of the previous day).
Webmail
One day covers 121 MB of uncompressed data, all archives take 973 MB uncompressed, unique and compressed this comes down to 33 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/db/mergemaster.mtree, /usr/local/www/horde and /home.
This one is strange again. Nothing in the data changed.
Samba
One day covers 10 MB of uncompressed data, all archives take 72 MB uncompressed, unique and compressed this comes down to 1.9 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/db/mergemaster.mtree and /var/db/samba.
Here we see the changes to /var/db/samba, this should be mostly my Wii accessing multimedia files there.
Proxy
One day covers 31 MB of uncompressed data, all archives take 223 MB uncompressed, unique and compressed this comes down to 6.6 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg and /var/db/mergemaster.mtree.
This is also a strange graph. Again, nothing changed there (the cache directory is not in the backup).
phpMyAdmin
One day covers 44 MB of uncompressed data, all archives take 310 uncompressed, unique and compressed this comes down to 11 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/db/mergemaster.mtree, /home and /usr/local/www/phpMyAdmin.
And again a strange graph. No changes in the FS.
Gallery
One day covers 120 MB of uncompressed data, all archives take 845 MB uncompressed, unique and compressed this comes down to 25 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/db/mergemaster.mtree, /usr/local/www/gallery2 and /home/gallery (excluding some parts of /home/gallery).
This one is OK. Friends and Family accessing the pictures.
Prison2
One day covers 7 MB of uncompressed data, all archives take 28 MB uncompressed, unique and compressed this comes down to 1.3 MB. This covers /etc, /usr/local/etc, /root, /var/db/pkg, /var/db/mergemaster.mtree, /space/jails/flavours and /home.
This one looks strange to me again. Same reasons as with the previous graphs.
Incoming-Postfix
One day covers 56 MB of uncompressed data, all archives take 225 MB uncompressed, unique and compressed this comes down to 5.4 MB. This covers /etc, /usr/local/etc, /usr/local/www/postfixadmin, /root/, /var/db/pkg, /var/db/mysql, /var/spool/postfix and /var/db/mergemaster.mtree.
This graph looks OK to me.
Blog-and-XMPP
One day covers 59 MB of uncompressed data, all archives take 478 MB uncompressed, unique and compressed this comes down to 14 MB. This covers /etc, /usr/local/etc, /root, /home, /var/db/pkg, /var/db/mergemaster.mtree, /var/db/mysql and /var/spool/ejabberd (yes, no backup of the web-data, I have it in another jail, no need to backup it again).
With the MySQL and XMPP databases in the backup, I do not think this graph is wrong.
Totals
The total amount of stored data per system is:
Costs
Since I use tarsnap (8 days), I have spend 38 cents, most of this is bandwidth cost for the transfer of the initial backup (29.21 cents). According to the graphs, I am currently at about 8–14 cents per week (or about half a dollar per month) for my backups (I still have a machine to add, and this may increase the amount in a similar way than the Prison1 system with 2–3 jails). The amount of money spend in US-cents (rounded!) per day is:
GD Star Rating
loading…
GD Star Rating
loading…
At the weekend there was a power-failure at our disaster-recovery-site. As everything should be connected to the UPS, this should not have had an impact… unfortunately the guys responsible for the cabling seem to have not provided enough power connections from the UPS. Result: one of our storage systems (all volumes in several RAID5 virtual disks) for the test systems lost power, 10 harddisks switched into failed state when the power was stable again (I was told there where several small power-failures that day). After telling the software to have a look at the drives again, all physical disks where accepted.
All volumes on one of the virtual disks where damaged (actually, one of the virtual disks was damaged) beyond repair and we had to recover from backup.
All ZFS based mountpoints on the good virtual disks did not show bad behavior (zfs clear + zfs scrub for those which showed checksum errors to make us feel better). For the UFS based ones… some caused a panic after reboot and we had to run fsck on them before trying a second boot.
We spend a lot more time to get UFS back online, than getting ZFS back online. After this experience it looks like our future Solaris 10u8 installs will be with root on ZFS (our workstations are already like this, but our servers are still at Solaris 10u6).
GD Star Rating
loading…
GD Star Rating
loading…
At work (client site) SUN made a presentation about their OpenStorage products (Sun Storage 7000 Unified Storage Systems) today.
From a technology point of view, the software side is nothing new to me. Using SSDs for zfs as a read-/write-cache is something we can do (partly) already since at least Solaris 10u6 (that is the lowest Solaris 10 version we have installed here, so I can not check quickly if the ZIL can be on a separate disk in previous versions of Solaris, but I think we have to wait until we updated to Solaris 10u8 until we can have the L2ARC on a separate disk) or in FreeBSD. All other nice ZFS features available in the OpenStorage web interface are also not surprising.
But the demonstration with the Storage Simulator impressed me. The interaction with Windows via CIFS makes the older version of files in snapshots available in Windows (I assume this is the Volume Shadow Copy feature of Windows), and the statistics available via DTrace in the web interface are also impressive. All this technology seems to be well integrated into an easy to use package for heterogeneous environments. If you would like to setup something like this by hand, you would need to have a lot of knowledge about a lot of stuff (and in the FreeBSD case, you would probably need to augment the kernel with additional DTrace probes to be able to get a similar granularity of the statistics), nothing a small company is willing to pay.
I know that I can get a lot of information with DTrace (from time to time I have some free cycles to extend the FreeBSD DTrace implementation with additional DTrace probes for the linuxulator), but what they did with DTrace in the OpenStorage software is great. If you try to do this at home yourself, you need some time to implement something like this (I do not think you can take the DTrace scripts and run them on FreeBSD, this will probably take some weeks until it works).
It is also the first time I see this new CIFS implementation from SUN in ZFS life in action. It looks well done. Integration with AD looks more easy than doing it by hand in Samba (at least from looking at the OpenStorage web interface). If we could get this in FreeBSD… it would rock!
The entire OpenStorage web interface looks usable. I think SUN has a product there which allows them to enter new markets. A product which they can sell to companies which did not buy something from SUN before (even Windows-only companies). I think even those Windows admins which never touch a command line interface (read: the low-level ones; not comparable at all with the really high-profile Windows admins of our client) could be able to get this up and running.
As it seems at the moment, our client will get a Sun Storage F5100 Flash Array for technology evaluation in the beginning of next year. Unfortunately the technology looks to easy to handle, so I assume I have to take care about more complex things when this machine arrives…
GD Star Rating
loading…
GD Star Rating
loading…
At work we decided to update our LDAP infrastructure. From SUN Directory Server 5.2 to 6.3(.1). The person doing this is: me.
We have some requirements for the applications we install, we want them in specific locations so that we are able to move them between servers more easily (no need to search all stuff in the entire system, just the generic location and some stuff in /etc needs to be taken care of… in the best case). SUN offers the DSEE 6.3.1 as a package or as a ZIP-distribution. I decided to download the ZIP-distribution, as this implies less stuff in non-conforming places.
The installation went OK. After the initial hurdles of searching the SMF manifest referenced in the docs (a command shall install it) but not finding them because the ZIP-distribution does not contain this functionality (I see no technical reason; I installed the manifest by hand), I had the new server up, the data imported, and a workstation configured to use this new server.
The next step was to setup a second server for multi-master replication. The docs for DSEE tell to use the web interface to configure the replication (this is preferred over the command line way). I am more a command line guy, but OK, if it is that much recommended, I decided to give it a try… and the web interface had to be installed anyway, so that the less command line affine people in our team can have a look in case it is needed.
The bad news, it was hard to get the webinterface up and running. In the package distribution all this is supposed to be very easy, but in the ZIP-distribution I stumbled over a lot of hurdles. The GUI had to be installed in the java application server by hand instead of the more automatic way when installed as a package. When following the installation procedure, the application server wants a password to start the web interface. The package version allows to register it in the solaris management interface, the ZIP-distribution does not (direct access to it works, off course). Adding a server to the directory server web interface does not work via the web interface, I had to register it on the command line. Once it is registered, not everything of the LDAP server is accessible, e.g. the error messages and similar. This may or may not be related to the fact that it is not very clear which programs/daemons/services have to run, for example do I need to use the cacaoadm of the system, or the one which comes with DSEE? In my tests it looks like they are different beasts independent from each other, but I did not try all possible combinations to see if this affects the behavior of the web interface or not.
All the problems may be documented in one or two of the DSEE documents, but at least in the installation document there is not enough documentation regarding all my questions. Seems I have to read a lot more documentation to get the web interface running… which is a shame, as the management interface which is supposed to make the administration more easy needs more documentation than the product it is supposed to manage.
Oh, yes, once I had both LDAP servers registered in the web interface, setting up the replication was very easy.
GD Star Rating
loading…
GD Star Rating
loading…