add nfs datastore command line script
- No Comments
- Oct, 06, 2009
- Angelo Schalley
- vmware
******
#!/bin/bash
hostlist=”esxhost1 esxhost2 esxhost3″
for nexthost in $hostlist
do
ssh root@$nexthost “esxcfg-nas -a -o NAS02 -s /vol/vmnfs_01 vmnfs_01; vmware-vim-cmd hostsvc/storage/refresh”
done
******
NAS02
represents the dns name of your storage device followed by the nfs
export path then the identifier you want in virtual center.
Read more on add nfs datastore command line script…
nfs server config for vmware esx host
- No Comments
- Oct, 06, 2009
- Angelo Schalley
- vmware
/VMWARE-HOSTS x.x.x.x(rw,async,no_subtree_check,nohide,no_root_squash) x.x.x.x(rw,async,no_subtree_check,nohide,no_root_squash)
expand disk linux ESVA – vmware
- No Comments
- Oct, 05, 2009
- Angelo Schalley
- Linux, vmware
Shut down your ESVA VM.
Add a new disk (SCSI) – as big as you like. (20GB should be large enough for most sites)
Boot the VM up
login as root on the console
cd /tmp
fdisk /dev/sdb
n
p
1
<enter>
<enter>
w
Read more on expand disk linux ESVA – vmware…