Posts

Nutanix CE : Using Rubrik for Backup

Image
Background

There we go, you have been able to deploy a Nutanix CE instance for your lab/testing environment. You would like to set some backups up ? You also have some Rubrik deployment and you would like to take benefit of this environment ? This is totally making sense but you cannot add your CE cluster because of the AOS version incompatibility ? There is a way to overcome this - at your own risks !

Nutanix : Physical move ?

Image
Background

Sometimes in the life of the datacenter, you need to move hardware from one location to another. Funny enough, we not always think that we need to move - especially when everything works (very) well. In the case of a Nutanix cluster, this could require some particular attention.

Rubrik : Get basic cluster details with rkFramework.php

Image
Background

A good example of using the rkFramework.php described in the previous article. This is showing how to call some functions to get some basic cluster info.

rkGetinfo.php

I have created this script to have a quick overview of a Rubrik cluster, version, nodes, IPs, SLAs, unmanaged object, cluster runway, last events etc ... very handy to quickly discover a new environment or simply check an existing one.

The script is available on GitHub. It requires two external files : the rkFramework.php (also available on GitHub) and a credentials.php file to point to the right cluster with the right access.

Once in action, you will see similar output :


Feel free to tweak the script as much as you love, so it fits your requirements.

Hope this helps!

Rubrik : Using Rubrik's APIs

Image
Background

One use case for Rubrik API is when you have a master SQL instance and a stand-by server that needs to be populated with the latest data set. The reason is when a disaster occurs, you want to start as quick as possible in DR mode to avoid service interruption and a too far recovery point objective (RPO). In this case, I thought automating recovery to a certain point in time on regular schedule could potentially do it. Rubrik do not support automated restore/export (yet). But, there is a way to do it by yourself

OpenIO : How to Flush a Bucket

Image
Background

When trying out OpenIO or when some unexpected event occurs on the platform, it may happen that you would like to flush a specific bucket from its content. I had the opportunity to very quickly fill-up my test platform with some outdated backup sets archived out of my Rubrik platform. It was not critical data and it was safe to flush them. But ok, how can we do this ?

Flushing a Bucket

This is not feasible out of the box and OpenIO support guided me through this process.

1) Get the exact name of the bucket you would like to flush

2) List all object in that bucket

3) Issue a delete command

2) and 3) can be done in a "piped" command so, you can automate the process which makes life easier (less safer?).

Getting the bucket name

openio --oio-ns OPENIO --oio-account AUTH_34698f84fb3541e1b35b8663f70a0842 container list
+--------------------------+-------------+-------+ | Name                     |       Bytes | Count | +--------------------------+-------------+-------+ | rub…

Change Software Language in Microsoft Office for OS X

Image
Background

I have my OS X default language set to French. It is fine, I can leave with it. But Office, I really prefer to have it in English. When installing Office 2016 for Mac, it automatically sets the program language to the OS language. Seems legit ! If you want to change it afterward, there is a workaround.

Raspberry Pi : WiFi Hotspot for the Garden!

Image
Background

It's been a while since I wanted to solve my WiFi issue outside of my house. When outside, you always need connectivity : checking mails, working from home, streaming music during parties with family and friends, ... there are a lot of use cases. But, how to solve this ? You can add multiple WiFi repeaters but this is not handy.

OpenIO : Add a New Volume to Existing Infrastructure

Image
Background

You are archiving (a lot), and soon, your archiving platform become full. How to solve this ? Following the below procedure, you will add an extra volume to the OpenIO platform and continue to archive, again and again.

Rubrik : Add OpenIO as an archival target

Image
Background

You have a Rubrik cluster which is becoming full and you are thinking at started archiving to off-load the appliance. There are few ways to archive from Rubrik. Once of them is by using object store. Object store became popular with Amazon S3. There are expansive solutions that provides out of the box object store and there is Open Source.

Nutanix : CVMs are running out of space (sic!)

Image
Background

Trying to upgrade to the latest AOS, NCC, Hypervisor .... but you are running out of space on your cluster and pre-checks are failing ? There is a fix !

Let's do some cleanup

Logs are taking a lot of space, same for temp files and old binaries. Those simple commands can be ran on each of the CVMs to save space :

nutanix@NTNX-15SM15xxxxxx-A-CVM:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       9.8G  5.2G  4.1G  56% /
devtmpfs         14G     0   14G   0% /dev
tmpfs            14G  4.0K   14G   1% /dev/shm
tmpfs            14G  696K   14G   1% /run
tmpfs            14G     0   14G   0% /sys/fs/cgroup
/dev/sda3        40G   23G   17G  59% /home
tmpfs           2.8G     0  2.8G   0% /run/user/1000
/dev/sdd1       917G  238G  670G  27% /home/nutanix/data/stargate-storage/disks/9XG843J5
/dev/sdc1       917G  248G  660G  28% /home/nutanix/data/stargate-storage/disks/9XG86131
/dev/sdb1       917G  249G  660G  28% /home/nutanix/data/stargate-storage/disks/9XG8619W
/d…