How to check VMFS version & block sizes PowerCLI

How to check VMFS version & block sizes PowerCLI

Get-Datastore | Get-View | Select-Object Name,@{N="VMFS version";E={$_.Info.Vmfs.Version}},@{N="BlocksizeMB";E={$_.Info.Vmfs.BlockSizeMB}}

 

NameVMFS 	      version   BlocksizeMB
----------------    -----------
TempDS                  5.58 	 1
datastore1              5.54  	 1
datastore1 (3)          5.54  	 1
datastore1 (1)          5.54  	 1
datastore1 (4)          5.54  	 1
datastore1 (7)          5.54  	 1
datastore1 (6)          5.54  	 1

VMware ESXi   CDP information via PowerCLI

VMware ESXi   CDP information via PowerCLI

  1. Using PowerCLI, connect to the ESX host or vCenter Server:# Connect-VIServer esx-or-vc-hostname
  2. Run this script in PowerCLI:
Get-VMHost | Where-Object {$_.ConnectionState -eq "Connected"} |
%{Get-View $_.ID} |
%{$esxname = $_.Name; Get-View $_.ConfigManager.NetworkSystem} |
%{ foreach($physnic in $_.NetworkInfo.Pnic){
    $pnicInfo = $_.QueryNetworkHint($physnic.Device)
    foreach($hint in $pnicInfo){
      Write-Host $esxname $physnic.Device
      if( $hint.ConnectedSwitchPort ) {
        $hint.ConnectedSwitchPort
      }
      else {
        Write-Host "No CDP information available."; Write-Host
      }
    }
  }
}

Continue reading VMware ESXi   CDP information via PowerCLI

How to configure Cisco Phone 7911 with Elastix

How to configure Cisco Phone 7911 with Elastix

Cisco Phone 7911 looks for  term06.default.loads  file to upgrade in to SIP firmware.

Download the SIP firmware from cisco or google it and get the firmware files

Configure your TFTP server and upgrade SIP firmware.

For SIP configuration this phone support XML configuration file . SEPMACADD.cnf.xml

Continue reading How to configure Cisco Phone 7911 with Elastix

How to configure Cisco Phone 7960 or 7940 with Elastix

How to configure Cisco Phone 7960 or 7940 with Elastix

Cisco Phone 7960 or 7940 comes default with SCCP firmware you need to change the firmware to SIP .

After the SIP firmware update you need to configure these phone to work with Elastix .

Cisco Phone 7960 or 7940 does not support XML configuration file it support cnf  configuration file.

If my Phone MAC address is 0014A9713F98 then my configuration file name should be SIP0014A9713F98.cnf and place it in to Elastix server /tftpboot/ folder

 

I am giving simple example to configure one Extension . You can change according to your requirement.

Continue reading How to configure Cisco Phone 7960 or 7940 with Elastix

How to Configure Cisco Phone 7912G with Elastix

How to Configure Cisco Phone 7912G with Elastix

Cisco Phone 7912G comes with SCCP firmware and you have to convert it to SIP .

The easy way to convert this phone in to SIP .

1- Download the SIP firmware from Cisco or  google it and get it.

SIP Firmware Version: 8.0001
Filename: CP7912080001SIP060412A.tar

2- Extract the file and upload to Elastix   server /tftpboot/    folder

CP7912080001SIP060412A.sbin     and    gkdefault.cfg

Continue reading How to Configure Cisco Phone 7912G with Elastix