Randomly Expressed


Welcome to my blog “randomly expressed”. I created this website to publish helpful tips. It’s mainly technology driven, but I will blog about other topics. I am a Unix sysadmin that is always looking to learn new things. My goal is to be able to share knowledge that others may find useful. xkcd.com

Continue Reading »


Connect With US

Connect with us on the following social networking sites.

Most Popular Posts.

Add Some Content to This Area

You should either deactivate this panel on the Theme Settings page, or add some content via the Widgets page in your WordPress dashboard.

AWS EC2 describe-instance

By on October 12, 2019 in Technology with No Comments

To get a list of all the EBS volumes IDs and device names for your EC2 instance run the following. I obfuscated the instance ID and volume ID in my example.

Continue Reading »

Ansible Windows DataDog agent install

By on December 2, 2018 in Technology with No Comments

The following is a Ansible Windows playbook that will download the latest version of the Data Dog agent and install it. It will also add data dog tags to the Window’s server. If you have lots of Windows servers to manage Ansible can help out with that. Ansible Windows modules documentation — – name: DataDog […]

Continue Reading »

AWX tower-cli playbook with extra variables

By on October 25, 2018 in Technology with No Comments

Ansible Tower or the open source version AWX is a great addition for those of you using Ansible playbooks. One of the the many features is the ability to run playbooks via an API. I am going to go over an example on how to run a playbook using the tower-cli utility. The preferred way […]

Continue Reading »

Ansible engine 2.7.0 features

By on October 10, 2018 in Technology with No Comments

Ansible Engine 2.7.0 was released on October 3rd 2018. It features improved stability, speed and performance. Changes to support newer versions of Python: Support for running Ansible Engine with Python 2.6 has been removed. Management of systems with Python 2.6 installed is still possible, though the system Ansible Engine is running from must have Python […]

Continue Reading »

MAC OSX NFS automount

By on September 27, 2018 in Technology with No Comments

Run the following command to become root user. sudo su – Run the following commands to create the mount file and set the permission. touch /etc/auto_nfs;chmod 644 /etc/auto_nfs Add the following line to the file you just created /etc/auto_nfs echo “/data -fstype=nfs,noowners,nolockd,noresvport,hard,bg,intr,rw,tcp,nfc nfs://nfs01.lax.aofl.com:/nfs/data/fastlane” >> /etc/auto_nfs Run the following command to add the auto_nfs settings to […]

Continue Reading »

Mounting a NetApp snapshot

By on September 27, 2018 in Technology with No Comments

Snapshot copies enable system administrators to perform the following tasks: Create instantaneous backups Create a clone of a FlexVol volume Create a clone of a Data ONTAP LUN When the time comes and you need to mount a snap shot to recover a lost file then you will need to perform the following steps from […]

Continue Reading »

rescan-scsi-bus doesn’t find new disk

By on September 27, 2018 in Technology with No Comments

rescan-scsi-bus.sh is a program that is used to rescan the SCSI bus using the SCSI add-single-device feature of the Linux SCSI layer. You can install it via apt-get install scsitools on Ubuntu. If you need to add a disk and want to rescan the scsi bus so it sees the new drive this shell script […]

Continue Reading »

ONTAP 9 system node migrate-root fails

By on September 22, 2018 in Storage, Technology with 2 Comments

The system node migrate-root command available only on ONTAP 9 or later, migrates the root aggregate of a node to a different set of disks non disruptively. The command starts a job that backs up the node configuration, creates a new aggregate, set it as new root aggregate, restores the node configuration and restores the […]

Continue Reading »

elastic search unassigned shards

By on November 22, 2017 in Technology with No Comments

We are running an ELK stack for log collection and analysis. The Logstash and Kibana stack run on an EC2 instance. The Elastic Search is run on AWS’s elastic search service. This gives us the ability to scale the ES cluster when needed in an easy manner. Our AWS Elastic Search cluster changed to a […]

Continue Reading »

Install Open Shift Origin via Ansible

By on August 19, 2017 in Technology with 1 Comment

OpenShift is a computer software product from Red Hat for container-based software deployment and management. In concrete terms, it is a supported distribution of Kubernetes using Docker containers and DevOps tools for accelerated application development. OpenShift Origin provides “Platform-as-a-Service” or “PaaS”. It provides the necessary parts to quickly deploy and run a LAMP application: the […]

Continue Reading »