Archiv der Kategorie 'VMware'



vSphere5 Lizenz Advisor

VMware, vSphere 5 No Comments »

Für den Lizenzcheck von vSphere5 stellt VMware ein Tool zur Verfügung, mit welchem die vCenters, resp. die VMwareumgebung geprüft werden kann, ob die bestehende Lizenzierung genügt oder nicht.

Link



VMware ESXi – iSCSI vSwitch für EQL über CLI konfigurieren

Equallogic, Storage, VMware, vSphere 4 No Comments »

Equallogic bietet über Ihre Webseite ein konfortables Installationsscript für dir Konfiguration des iSCSI Switches an. Anhand diesem Script kann via vCLI in einer Konfigurationszeile der komplette vSwitch mit Bindings eingerichtet werden.

Anforderungen:
vSphere Command Line Interface
Auf der Equallogic Support Page unter VMware Integration “EqualLogic Multipathing Extension Module for VMware® vSphere” herunterladen.

Konfiguration:
“EqualLogic Multipathing Extension Module for VMware® vSphere” zip File befindet sich das MEM Bundel sowie eine setup.pl Datei. Mit der setup.pl Datei kann MEM auf den ESXi Hosts implementiert (Parameter –install) aber auch die komplette Konfiguration eines iSCSI vSwitch (Parameter –configure) durchgeführt werden.

Parameter:

setup.pl –configure –server=”hostname” [--username=”username”] [--password=password]
–nics=NIC1,NIC2,… –ips=IP1,IP2,… [--vswitch=vswitchname] [--mtu=mtu]
[--vmkernel=vmkernel_prefix ] [--netmask=subnet_mask] [--enableswiscsi] [--nohwiscsi] [--vds]
[--logfile]

Beispiel: Konfiguration von 4-Ports über den Software iSCSI Adapter mit Jumboframes

setup.pl –server=10.127.129.130
–configure –ips=10.127.129.131,10.127.129.132,10.127.129.133,10.127.129.134
–nics=vmnic2,vmnic3,vmnic4,vmnic5 –mtu=9000

Configuring networking for iSCSI multipathing:
vSwitch = vSwitchISCSI
mtu = 9000
nics = vmnic2 vmnic3 vmnic4 vmnic5
ips = 10.127.129.131 10.127.129.132 10.127.129.133 10.127.129.134
netmask = 255.255.255.0
vmkernel = iSCSI
Creating vSwitch vSwitchISCSI.
Setting vSwitch MTU to 9000.
Creating portgroup iSCSI0 on vSwitch vSwitchISCSI.
Assigning IP address 10.127.129.131 to iSCSI0.
Creating portgroup iSCSI1 on vSwitch vSwitchISCSI.
Assigning IP address 10.127.129.132 to iSCSI1.
Creating portgroup iSCSI2 on vSwitch vSwitchISCSI.
Assigning IP address 10.127.129.133 to iSCSI2.
Creating portgroup iSCSI3 on vSwitch vSwitchISCSI.
Assigning IP address 10.127.129.134 to iSCSI3.
Creating new bridge.
Adding uplink vmnic2 to vSwitchISCSI.
Adding uplink vmnic3 to vSwitchISCSI.
Adding uplink vmnic4 to vSwitchISCSI.
Adding uplink vmnic5 to vSwitchISCSI.
Setting new uplinks for vSwitchISCSI.
Setting uplink for iSCSI0 to vmnic2.
Setting uplink for iSCSI1 to vmnic3.
Setting uplink for iSCSI2 to vmnic4.
Setting uplink for iSCSI3 to vmnic5.
Enabling SW initiator.
Enabled SW initiator.
Bound vmk0 to vmhba33.
Bound vmk1 to vmhba33.
Bound vmk3 to vmhba33.
Bound vmk4 to vmhba33.
Configuration finished.

Das Resultat kann danach via vCLI abgefragt und überprüft werden:

esxcfg-vswitch -l –server 10.127.129.130 –username root –password

