July 7, 2014

Install MySQL Server Community Edition on Fedora 20

Today we are going to go through the process of installing MySQL Server Community Edition on Fedora 20.  You could of course simply use MariaDB, but this will focus on the Community Edition. Install the MySQL Repository We will need to install the MySQL Community Repository, the MySQL project hosts an RPM file with the repository.  First lets look at the repositories that I have […]
July 1, 2014

Adventures in ZFS: Destroy A Zpool Without Importing

Recently I ran into an issue where I had a zpool that wasn’t imported in a system, and I was unable to import it due to zpool version incompatibilities.  This can happen if you are going to a older revision of Solaris or if you are crossing platforms between ZFS and OpenZFS.  This posed an interesting problem for me, as how do I destroy a […]
June 30, 2014

Adventures in ZFS: Rename a Zpool

Renaming a zpool is not as intuitive as I would expect, but it is still pretty simple.  We accomplish this through a three step process, export the zpool, import the zpool (using a new name), validate our mountpoints are how we want them (probably using the new zpool name). Now why might I want to rename it?  That is simple, perhaps it is simply for […]
June 25, 2014

BIND 9: Configure Slave Zones

Today we are going over one of the fundamental aspects of administering a DNS infrastructure, that is maintaining consistency across multiple replicas.  The simplest method of accomplishing this is to have a master/slave relationship.  Essentially you have a read-write (master) copy and a read-only (slave) copy of the zone.  The slave looks to the master for information on changes. Basic BIND Configuration Here we are […]
June 19, 2014

Codespaces.com and DevOps: Why We Should Care

Generally on this blog I tend to be far more technologist than pundit, in that I normally don’t write about something unless it has to do with doing something interesting technically.  However in this case I think a bit of talk about what happened and why might be in order for the architecture minded out there. What Happened? Let me first start by saying that […]
June 16, 2014

Solaris 11: Install Bind Server

Today I am going to document the process of install BIND in Solaris 11.  I am using a Solaris 11.1 zone for this task, though nothing in this is specific to zones, and it should work on previous versions of Solaris 11.  I have done this quite a few times and it is not a very intuitive process.  As of the time of this writing […]
May 19, 2014

Solaris Networking: Datalink Multipathing Protocol

In this article we are going to go over Datalink Multipathing Protocol (DLMP) available in Solaris.  DLMP is similar to IPMP, however there are some key differences, the biggest being the layer at which it operates.  DLMP operates at the datalink layer of the OSI model, while IPMP operates at the network layer.  Due to the differences in those layers DLMP opens up a lot […]
May 15, 2014

Solaris SMF: Define File Dependency

One of the biggest benefits of migrating to the Service Management Framework is that we can introduce dependencies to a services, these dependencies can be other services which is very valuable, however they can also be file based.  This can be used in a number of ways, say for example you have some application trees that live on some NFS mounts, in the event that […]
May 14, 2014

Solaris SMF: Define Service Execution User

Frequently we want a service to execute as a non-root user, this is pretty trivial in the context of the Service Management Facility in Solaris.  This article will go over exactly what goes into that.  The one complexity around that is the environment, if you have environment variables that the user will depend on those, they will need to be setup inside of the SMF.  […]
May 13, 2014

Solaris SMF: Delegate Service Control

In many of the environments that I deliver to a client we have a concept of an “environment account” this account is the credential set that the environment runs as.  Over time and the maturation of the Service Management Facility (SMF) we have been able to simplify this offering and increase its capabilities.  Today we are going to talk about allowing the environment user to […]
September 24, 2013

ZFS: Send and Receive

ZFS gives us the ability to move data with ZFS send and receive.  This can be used to combine snapshots, create full or incremental backups, or replicate data between servers on your LAN or even over the WAN. Local Backup with Send This is very simple, simply perform a send of a snapshot then output it to the file, I have complicated it a bit […]
September 23, 2013

Adventures in ZFS: Solaris 11.1 Share Properties

In Solaris 11.1 Oracle decided to change the way that they stored filesystem share information.  I personally loved the change, but that was without understanding what the change really was.  For more information on how to enable NFS exports see my previous article here. Setup Our Environment Everything we are doing will be on some test file systems, with no data.  So lets put everything […]
September 10, 2013

Solaris Networking: IP Multipathing Protocol

