Posts

Showing posts from March, 2018

Nutanix : REST API Calls Examples

Image
Background

Nutanix platform can be queried out by external application to read/write information to/from the cluster. This can be very handy to connect Nutanix with the external world. This is how Nutanix technology partners are inter-acting with the platform. Example, a platform like Rubrik is making good use of those APIs to perform backups. on the other side, this is how Nutanix instruct vmware to create VMs ...

I've decided to implement a small script to get access to some cluster details and then create a little dashboard in my own flavour. You can consider this as a technology demonstrator.

Rubrik : Reset a Brik to Factory Defaults

Image
Background

You have completed tests with your new brik and you would like to reset everything to defaults. This is possible with one command : reset. It has some requirements in order to move on. You need to understand what will be reset and what won't.

Rubrik : Multi-tenancy Has Arrived !

Image
Background

What if your sub-team can manage their backup/restore jobs by themselves ? What if they can configure SLAs for their applications ? They restore job directly without requesting this action to the backup administrators ? A dream ? Probably a reality as well !

Linux : IPSec and VPNC

Image
Background

Sometimes, you have to connect to old IPSec VPN sites. But unfortunately, latest modern Linux distributions are dropping connectivity after around 24 minutes without any valid understandable reason. It was the case for me with Fedora 25. I've made some researches all over the web without finding a solution until ...

Mac OS X : Create stunning prompt!

Image
Background

Most of the time, command line prompt in terminal are boring and not very helpful. The default prompt on Mac OS looks like "$" or "#". I would like to have some more information and add more visibility.

After a few tweaks and researches, my actual prompt looks like this :

Mac OS X : Display images in-line with terminal

Image
Backgound

This time, this is a MacOS tip ! You have a list of files in the terminal window in front of you, some are pictures, some are texts. For text files, this is easy to quickly issue a "more" or "cat" so you immediately figure out what it is. For a picture, this is another story, you need an image viewer. Whatever the speed and simplicity of this editor, you need to load a 3rd party application and switch to it, this is not very handy. What if you could see this image directly from the terminal ? 

Rubrik : Deployment from scratch

Image
Background

You did it ! The brand new Rubrik appliance has been delivered today and you are very euphoric and cannot wait to have it working ! I know I know, we all been there ;) So, time for some great datacenter work ! But where to start ? Check below.

Rubrik : How to add Nutanix Cluster

Image
Background

Rubrik can connect to Nutanix clusters running AHV since August 2017. This is a perfect fit mixing simplicity and efficiency from both worlds. To have secured communications between the two platforms, there are some mandatory steps that needs to be done.

Rubrik : How to upgrade a brik

Image
Background

You just got your new set of brik's and you would like to upgrade to the latest version of the Rubrik software ? As today, there is not 1-click upgrade yet, but there are some steps that can be easily done by any IT guy. Don't look too much, they are all described here.

Raspberry : Boots in Emergency Mode

Image
Background

Your Raspberry Pi is booting in emergency mode complaining about a device that needs to be checked. Then after a while, you are getting into emergency mode.


Of course, your root password does not work because by default root login is disabled on Raspbian or because you simple do not have the right keyboard layout and so on and so on....

Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode. Give root password for maintenance (or type Control-D to continue):
DON'T PANIC ! Keep calm and read this post

How to fix it

It took me a while to understand the exact meaning of this message. Actually dev-sda1.device is not related to the Pi itself but to my external hard drive. The one I plugged-in in this post. I have added the drive in my /etc/fstab to have it available at boot time. If any of the devices in fstab cannot be found, …