Die Konfiguration kann auch in mehreren Schritten via vCenter durchgefürht werden. Das Binding von den vmk Port auf den iSCSI Adapter muss aber nachträglich via vCLI erfolgen. Dies ist via GUI nicht möglich.

Der Parameter für obiges Beispiel wären:

esxcli swiscsi nic add –n vmk0 –d vmhba33
esxcli swiscsi nic add –n vmk1 –d vmhba33
esxcli swiscsi nic add –n vmk2 –d vmhba33
esxcli swiscsi nic add –n vmk3 –d vmhba33



vSphere 5 Lizenzen

VMware, vSphere 5 No Comments »

Seit einigen Tagen ist das Thema vSphere 5 in aller Munde und es wird viel über die Erneuerungen disskutiert. Mit vSphere 5 ändert sich das Lizenz Modell massgeblich. Daher hier kurz ein Überblick.

Mit vSphere 5 wird in Zukunft auf physikalische Prozessoren der ESXi Hosts, sowie den RAM der virtuellen Maschinen, lizensiert. Die Beschränkung der Cores pro CPU wurde aufgehoben. Was genau bedeutet das für eine aktuelle Infrastruktur?

Abhängig der Edition die Ihr im Einsatz habt, müsst Ihr den RAM der virtuellen Maschinen zählen. Folgenden vRAM stehen pro CPU/Edition zur Verfügung:

Standard: 24 GB
Enterprise: 32 GB
Enterprise Plus: 48 GB

update: Lizenzierungen wurden angepasst!

Wichtig dabei ist zu sagen, der vRAM kann über alle VM´s im vCenter bzw. auf die vCenter im Linked Mode verteilt werden. Bei zwei unabhängigen vCenter Server geht dies nicht.

Beispiel:
Es stehen 2x ESXi Hosts mit jeweils 2 Sockeln und Enterprise Plus Lizenzen zure Verfügung. So ist man berechtigt insgesamt 192 GB (4x 48 GB) Memory für die VM´s zu konfigurieren. Dabei ist es kein Problem, auf einem Host insgesamt 100 GB vRAM zu verwenden, wenn der andere Host nur 92 GB vRAM verwendet.

Was passiert jetzt wenn Ihr mehr vRAM verwenden wollt? Eigentlich recht einfach, es wird eine weitere Lizenz benötigt.

Vor der Migration einfach mal die bestehende Infrasturtur analysieren. Tools dazu wären zum Beispiel CapacityIQ, welches im Testbetrieb 60 Tage läuft.

Quellen: www.vmachine.de

Location of ESXi log files

VMware, vSphere 4 No Comments »

The VMkernel, vmkwarning, and hostd logs are located at /var/log/messages.

The Host Management service (hostd = Host daemon) log is located at /var/log/vmware/hostd.log\.

The VirtualCenter Agent log is located at /var/log/vmware/vpx/vpxa.log.

The System boot log is located at /var/log/sysboot.log.

The Automatic Availability Manager (AAM) logs are located at /var/log/vmware/aam/vmware_-xxx.log.

Location of ESX log files

VMware, vSphere 4 No Comments »

You can see ESX logs:

  • From the Service Console
  • From the vSphere Client connected directly to the ESX host (click Home > Administration > System Logs)
  • From the VMware Infrastructure Client connected directly to the ESX host (click Administration > System Logs)

The vmkernel logs (which log everything related to the kernel/core of the ESX) are located at /var/log/vmkernel.

The vmkwarning logs (which log warnings from the vmkernel) are located at /var/log/vmkwarning.

The vmksummary logs (which provide a summary of system activities such as uptime, downtime, reasons for downtime) are located at /var/log/vmksummary.

The hostd log (which is the log of the ESX management service of the ESX) are located at /var/log/vmware/hostd.log.

The messages log (which log activity on the Service Console operating system) is located at /var/log/messages.

The VirtualCenter Agent log is located at /var/log/vmware/vpx/vpxa.log.

The Automatic Availability Manager (AAM) logs are located at /var/log/vmware/aam/vmware_-xxx.log.

The SW iSCSI logs are located at /var/log/vmkiscsid.log.

The System boot log is located at /var/log/boot-logs/sysboot.log.