In this article we are going to go over some basics of using IPMP in Solaris.  We will discuss this on the latest versions of Solaris 10 and 11 on the SPARC platform, these instructions should also work on the x86 platform, but will be dependent on the listed version numbers, as the networking stack has changed alot of the past few minor versions of […]
September 9, 2013

Adventures in ZFS: NFS Exports on Solaris 10 and 11

So with ZFS you really have two ways of configuring your NFS exports, you can do it the old fashioned way (read: /etc/dfs/dfstab and share command).  Or the super-duper easy method…  Use ZFS metadata, and allow ZFS to configure the export for you.  The reason why you might choose this approach is simple, if you don’t want to have to worry about configs, and especially […]
August 27, 2013

Keste is Hiring

Generally I don’t use my blog as a platform to find potential applicants for my employer, however at this point we are looking very seriously at some new candidates to fill out our Systems Team. This is a job that is very much “Systems” focused.  At Keste we define Systems as everything from the hardware up to the applications, this includes but is not limited […]
July 16, 2013

Powerconnect: Configure Link Aggregation Groups

Today we will be configuring LACP to interconnect some switch stacks as part of a network upgrade.  Please keep in mind that part of configuring the LAG will result in the ports losing connectivity, so while it is not necessary to use a console cable, please keep in mind how you are connecting to the switch and if you will interrupt that connection by any […]
July 15, 2013

Fedora 18: Noticing Clock Skew?

Recently I noticed that my clock was beginning to skew, and NTP wasn’t able to keep up with it.  This is due to having a “system clock” and a “hardware clock” the system clock is the one that the OS controls, while the hardware clock is controlled by the BIOS and runs on the hardware.  So all I did to resolve it was sync up […]
July 10, 2013

Dell Powerconnect 3500: Enable SSH and Disable Telnet

Most modern switches include the ability to use SSH as a remote communications protocol.  Here we will enable that functionality and disable telnet on the Dell Powerconnect 3548 switches. Enable SSH In order to enable SSH we need to generate the keys which will be used by SSH to encrypt the traffic. Disable Telnet Depending on your config you might not need to disable this, […]
July 9, 2013

Dell Powerconnect 5500: Enable SSH and Disable Telnet

Most modern switches include the ability to use SSH as a remote communications protocol.  Here we will enable that functionality and disable telnet on the Dell Powerconnect 5548 switches. Enable SSH In order to enable SSH we need to generate the keys which will be used by SSH to encrypt the traffic. Disable Telnet Depending on your config you might not need to disable this, […]
July 8, 2013

Dell Powerconnect 6200: Enable SSH and Disable Telnet

Most modern switches include the ability to use SSH as a remote communications protocol.  Here we will enable that functionality and disable telnet on the Dell Powerconnect 6248 switches. Enable SSH In order to enable SSH we need to generate the keys which will be used by SSH to encrypt the traffic. Disable Telnet Depending on your config you might not need to disable this, […]
June 17, 2013

Media Management: Rename JPG Images Based on Metadata

I have been doing a bit of cleanup around my home file server, and have noticed that while I have a really beautiful collections of family photographs there is no logical organization around these photos.  I have many duplicates names, which would collide in the event of trying to merge multiple directories, and even worse I have many duplicate copies of pictures from various uploads […]
June 3, 2013

Adventures in ZFS: Deletion of a Recursive Snapshot Set

Quite often I will find it necessary to create a recursive snapshot over a large number of ZFS file systems.  In this case, I find that frequently have little long term need for them, and need a quick and easy way of disposing of the snapshots created without spending large amounts of time manually deleting all of the snapshots. Creating Some Snapshots Here we will […]
March 4, 2013

Oracle Linux 6: Create an OCFS2 Cluster and Filesystem

Today we are going to go through the process of creating a clustered file system on a pair of Oracle Linux 6.3 nodes.  This exercise is not very resource intensive.  I am using two VMs each with 1GB of RAM a single CPU and a shared virtual disk file in addition to the OS drivers. The Basic Concepts Now why is a clustered file system […]
February 13, 2013

Oracle VM 3: Connecting to MySQL Backend

Starting in Oracle VM 3.2.1 the built in database of the Oracle VM Manager was MySQL.  I had hoped that this change would also signal a change in the database schema.  In prior versions of OVM 3.x all data was populated in the database in a completely useless longblob form. As we can see it is attempting and failing to use /var/lib/mysql/mysql.sock as the connection.  […]

Signup for our blog

+1 (844) 368-2747