Posts

Showing posts from 2018

Nutanix : Cluster Details with Php

Image
Backgound

Provide a quick and dirty way to get basic cluster details in Php from the command line. That sound great. And indeed, very feasible make good use of REST API calls.




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, …

Nutanix CE : How to solve the NIC issue on Intel NUC G7

Image
Background

Nutanix CE edition is not able to find a suitable NIC on your brand new Intel NUC G7. Do not worry, there is a workaround. This is an issue with the driver version and the hardware embarked within the Intel NUC G7.

Turn a Raspberry Pi into a DLNA server

Image
Background

I recently bought myself an Apple TV. Absolutely amazing piece of design and technology but ... movies on the Apple Movies platform are (very) expansive. And what about my actual collection of video files ? There is no way to connect storage on the Apple TV. So, I needed to find a solution to play the movies files that I filmed with my camcorder on the Apple TV.
Actually, there is a way. The Apple TV AppStore is providing an app called InFuse. It allows you to play remote content. One of the supported protocol is DLNA. DLNA protocol is not new and usually well supported. It allows you to stream content over the network (local ideally to keep smooth broadcasting). You can find more details about DLNA here. For free, you can also use VLC for AppleTV. The user interface and functionalities are very light but if you don't need fancy menus and details about movies, this is a good start.

Disclaimer : this article is not encouraging piracy, you can perfectly generate video cont…

Nutanix : Cannot remove a Remote Site

Image
Background

Somehow, the latest version of Nutanix AOS (starting at v5.5) integrated a bug in the protection domains management. You cannot remove a remote site without getting this message :


They know about the error and they are going to release a fix in v5.5.1. But so far, we need to use a workaround to complete this action.

Nutanix CE : How to create clones from command line

Image
Background

Sometimes, you need to create multiple clones for a single gold image (template). This can be boring using the Prism Element UI if you have more than 10. Hopefully, there is a set of commands that can be initiated from the command line ACLI - Acropolis CLI. ACLI is rich in terms of action that can be done. Actually almost everything VM related can be done using ACLI. Here is how to create clones from a source VM.

Nutanix CE : How to change host name

Image
Background

When deploying a Nutanix CE host, the host name is always weird and random. Something like "NTNX-010422a0-A". This is not easy for maintenance - especially when you have more than one host. You probably would like to call it with the matching name of your real host like NUC-1, Host-1. This is not complex here is how.

Nutanix CE : How to reduce the CVM memory

Image
Background

Most of the time when deploying Nutanix CE, the hardware is limited because you need to save costs. Then, maximum RAM is limited - like in the Intel NUC who can only support up to 32 GB. By default, the CVM are configured with 16 GB RAM, therefore this is giving less RAM for creating VMs. If you are not using advanced features like dedup on the flight or erasure coding, you can decrease the CVM memory to 8 GB without any impact on the cluster. This is what this guide is all about.

My journey with Nutanix Community Edition

Image
Nutanix

You all heard about Nutanix right ? Nutanix is a software company who creates HyperConverged Infrastructure (HCI) solutions that enable easy IT in your datacenter and in the the cloud. More details on www.nutanix.com.
Beside the commercial product, there is a free edition called the Community Edition where tons of people contribute to the success of it. This freed edition works on very low end hardware such as Intel NUC or refurbished servers that may lay around in your datacenter stock (if they have the relevant VTDx CPU features enabled).