February 12, 2013

Solaris 11: Installing MySQL

Recently I have been spending some time learning about database technologies (Oracle Databases at Keste as well as MySQL on my own).  Part of this I have decided to carry over into my existing work with Solaris, and go through the installation process using the Image Packaging System which is in Solaris.  Now really the IPS does all the heavy lifting for us, but we […]
February 11, 2013

MySQL: Describe All Tables

In MySQL if you want to find out what columns are in a given table, you can describe the table and it will show you the columns and the data types associated with that column.  However if you need to do this for a large number of tables, it can get a bit repetitive. Connect to MySQL Show the Available Databases Use the TST Database […]
February 6, 2013

OVMCLI: Standardize the Naming of Virtual Disks

Today we are going over a script I wrote to utilize the ovmcli to rename all virtual disks to follow a understandable standard, in this case we will take the vmname and append a disk identifier to it.  The first disk (slot 0) will be appended with “_system.img” with all subsequent being appended with “_dataX.img” where X is the slot number.  This is a pretty […]
February 4, 2013

OVMCLI: Standardize the Case of VM Names

So I have been working with the OVM CLI lately to try and fill in some holes in my knowledge and provide for some easily reproducible procedures, usually around consistency of the environment when performing frequent tear downs and upgrades.  So expect to see more OVM related scripts going forward. Today we are going over a fairly simple script.  I like to use all lower […]
January 31, 2013

Sudo: Setting Up Intelligent Security Policies Part Two

In Part One we went over the basics of sudo, what it is, why we use it, and how it is used properly.  In this article we are going to take it a step further and look at specific use cases for sudo.  The key thing to remember though, is that you have two ways you can use sudo, 1) to allow for program execution […]
January 30, 2013

Sudo: Setting Up Intelligent Security Policies Part One

What is Sudo? Prior to sudo whenever you wanted to run a command as a specific user then you would su (switch user) to gain access to a shell for that user.  This of course required that you knew the password for that user, and it would spawn a new shell after successful authentication.  The major drawback to this was that in order to allow […]
January 29, 2013

Oracle VM 3: Enable Key Based Authentication to OVM CLI

I have been spending some time learning the OVM 3 CLI since it was released in the earlier 3.x versions, however the biggest roadblock for me has always been that they only allow access via SSH on port 10000.  However now I know how to enable key based authentication for these connections opening this up for a much more robust scripting experience. Connect to OVM […]
January 28, 2013

Oracle VM 3: Orphaned VMs

One of my biggest complaints about Oracle VM 3 is that everything is abstracted at every level.  A VM name is simply meta data stored in a database (kind of) while everywhere that it matters the VM only exists as a UUID, lets look at some examples. The Way It Is From the hypervisor if we use native Xen commands to look at all of […]
January 25, 2013

Shore Up New Jersey: Hurricane Sandy Relief Efforts

I wanted to take a few minutes and let all of you know about an organization I had the pleasure and honor of working with recently.  I have worked with similar organizations previously however there was something truly special about this organization.  This organization was Heavenly Driven Disaster Relief website here. About HDDR Basically HDDR is a non-profit organization which want to help people afflicted […]
January 16, 2013

Windows 7: The Never Ending Printer

The past couple of weeks I have been dealing with a fairly aggravating issue at home.  My wife has a Windows 7 laptop which for some reason started printing everything repeatedly (repeatedly being defined as forever and ever until the bottom of the paper tray was found).  Our printer in particular is a HP Laserjet 1022n which is connected to the network, and my wife’s […]
January 15, 2013

Solaris 11: Using Crashplan for Cloud Backups

I personally use Crashplan for my cloud based backups (I have for over a year).  I use them because they are one of a few (to be honest the only one) who actually have Solaris installers.  The one downside of this is that they do not start the CrashPlanEngine by default (as a service).  However when using the Service Management Framework in Solaris this is […]
January 14, 2013

Solaris 11: Defining A Service Using Svcbundle and the SMF

Lately I have been going through an exercise of migrating all of my current services into Solaris 11 (more specifically a zone).  I have already been using similar technology on the Linux side, I use OpenVZ with a mix of Linux distributions.  However I would like to take advantage of ZFS and get a little more simplicity in management. One of the most important hurdles […]
November 19, 2012

Google Galaxy Nexus: Android 4.2 Over The Air Update

The Problem I own both a Google Galaxy Nexus (the phone) and a Google Nexus 7 (the tablet). Both of these devices have served me well in the time I had them. Until the Over-the-Air update for Android 4.2 on my Galaxy Nexus. This really ruined my day. Basically the long and short of it is that the battery took a nose dive after installing […]
October 24, 2012

