Category Archives: Vmware

Vmware VCSA Backup & Upgrade

      Yorum yok Vmware VCSA Backup & Upgrade

DB postgresql Backup shell shell.set –enabled true chsh -s /bin/bash root chsh -s /bin/appliancesh root chmod 700 /tmp/backup_lin.py chmod 700 /tmp/restore_lin.py python /tmp/backup_lin.py -f /tmp/backup_VCDB.bak python /tmp/restore_lin.py -f /tmp/backup_VCDB.bak service-control –stop vmware-vpxd service-control –stop vmware-content-library python /tmp/restore_lin.py -f /tmp/backup_VCDB.bak ls service-control –status vmware-vpxd service-control –status vmware-content-library service-control –start vmware-vpxd service-control –start vmware-content-library VCSA Upgrade /dev/cdrom /mnt/cdrom software-packages stage –iso software-packages… Read more »

Vmware CLI Value Commands

      Yorum yok Vmware CLI Value Commands

VM Power CLI Connect-VIServer -Server 10.200.115.15 Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false Set-PowerCLIConfiguration -Scope User -InvalidCertificateAction warn ESXI host Register VM find /vmfs/volumes/5e663972-baa48407-c77d-ac162d8cfb90 -name “*.vmx” -exec vim-cmd solo/registervm {} \; ESXi Register all VMs on a single datastore. ~ # find /vmfs/volumes/<datastorename>/ -maxdepth 2 -name ‘*.vmx’ -exec vim-cmd solo/registervm “{}” \; Register all VMs on all datastores. ~ # find /vmfs/volumes/ -maxdepth… Read more »

ESX Root Password Change

      Yorum yok ESX Root Password Change

ESX Root Password Change Fat16 (~150mb used /boot volume under) sudo -s mount /dev/sda5 /mnt cd /mnt ls cp state.tgz /tmp cd /tmp tar xzf state.tgz ls tar xzf local.tgz ls cd /tmp/etc vi shadow trim root line this value root::13358:0:99999:7::: cd .. tar czf local.tgz etc tar czf state.tgz local.tgz cp state.tgz /mnt/ umount /mnt

Vmware Disk Managament

      Yorum yok Vmware Disk Managament

Vmware Disk Managament  Partition Table Repair / Show Health Status [root@esx1:/dev/disks] fdisk -lu naa.60060e8013348200502034820000053a *** *** The fdisk command is deprecated: fdisk does not handle GPT partitions.  Please use partedUtil *** fdisk: device has more than 2^32 sectors, can’t use all of them Disk naa.60060e8013348200502034820000053a: 2199.0 GB, 2199023255040 bytes 255 heads, 63 sectors/track, 267349 cylinders, total 4294967295 sectors Units =… Read more »