Skip to content

RVC

Manage VSAN 5.5 with RVC Part 3 – Object Management

Part 3 of the "Manage VSAN with RVC" series explains commands related to VSAN objects. This commands provide an insight on how VSAN works. You can identify the status of objects and where they are located:

  • vsan.disks_info
  • vsan.disks_stats
  • vsan.cmmds_find
  • vsan.vm_object_info
  • vsan.disk_object_info
  • vsan.object_info
  • vsan.object_reconfigure

vsan-cmmds-finds

Read More »Manage VSAN 5.5 with RVC Part 3 – Object Management

Manage VSAN 5.5 with RVC Part 2 – VSAN Cluster Administration

Part 2 of the "Manage VSAN with RVC" series explains commands related to VSAN cluster administration tasks. This commands are required to gather informations about ESXi hosts and the cluster itself. They also provide important informations when you want to maintain your VSAN cluster:

  • vsan.host_info
  • vsan.cluster_info
  • vsan.check_limits
  • vsan.whatif_host_failures
  • vsan.enter_maintenance_mode
  • vsan.resync_dashboard

vsan-resync-dashboard

Read More »Manage VSAN 5.5 with RVC Part 2 – VSAN Cluster Administration

Manage VSAN 5.5 with RVC Part 1 - Basic Configuration Tasks

The "Manage VSAN with RVC" series explains how to use Ruby vSphere Console command line to control your VSAN environment. The first part explains basic configuration tasks that are required for the initial setup:

  • vsan.enable_vsan_on_cluster
  • vsan.disable_vsan_on_cluster
  • vsan.apply_license_to_cluster
  • vsan.host_consume_disks
  • vsan.cluster_set_default_policy
  • vsan.host_wipe_vsan_disks

rvc-enable-vsan-on-cluster
Read More »Manage VSAN 5.5 with RVC Part 1 - Basic Configuration Tasks

SPBM RVC namespace - NoMethodError: undefined method 'RetrieveServiceContent'

The latest VSAN Beta Refresh includes a new Ruby vSphere Console (RVC) namespace to manage VM Storage Policies. The SPBM (Storage Policy Based Management) called namespaces does not work out of the box. It crashes when you want to query the available policies or check for compliance.

/localhost/Hamburg> spbm.check_compliance ~/vms/vma.virten.lab/
NoMethodError: undefined method `RetrieveServiceContent' for PbmServiceInstance("ServiceInstance"):RbVmomi::VIM::PbmServiceInstance

rvc-spbm-errorThis problem can be solved by updating RVC to the latest version.

Read More »SPBM RVC namespace - NoMethodError: undefined method 'RetrieveServiceContent'

Identify and solve ineligible disk problems in Virtual SAN

During VMware Virtual SAN (vSAN) installation on old reused hardware I noticed that there was no eligible data disk available. I can't claim the disks for vSAN or create a disk group. There was no further information on why the data disks are not eligible. Thanks to the vSAN troubleshooting commands provided by RVC (Ruby vSphere Console) I could find and solve the reason quite quick.

vsan-no-eligible-data-disk

Read More »Identify and solve ineligible disk problems in Virtual SAN

Getting Started with Ruby vSphere Console (RVC)

Ruby vSphere Console (RVC) - If you do not know what that is, you should definately give it a try. RVC is a Ruby based command line interface for vSphere and can be used to manage VMware ESXi and vCenter. Initially published as Fling, it grew into a fully implemented feature in vSphere 5.5. The vSphere inventory is presented in a tree structure, allowing you to navigate and run commands against vCenter objects. Many basic administrativ tasks can be done much more efficiently than clicking through the vSphere Client.

This guide covers some basic tasks and the procedure of how to use RVC with:

  • vCenter Server Appliance (VCSA)
  • Windows-based vCenter Server
  • vMA
  • Windows
  • Linux

Read More »Getting Started with Ruby vSphere Console (RVC)

Howto install Ruby vSphere Console (RVC) on vMA 5.x

With the release of vSphere 5.5, VMware supports a new command line utility: Ruby vSphere Console (RVC). RVC is a Ruby based interactive object oriented command line utility. It was initially released as a Fling some years ago. RVC has support for both, the Windows version of vCenter Server and the vCenter Server Appliance (VCSA). It is similar to other command line tools like PowerCLI or ESXCLI and can be used to manage and troubleshoot vSphere environments. In this post I am going to show how to install RVC on the vSphere Management Assistant (vMA).

rvc

Read More »Howto install Ruby vSphere Console (RVC) on vMA 5.x