Posts

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…

Nutanix : Remove Prism Central registration

Image
Background

You have removed your Prism Central VM and your cluster still shows a registered but disconnected status. You would like to unregister the cluster with a "force" status and start again with a new Prism Central deployment. Yes, this is possible, this is documented but for some reason it does not work.
There is a KB on the Nutanix portal (https://portal.nutanix.com/#/page/kbs/details?targetId=kA00e000000XeZjCAK) but it does not work/apply to your case. I miss read it and here is the solution !

Linux : Easily get any system details

Image
Background

Sometimes, when writing scripts or when troubleshooting a problem on a Linux platform you are struggling to remember how to get the number of cores, the current IP address, the kernel version, available space, ... All those settings are present somewhere in the system. Remember, with Linux, everything is file based. There is a way to easily get those details with one single command. Please continue reading !

Rubrik : Windows 2003 and SMB shares problem

Image
Background

You still have old physical Windows 2003 servers that you want to migrate to new VMs but before doing that a full backup is a must. You tried to deploy the Rubrik backup agent on it but dam, this is not supported since only exists on 64 bits binaries. What to do ? There is another option : making good use of NAS shares. Problem : you cannot add the share on the Rubrik side, it seem to hang somewhere. I have the solution

Linux : Cisco SSL VPN

Image
Background

Your network administrator provides you with some Cisco AnyConnect SSL VPN configuration that works great with WIndows and Mac OS but of course, nobody cares about Linux and you are a proud Linux Fedora 27 user - yeah! But how to access to company resources while on the go ? Read below