VMWare – epm.jonhwilliams.com http://epm.jonhwilliams.com i build custom EPM systems that work Thu, 18 Apr 2013 16:48:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 the disk is offline because of policy set by an administrator http://epm.jonhwilliams.com/the-disk-is-offline-because-of-policy/ http://epm.jonhwilliams.com/the-disk-is-offline-because-of-policy/#respond Thu, 18 Apr 2013 16:48:14 +0000 http://epm.jonhwilliams.com/?p=159 SAN SAN Policy : Offline Shared If “Offline Shared”, right-click the word “offline” […]]]> setting a vmdk to online and initializing

A new disk (vmdk) added to Windows Server 2008 R2 shows “unallocated” and “Offline” in Disk Management.

steps

Prerequisite: Administrator or Domain Administrator
Begin by checking value of default SAN policy in CMD:
diskpart.exe
DISKPART> SAN
SAN Policy : Offline Shared

If “Offline Shared”, right-click the word “offline” for the specific disk, in the Disk Management interface. Select “Online” and then initialize the disk as on a physical server.

description

Typical steps in building a virtualized EPM environment on Windows Server 2008 R2 on VMWare ESXi 5 includes adding disks. Some examples are:

  • Moving the AD domain database and its log locations off C:\
  • Creating a separate disk from the OS for the EPM system installation

By default the new vmdk will be set to “offline” making it inaccessible.
See the external link below for more detail, or open Disk Management diskmgmt.msc and follow the steps above.

external links

Additional thanks for the post: by @sysadm2010.


]]>
http://epm.jonhwilliams.com/the-disk-is-offline-because-of-policy/feed/ 0
maintenance mode from the command line http://epm.jonhwilliams.com/maintenance-mode-from-the-command-line/ http://epm.jonhwilliams.com/maintenance-mode-from-the-command-line/#respond Tue, 01 Jan 2013 18:24:59 +0000 http://epm.jonhwilliams.com/?p=91 ssh control of maintenance mode on ESXi 5 host

Change state of maintenance mode on ESXi host via command line from Linux using ssh into the ESXi host.

steps

Prerequisite: SSH enabled to eSXi host
Begin by checking value of inMaintenancemode of VMWare ESXi host
vim-cmd hostsvc/hostsummary | grep -i maintenance
If true, exit maintenance mode with:
vim-cmd /hostsvc/maintenance_mode_exit
Enter maintenance mode with:
vim-cmd /hostsvc/maintenance_mode_enter

description

Typical access to VMWare ESXi 5 is through the vSphere Client, but for routine management from a Linux environment, other options are available. One might Download the Linux Installer (tar.gz) as the download is available for license. One might enable SSH into the ESXi host, then search Google for
ssh "ESXi 5" start vm

external links

Additional thanks for the post: from Paul McSharry.
Get more information from VMWare KB.


]]>
http://epm.jonhwilliams.com/maintenance-mode-from-the-command-line/feed/ 0
start virtual machine on ESXi via ssh http://epm.jonhwilliams.com/start-virtual-machine-on-esxi-via-ssh/ http://epm.jonhwilliams.com/start-virtual-machine-on-esxi-via-ssh/#respond Fri, 30 Nov 2012 22:46:57 +0000 http://epm.jonhwilliams.com/?p=15 ssh control of vm on ESXi 5 host

Start or control a virtual machine on ESXi host via command line from Linux using ssh into the ESXi host.

steps

Begin by listing virtual machines
vim-cmd vmsvc/getallvms
Determine current state of the virtual machine
vim-cmd vmsvc/power.getstate vmid#
Start the virtual machine
vim-cmd vmsvc/power.on vmid#
List available methods
vim-cmd vmsvc

description

Typical access to VMWare ESXi 5 is through the vSphere Client, but for routine management from a Linux environment, other options are available. One might Download the Linux Installer (tar.gz) as the download is available for license. One might enable SSH into the ESXi host, then search Google for
ssh "ESXi 5" start vm

external links

Additional thanks for the post: help.
Get more information from VMWare KB.


]]>
http://epm.jonhwilliams.com/start-virtual-machine-on-esxi-via-ssh/feed/ 0