Tag Archives: RVC

Manage Virtual SAN 5.5 with RVC - Complete Guide

This is a comprehensive guide to manage your VMware Virtual SAN with the Ruby vSphere Console. RVC is an interactive command line tool to control your platform. If you are new to RVC, make sure to read the Getting Started with Ruby vSphere Console Guide. All commands are from the latest vSphere 5.5 Update2 release.

Read more »

vSphere Mobile Watchlist - VM Administration for Andorid and iOS

VMware has just published a new App for Andorid and iOS: vSphere Mobile Watchlist. The App which has been announced at the last VMware Partner Exchange 2014 allows to monitor your virtual machines in your vSphere infrastructure remotely on your phone. I've tested the app on my HTC One to see how powerful it is.

Screenshot_2014-02-05-21-48-10

Read more »

Manage VSAN with RVC Part 5 – Observer

Part 5, the last part, of the "Manage VSAN with RVC" series covers only one command: VSAN Observer. Observer is a powerful command that gathers performance related metrics down to the physical disks. Statistics can be exported in JSON, saved as HTML or directly viewed from a web browser.

  • vsan.observer

vsan Read more »

Manage VSAN with RVC Part 4 – Troubleshooting

Part 4 of the "Manage VSAN with RVC" series covers commands that are useful to troubleshoot VSAN configurations. The commands can measures performance metrics and fix configuration issues:

  • vsan.obj_status_report
  • vsan.check_state
  • vsan.fix_renamed_vms
  • vsan.reapply_vsan_vmknic_config
  • vsan.vm_perf_stats

vsan-performance-stats

Read more »

Manage VSAN 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 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 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 »

Ruby vSphere Console Namespace Diagram

Ruby vSphere Console (RVC) is a new interactive object oriented command line utility. The vSphere inventory is presented as a tree structure. It is a new tool allowing you to do basic administrative tasks more efficiently. To get an overview I've created a diagram containing all namespaces. I hope it can help you to get an overview of the command tree.

ruby-vsphere-console-rvc-namespaces

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 »

Identify and solve ineligible disk problems in Virtual SAN

During VMware Virtual SAN (vSAN) installation on old reused hardware I noticed that there were no eligible data disk available. I can't claim the disks for vSAN or create a disk group. There were no further information 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 »