Delete Folder on Isilon From Command Line

With the Isilon you can do most of your daily work with the GUI.  Sometimes you need to go down to the command line to do the things you don’t normally have to do.  Recently with a file migration I had some issues, and had trouble deleting the directory.  To fix this issue I had to run this command.


isi job start treedelete –path=<PATH TO DIRECTORY FOR DELETION>

isi job status

Find Block Size with vscsiStats and Other Storage Statistics.

Ever wonder what block sizes your VM’s are using for writing and reading to disk?  I always have and I recently found a way to get this information out of the ESXi hypervisor.  You can also get a lot of other data such as random and sequential writes, latency, and a few other items.

  1.  Connect to the host with SSH.
  2. Enter the command “vsciStats -l” This will list all the VM’s on that host and its disk.
  3. vsciStats -s will start that stats collection.  You can pair this down by using the -w for the world group id and -i for handle id.
  4. vsciStats -p ioLength -w 123456 would display the block sizes for that particular VM and drives.
  5. -h will give you a list of all the possible variables to use.

Set NTP on all host in vCenter

Here is a Powershell script that will set NTP on all the ESX host connected to your vCenter.

First connect to the vCenter using Connect-VIserver then run the following code.


#Get Host
write-host “Gathering ESX Host”
$esx = get-vmhost

#Configure NTP server
write-host “configuring NTP”
Add-VmHostNtpServer -VMHost $esx -NtpServer

#Allow NTP queries outbound through the firewall
wrtie-host “Setting Firewall Permissions”
Get-VMHostFirewallException -VMHost $esx | where {$_.Name -eq “NTP client”} | Set-VMHostFirewallException -Enabled:$true

#Start NTP client service and set to automatic
write-host “Starting NTP service”
Get-VmHostService -VMHost $esx | Where-Object {$_.key -eq “ntpd”} | Start-VMHostService
Get-VmHostService -VMHost $esx | Where-Object {$_.key -eq “ntpd”} | Set-VMHostService -policy “automatic”


Create Storage on Pure

In this post I am going to explain the creation of a storage volume on a Pure Storage array.  It has great and easy to use interface that utilizes HTML5.  I have worked with a few different storage arrays and it is by far the simplest to use.

  1.  When you first login to the Pure Storage array you will be greeted with a screen similar to this.first screen.PNG
  2. Now click on Storage and you will be greeted with a screen covering the Hosts and Volumes.  In this screen you will see all the host you have provisioned, and details on the storage usage.

    3. Click on the + sign to setup the host on the array and select host.  Enter a name and hit create.  Now your host is created and its time to enter the WWN.create host4.  Now if you are running vCenter Cody Hosterman has a great Powershell script that will import all your Host and WWN for you.  If not here is were we enter the WWN.  Click on Host Ports and then click the  gear on the right side, and select configure WWN.  From here if you already zoned in the storage you will see your WWN; if not you can go ahead and enter them manually.wwn5. Now that your Host is created and zoned in its time to create the Volume and connect it to the host.  Click Volumes + sign at the bottom left and the screen, and enter the size Volume you want.  volume

6. Now click on your host and click the gear and choose Connect Volumes.  finish

Now your Volume is ready to go.  Its a fairly simple and straight forward process.

In future posts I plan on covering the setting up snapshots and replication.  I will also cover the same information on EMC XtremIO. Thanks for reading and look for the next post coming soon.

VMworld US Content Catalog is now live!

VMworld US Content Catalog is now live! Schedule Builder launches July 19th

VMworld US Content Catalog is now live!

The 2016 Content Catalog allows registered and prospective VMworld attendees access to the VMworld agenda, with the ability to peruse breakouts and note sessions of interest. You can search and filter to your heart’s content by track, category, session format, industry, role, technical level, speaker name, location (US or Europe), and keyword search. You cannot schedule sessions in the catalog.

VMware Social Media Advocacy