Comparing to the server provisioning and VM archive, this workflow is a little bit more complicated. What it does is Checking the power status –> Shutdown VM if it is running –> Archive the VM –> Send requester the archive results –> Ask user to confirm whether to remove the VM –> Send the result … Continue reading vCO: Server Decommission Workflow
Category: Virtualization
vCO: Virtual Machine Backup/Archive Workflow
The purpose of having this workflow is to allow the user to backup or archive the virtual machine by themselves. In my example, I use TSM (Tivoli Storage Manager) as the backup/archive solution. This is a really simple workflow. The key step is to run TSM Virtual Machine backup from command line then send the … Continue reading vCO: Virtual Machine Backup/Archive Workflow
vCO: Server Provisioning Workflow
I have created the server provisioning workflow in vCO and used it to create couple Windows 2008 servers, really nice and neat! What it does is to Clone a template –> Sysprep it –> Configure it (IP address, hostname, admin password, join domain ….) –> Send an Email to notify the requester when the server … Continue reading vCO: Server Provisioning Workflow
ESXi PowerCLI Enable ssh service
1) Enable SSH service on all ESXi hosts.Get-VMHost | Foreach { Start-VMHostService -HostService ($_ | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”} ) }2) Enable SSH service on a single host.Start-VMHostService -HostService (Get-VMHostService -VMHost ESXi-01.my.lab | where {$_.Key -eq "TSM-SSH"})
ESXi 5 SSH Service Auto Stop
For security, by default ESXi 5 stops the SSH service after 1800 seconds since starting it. If user logins in within the 30 minutes windows, the session will be kept. To change the default value to meet your needs, you have to change the value of 'UserVars.ESXiShellTimeOut' in the Advanced Settings.Here is my example of … Continue reading ESXi 5 SSH Service Auto Stop