<data:blog.pageTitle/>

This Page

has moved to a new address:

https://vmvirtual.blog

Sorry for the inconvenience…

Redirection provided by Blogger to WordPress Migration Service
BIOLNX

BIOLNX

lunedì 27 gennaio 2020

How to Check if OS windows has restarted in the last month

Get-EventLog -LogName System -After $(Get-Date).AddMonths(-1) | Where { 6009,6005,6006 -contains $_.EventID}

Etichette: , , , , ,

martedì 15 ottobre 2019

Kubernetes Log Pod


Per vedere i log di un POD

kubectl logs <POD> -n <NameSpace> -c <Container>

Per eseguire un tail dei log di un POD

kubectl logs --follow <POD> -n <NameSpace> -c <Container>

Etichette: , , , , ,

martedì 13 agosto 2013

How to mange controller raid with MegaCli over vmware esxi

xseries 2350 M4  + vmware esxi 5.1
Donwload megacli software from ibm site

How to install?

You need have active ssh connection to the esxi server 
Install to esxi server :

esxcli software vib install /tmp/vmware-esx-MegaCli-8.04.07.vib --no-sig-check

(The installation probably need put the host in manintenece mode and reboot server)

How to use?

Go to /opt/lsi/MegaCli/ and run ./MegaCli with option :

Check the status all of HD:

./MegaCli -PDList -aALL

or single HD

./MegaCli -PDInfo -PhysDrv [E:S] -aALL          (E is the enclosure and is the slot)

Download the log of controller:

./MegaCli -AdpEventLog -GetEvents -f events.log -aALL && cat event.log

Show info configuration:

./MegaCli -AdpAllInfo -aALL


Show controller configuration:

./MegaCli -CfgDsply -aALL

Battery status:

./MegaCli -AdpBbuCmd -aALL

Show rebuild status:

./MegaCli -PDRbld -ShowProg -PhysDrv [E:S] -aALL


And more info:

./MegaCli -h




 

Etichette: , , , , , , , ,

mercoledì 27 marzo 2013

Enable serial logging from ESXi 5.1

During installation

If an ESXi 5.1 host does not successfully install, serial line logging can be configured when booting the installer using advanced kernel boot-time parameters. This takes effect for the current boot, and does not persist across future reboots.
To enable serial-line logging during installation:
  1. At the Loading ESXi installer screen, press Shift+O.
  2. At the prompt, append the advanced option to specify a serial port after runweasel:

    > runweasel debugLogToSerial=1 logPort=com1

  3. Press Enter to boot.
  4. Logging starts after the first loading progress bar finishes.



http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2032350

Etichette: , ,