Linux KVM: Ubuntu 12.10 with Openvswitch

Today I am revisiting my previous post on Openvswitch on Ubuntu 12.04.  Things have changed since then.  Previously Openvswitch was relatively new and as such the userland tools (with libvirt being the one I use) didn’t support it yet, so while you could have used Openvswitch by executing the kvm processes for each VM manually.  Since this was a predictable problem the Openvswitch guys created […]
October 23, 2012

Windows Server 2012: Storage Pooling

Windows Server 2012 includes a new storage model.  It follows in the footsteps of ZFS and btrfs, in that it uses a pooled disk model, and attempts to combine all of the functionality of RAID, LVM, and the file system.  Now this looks like a 1.0 from the perspective of integration, however I am quite impressed by the implementation from the usability perspective.  While it […]
October 22, 2012

Windows Server 2012: NIC Teaming

I don’t tend to use a lot of Windows in recent years, but if you look at my past articles I used to do quite a bit around Hyper-V, DFS, Exchange, and various other Windows Services.  One thing that was always frustrating is the inconsistent experience around NIC teaming.  Basically Teaming allows you to gain throughput and resiliency by having multiple physical NICs listen over […]
August 20, 2012

Linux-LVM: Resize Partition to Grow LVM Volume Group

Logical Volume Manager makes the dynamic expansion of file systems dead stupid simple.  However there is a weakness, if you are using a partitioned file system as your Physical Volume (PV) then you will end up needing to expand the file system if you ever need to grow the actual storage.  This can be avoided by using the actual physical device /dev/sda as the PV, […]
August 8, 2012

Solaris Virtualization: Using Logical Domains on Solaris 11 Part Three

In our previous articles we built the foundation of our Logical Domains environment, which then enabled us to create a Logical Domain in part two.  Now in the final article in this series we will be connecting to and performing the installation of the operating system. Solaris Virtualization: Using Logical Domains on Solaris 11 Part One Solaris Virtualization: Using Logical Domains on Solaris 11 Part […]
August 7, 2012

Solaris Virtualization: Using Logical Domains on Solaris 11 Part Two

In our previous article we went through the process of preparing a Solaris 11 for SPARC machine as a Logical Domain hypervisor.  Now that we have laid out our foundation we are ready to create some Logical Domains. Solaris Virtualization: Using Logical Domains on Solaris 11 Part One Create the Logical Domain Configure Devices We will need to add devices to our newly created domain.  […]
August 6, 2012

Solaris Virtualization: Using Logical Domains on Solaris 11 Part One

Solaris 11 for SPARC, as well as previous versions of Solaris, include a neat little technology called Logical Domains (which has been rebranded as Oracle VM for SPARC).  Logical Domains are implemented in the SPARC processor. This series is going to focus on the basic administration of a Logical Domains environment using the basic command line tools of the Solaris 11 Operating System.  In Part […]
August 2, 2012

Bash: Automatically Mount File Systems on Volume Group if Present

Update 09/16/2015 – I have published an updated article for this here: http://blog.allanglesit.com/2012/08/bash-automatically-mount-file-systems-on-volume-group-if-present/ In my laptop I have a solid state disk, and frankly I am way past addicted to solid state disks, but what you get in performance you lose in capacity.  As such I have had to be creative with how I can have the capacity and the performance that I need.  Lately the […]
August 1, 2012

Solaris 11 on SPARC: What the Piss is the OK Prompt

I have finally got my hands on some SPARC gear, and I am making use of it by documenting the crap out of it.  So after I got the ILOM situation sorted out I noticed that the OS itself wasn’t starting up, and I was just ending up at a prompt that looks like this. This is the OK Prompt, some systems will display ok> […]
July 31, 2012

Solaris 11: Permit Root Logins Locally and via SSH

In Solaris 11, a secondary user is created as part of the installation process, the text installation allows you to bypass this, but even if you do you will be unable to login as root to perform any configurations, even though you set the password as part of the setup.  Now if you went through this in the installation, you can salvage your installation by […]
June 11, 2012

Linux-KVM: Using KVM on Oracle Linux 6

In my new role I am using Oracle Linux more and more, so as an exercise I have been replicating my builds on Oracle Linux.  Here we are going to use Oracle Linux 6.2 x86_64 as a KVM hypervisor.  Keep in mind that KVM is not Oracle’s preferred hypervisor, however it is supported, but if you plan on taking advantage of the reduced software licensing […]

Signup for our blog

+1 (844) 368-2747