PowerCLI: Export VM Guest Logs files to Local Computer

Last week I needed to export vmware.log files. In the normal way you can read using putty client or download log using Datastore Browser. But you also can download logs using PowerCLI. to do it, we using cmdlet Copy-DatastoreItem  cmdlet Syntax: Copy-DatastoreItem <Object> <Object>]   To find the location of a virtual machine run this script: get-vm MyVirtualMachine| Get-Datastore |Select name   Connect to Datastore using New-PSDrive cmdlet and change location to VM folder using Set-Location cmdlet. New-PSDrive -Location $datastore -Name ds -PSProvider VimDatastore -Root "\" Set-Location ds:\ cd $vm To display list log files, simple run ls *.log       At this point we can begin copy files from Datastore to local computer: Copy-DatastoreItem -Item *.log -Destination...
no comments

SCRIPT: Upgrade Zabbix_Agent 2.x to 3.x

July 18, 2016

Upgrading Zabbix_Agent 2.x to 3.x via batch script This topic will show one method to upgrade Zabbix agent version 2.x to 3.x #1 Check if last version installed. Zabbix agent version 3.0.0.58455, file size is 433,644 bytes. So in this case, we check if current file size  Equal to 433,644 bytes,  If do - nothing to do. c: cd\ cd "Program Files\Zabbix Agent" dir | find "433,664 zabbix_agentd.exe" IF %errorlevel% ==0 GOTO END #2 Remove old ZabbixAgent version 2.x Remove old version in three stages: stop Zabbix agent service delete relevant files delete old files zabbix_agentd.exe -x zabbix_agentd.exe -d del *.* /Q #3 Copy ZabbixAgent version 3.x Copy relevant files: zabbix_agentd.exe zabbix_agentd.win.conf   A predefined file that include:   Server=My.Zabbix.Server ServerActive=My.Active.Zabbix.Server LogFile=c:\Program Files\Zabbix Agent\zabbix_agentd.log LogFileSize=10 DebugLevel=3 HostMetadata=Windows #4 Append Computer...
no comments

VMware Glossary

July 17, 2016

VMware Glossary By Haim Cohen If you a  VMware Administrator, here you can find VMware terms you should know Last update: July 17, 2016 TPS Transparent Page Sharing Transparent page sharing is a method by which redundant copies of pages are eliminated. This helps to free memory that a virtual machine would otherwise be using. Because of the way TPS works with hardware-assisted memory virtualization systems like Intel EPT Hardware Assist and AMD RVI Hardware Assist, esxtop may show zero or few shared pages in these systems. Page sharing will show up in esxtop only when host memory is overcommitted. The rest of this article provides background...
no comments

Zabbix Event: Free disk space is less than XX% on volume /boot

June 29, 2016

  Zabbix           Zabbix Event: Free disk space is less than XX% on volume /boot   My Zabbix system warns me with the following message: "Free disk space is less than XX% on volume /boot"   Background: Zabbix is enterprise open source monitoring software for networks and applications, . It is designed to monitor and track the status of various network services, servers, and other network hardware. My Zabbix 3.0 system running on Ubuntu Linux. to free up space  : sudo apt-get autoremove autoremove autoremove is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed. The auto-remove statement tells APT to remove...
no comments

Guest Hangs at ‘Starting’ on VMWare BIOS

  The Problem: You powered on virtual machine, Task shows "Completed" but the virtual machine is not passed  Starting  screen At Virtual machine event, I found error 19 : “Cannot open the disk '/vmfs/volumes/4e941641-1be07a6e-00215eda23ba/VM-Name/VM-Disk_ID.vmdk' or one of the snapshot disks it depends on.”   Cause: A RDM LUN mapping which were in a ‘dead’ status   Resolution Check Storage side for connectivity, sufficient space etc.
no comments

vSphere HTML5 Web Client – #h5client

April 20, 2016

vSphere HTML5 Web Client Summary The vSphere HTML5 Web Client v1.2 (Apr 19, 2016) is here! It is written using HTML5 and Javascript, and VMware Flings are looking forward to you trying it in your environment and hearing your feedback! First things first-- this Fling is not fully complete !   VMware Flings wanted to get it in front of customers as soon as possible, and so VMware Flings are only offering the following features for the time being (we feel that these are the most commonly used actions/views): VM Power Operations (common cases) VM Edit Settings (simple CPU, Memory, Disk changes) VM Console VM and Host Summary pages VM Migration...
no comments

VMware Product Build Numbers to Update Levels

March 31, 2016

  VMware Product Build Numbers to Update Levels In the next table you can find build numbers and release dates of VMware products source = vmware.KB.1014508  Version Release Date Build Number Installer Build Number Converter Standalone 6.0 2015-05-14 2716716 N/A Converter Standalone 5.5.3 2014-10-09 2183569 N/A Converter Standalone 5.5.2 2014-07-24 1890136 N/A Converter Standalone 5.5 2013-10-22 1362012 N/A Converter Standalone 5.1 2013-04-24 1087880 N/A Converter Standalone 5.0.1 2012-10-25 875114 N/A Converter Standalone 5.0 2011-08-31 470252 N/A Converter Standalone 4.3 2010-08-30 292238 N/A Converter Enterprise 4.2.0 (VC 4.1) 2010-07-13 254483 N/A Converter Enterprise 4.1.1 (VC 4.0) 2009-05-21 206170 N/A Converter Standalone 4.0.1 2009-05-21 161434 N/A Converter Standalone 4.0 2009-02-12 146302 N/A Converter Standalone 3.0 2008-01-12 89816 N/A ESXi 6.0 Update 2 2016-03-16 3620759 N/A ESXi 6.0 Express Patch 5 2016-02-23 3568940 N/A ESXi 6.0 Update 1b 2016-01-07 3380124 N/A ESXi 6.0 Express Patch 4 2015-11-25 3247720 N/A ESXi 6.0 U1a (Express Patch 3) 2015-10-06 3073146 N/A ESXi 6.0 U1 2015-09-10 3029758 N/A ESXi 6.0.0b 2015-07-07 2809209 N/A ESXi 6.0 Express Patch 2 2015-05-14 2715440 N/A ESXi 6.0 Express Patch 1 2015-04-09 2615704 2615979 ESXi 6.0 GA 2015-03-12 2494585 N/A ESXi 5.5 Express Patch 10 2016-02-22 3568722 N/A ESXi 5.5 Express Patch 9 2016-01-04 3343343 N/A ESXi 5.5 Update...
no comments