Pages

Search

Tuesday, January 10, 2017

Notes for Installing Rockstor 3.8 on VMware Workstation 12.5

I ran into a little hiccup on a new Rockstor 3.8 NAS setup today. After some quick searching on their support forum I ran across someone who was also using VMware Workstation 12.5 having the exact issue.

There appears to be a bug with this type of test environment where no UUID is assigned to any of the disks you add to your guest. To fix this you must edit the virtual machine's VMX file and add the following line to the end of the file:

disk.EnableUUID="true"

Once you do that, save the file and restart your NAS. You will now see the disks have been detected.


It is no joke either that their support forum is very responsive and helpful! Even with this minor issue, this still is the easiest and quickest NAS solution out there without spending a fortune. The update subscription service is also very reasonably priced and if I ever use this in production I will be signing up. 

My original report: https://forum.rockstor.com/t/cannot-add-disks-vmware-workstation-demo-environment/2662

Fix: https://forum.rockstor.com/t/error-running-a-command-cmd-sbin-btrfs-filesystem-show-dev-disk-by-id-sda3/2314

Thursday, January 5, 2017

PowerShell / PowerCLI Powered On / Off Report Using HTML & CSS

I recently was tasked with creating a report containing the current power state for all VM's in a vCenter environment. Using some recently obtained CSS knowledge and revisiting PowerShell HTML reports, I whipped this little gem up:



That's it. All you need to do is modify the PowerState to either:

  • PoweredOn
  • PoweredOff
and or point to another external CSS for formatting. I find it easier to use a URL between the single quotes. I modified the script to strip away any custom settings for my environment. 

Here's an example of the external CSS file I used (reportstyle.css) : 


With these you can create simple reports from vcenter data that look like this: