VMware

Vmware Esxi Patch Yükleme

0

Vmware Esxi sunucularda patch yükelme işlemi oldukça kolaydır.

Öncelikle sunucunuzun SSH ve Esxi Shell servislerini aktif etmeniz gerekiyor.

Daha sonra https://my.vmware.com/group/vmware/patch adresinden indirdiğiniz dosyanızı disk alanınıza yükleyin.

Ardından SSH komut satırını açarak aşağıdaki örnek kodu kendinize uyarlayıp çalıştırın. Dosya yükleme sırasında sunucu donmuş gibi vs görünebilir ancak yükleme tamamlanacaktır.

esxcli software vib update –depot /vmfs/volumes/DISKADRESINIZ/patch/ESXi550-201404001.zip

Yükleme tamamlandıktan sonra sunucunuzu yeniden başlatın. Hepsi bu kadar.

ESXi OpenSSL Heartbleed açığı

0

ESXi sunucularda oluşan OpenSSL Heartbleed açığını gidermek için oldukça kolay.

Aşağıdaki komutları çalıştırarak OpenSSL açığını kapatabilirsiniz.

cd /etc/vmware/ssl
/sbin/generate-certificates
chmod +t rui.crt
chmod +t rui.key
passwd root

Esxi Sunucuları Listeleme

0

Merhabalar,

Vmware Esxi kurulu sunucularda bazen sorunlar yaşarız ve bütün sanal sunucuları listemek gerekebilir. Aşağıdaki komutla ile sunucuya SSH ile bağlanıp bu komutu çalıştırdığınız zaman sunucuların listesini görebilirsiniz.

 

esxcli vm process list

ESXI 5.x üzerinden MegaCLI kullanarak RAID logları alma

0

Gerekli Dosyalar:
http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/8.07.07_MegaCLI.zip
Putty
WinSCP

1.Konsol üzerinden:

 

  • F2 Tuşuna basın ve sisteme log in olunuz.

  • Troubleshooting Options“ı seçininiz.

  • “Disable SSH” bölümüne gelip açılan ekrandan SSH’ı aktif ediniz

2. vSphere üzerinden:

  • Hostunuzu seçiniz

  • “Configuration“ seceneğini seçiniz.

  • Software“ yazan bölümden “Security Profile“ seçiniz.

  • Açılan sayfada Sağ üst köşeden Properties’i seçiniz :

  • Açılan bölümden önce SSH ve sonrasında sağ alt köşeden Options‘ı seçiniz.

  • SSH servisini start“ ile calıştırınız(log alım işlemi bittikten sonra yine deactive edebilirsiniz)

WinSCP ile Hosta bağlanın. File Protocol SCP ayarında olduğundan emin olalım.
İndirdiğiniz *zip dosyasini lütfen açınız ve VmwareMN olanı seçiniz.
VIB paketini ilgili hostun /tmp/ klasörüne kopyalayınız.

Putty ile sisteme bağlanıp log toplama:

Putty üzerinden Hostunuza bağlanınız.

  • Sisteme login olunuz
  • Cd /tmp ile tmp klasörüne giriniz
  • Ls komutuyla MegaCli-VIB package doğru klasörde mi diye kontrol ediniz.
  • Lütfen şu komutlari yazınız.
  • esxcli software vib install –v /tmp/vmware-esx-MegaCli-8.07.07.vib –no-sig-check
  • MegaCli hostunuza yüklenecektir.

Şimdi cd /opt/lsi/MegaCLi komutuyla MegaCLI klasörüne geçiniz.
Ls komutuyla MegaCLI“ ve libstore.so“ bilgisi klasörde mi diye kontrol ediniz.
Şimdi şu komut yazınız : ./MegaCli –FwTermLog –Dsply –aALL
Komut sonrası Raid controllerdan bir Output görebilirsiniz.

Sırada bu Outputu Textfile çevirme işleminde,
Lütfen şu komutu kullanınız: ./MegaCli –FwTermLog –Dsply –aALL > /tmp/lsi.txt
Şimdi /tmp klasöründe textfile bulabilirsiniz.

Teknik Uzmana yollayabileceğiniz başka önemli bilgiler:
./MegaCli -PDList -aALL > /tmp/disks.txt
Sistemde olan Harddisk, Firmware ve Boyut bilgileri içindir.
./MegaCli -LDInfo -LALL -aALL > /tmp/LDinfo.txt
Hangi RAID konfigürasyonu ve benzeri bilgiler içindir.
./MegaCli -AdpAllInfo -aALL > tmp/Adapterinfo.txt
RAID Controller ayarları içindir.
./MegaCli -AdpBbuCmd -aALL > /tmp/Battery.txt
Controller batarya bilgileri içindir.
./MegaCli -AdpEventLog -IncludeDeleted -f deleted.txt –aALL

RAID Controller kartın ilk çalıştırılıdığı günden,bugüne kadar bilgileri toplar.
Dikkat “deleted.txt” daima MegaCli klasörüne kayit edilir, bunu değiştirmek mümkün değildir.

 

Kaynak : http://de.community.dell.com/techcenter/extras/w/wiki/1279.esxi-5-x-uzerinden-megacli-kullanarak-raid-loglar-alma.aspx

 

Unknown command or namespace software vib install

0

Eğer sizde vmware üzerinde kurulum yaparken aşağıdaki gibi hata mesajı ile karşılaşıyorsanız yapmanız gereken işlem klavye dilinizi ingilizce olarak ayarlamak olacaktır.

Unknown command or namespace software vib install –v /tmp/vmware-esx-MegaCli-8.07.07.vib

Stopping, starting, or restarting vCenter services (1003895)

0

Stopping vCenter Server services

To stop a vCenter Server service:

  1. Log in as an administrator to the server that is running vCenter Server.
  2. Click Start > Run.
  3. Type services.msc
  4. Press Enter.
  5. From the list of services right-click on the service you wish to stop. For example, VMware VirtualCenter Server, or VMware vCenter Server depending on the version you are using.
  6. Click Stop and wait for the service to complete stopping.

Note: When you stop the VMware vCenter Server service, all connected users are disconnected from their session.

Starting vCenter Server services

To start a vCenter Server service if it has stopped:

  1. Log in as an administrator to the server that is running vCenter Server.
  2. Click Start > Run.
  3. Type services.msc
  4. Press Enter.
  5. From the list of services right-click on the service you wish to start.  For example, VMware VirtualCenter Server, or VMware vCenter Server depending on the version you are using.
  6. Click Start and wait for the service startup to complete.

Note: If the VMware VirtualCenter Server service does not start, verify that it is able to get exclusive access to vCenter Server repository. For more information, see Unable to get an exclusive access to the vCenter Server repository (1006369).

Restarting vCenter Server services

To restart a vCenter Server service:

  1. Log in as an administrator to the server that is running vCenter Server.
  2. Click Start > Run.
  3. Type services.msc
  4. Press Enter.
  5. From the list of services right-click on the service you wish to restart.  For example, VMware VirtualCenter Server, or VMware vCenter Server depending on the version you are using.
  6. Click Restart and wait for the service to complete restarting.

Note: When you restart the VMware VirtualCenter Server service, all connected users are disconnected from their vSphere/Virtual Infrastructure Client sessions. If the vCenter Server service does not start after it has been stopped, see Troubleshooting the VMware VirtualCenter Server service when it does not start or fails on vCenter Server (1003926).

Go to Top