pra não esquecer…

janeiro 26th, 2016

administrando controladora hp esxi

Posted by Felipe Olivaes in Hardware, vmware

cd /opt/hp/hpssacli/bin/

# mostra status dos discos
./hpssacli ctrl all show config

# mostra config da controladora
./hpssacli ctrl slot=0 show detail

# seta prioridade de rebuild
./hpssacli ctrl slot=0 modify rebuildpriority=high

# ativa cache da controladora
./hpssacli ctrl slot=0 modify drivewritecache=enable

Show configuration
/opt/hp/hpssacli/bin/hpssacli ctrl all show config

Controller status
/opt/hp/hpssacli/bin/hpssacli ctrl all show status

Show detailed controller information for all controllers
/opt/hp/hpssacli/bin/hpssacli ctrl all show detail

Show detailed controller information for controller in slot 0
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail

Rescan for New Devices
/opt/hp/hpssacli/bin/hpssacli rescan

Physical disk status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show status

Show detailed physical disk information
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show detail

Logical disk status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld all show status

View Detailed Logical Drive Status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 show

Create New RAID 0 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0

Create New RAID 1 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1

Create New RAID 5 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5

Delete Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 delete

Add New Physical Drive to Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7

Add Spare Disks
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7

Enable Drive Write Cache
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=enable

Disable Drive Write Cache
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=disable

Erase Physical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd 2I:1:6 modify erase

Turn on Blink Physical Disk LED
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=on

Turn off Blink Physical Disk LED
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=off

Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify cacheratio=100/0

Enable smart array write cache when no battery is present (No-Battery Write Cache option)
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify nbwc=enable

Disable smart array cache for certain Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable

Enable smart array cache for certain Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable

Enable SSD Smart Path
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=enable

Disable SSD Smart Path
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=disable

abril 7th, 2012

vmdk clone thin

Posted by Felipe Olivaes in vmware

vmkfstools -i /vmfs/volumes/xxxx/yyyy/yyyy.vmdk /vmfs/volumes/zzzz/kkkk/kkkk.vmdk -d ‘thin’

maio 17th, 2011

gerenciando guest por ssh/console esxi

Posted by Felipe Olivaes in vmware

# vim-cmd vmsvc/getallvms
# vim-cmd vmsvc/power.getstate 624
# vim-cmd vmsvc/power.on 624

maio 3rd, 2011

esxi versions

Posted by Felipe Olivaes in vmware

ESXi, 4.0.0, 208167 (ESXi 4.0 update 1)

ESXi, 4.1.0, 260247 (ESXi 4.1)
ESXi, 4.1.0, 348481 (ESXi 4.1 update 1)

maio 3rd, 2011

ESXi – 4.1 to 4.1 update1

Posted by Felipe Olivaes in vmware

entrar em modo de manutenção e:

vihostupdate.pl –server (host name/IP address) –username (username) –password (senha) -i -b (location of the ESXi upgrade ZIP bundle) -B ESXi410-GA-esxupdate
vihostupdate.pl –server (host name/IP address) –username (username) –password (senha) -i -b (location of the ESXi upgrade ZIP bundle) -B ESXi410-GA
vihostupdate.pl –server (host name/IP address) –username (username) –password (senha) –query

janeiro 14th, 2011

enable round-robin storage vmware 4.1

Posted by Felipe Olivaes in vmware

[code]
echo “#!/bin/ash” > set.sh
esxcli nmp device list | awk ‘/^naa/{print “esxcli nmp device setpolicy –device “$0″ –psp VMW_PSP_RR” }’ >> set.sh
chmod +x set.sh
./set.sh
[/code]

agosto 20th, 2010

aumentando o disco vmware

Posted by Felipe Olivaes in vmware

http://vsphere-land.com/tips-tricks/re-sizing-virtual-disks

dezembro 22nd, 2009

Rodando vSphere no windows 7

Posted by Felipe Olivaes in vmware

fiquei de cara que não estava funcionando, procurei bastante, mas acabei encontrado…

http://xtravirt.com/running-vmware-vsphere-client-windows-7

novembro 3rd, 2009

vmware esx – configure jumbo frames

Posted by Felipe Olivaes in vmware

esxcfg-vswitch -A “ADM STORAGE” vSwitch1
esxcfg-vswitch -v 3 -p “ADM STORAGE” vSwitch1
esxcfg-vmknic -a -i 10.4.0.30 -n 255.255.255.0 -m 8500 “ADM STORAGE”




nuvem de tags:

24 horas acentuação Apache bash benchmark bios boot celular centos charset comando console Download esxi Firebird firefox http importação intel ipod kinghost legenda Linux lost mod_deflate msn mssql MySQL owner Padel PHP placa mãe portabilidade Postgre SQL recovery root password rewrite shell sinuca sql server svn temporada completa veronica mars vmware Windows ícones