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)
Restore windows File associations
- No Comments
- Oct, 05, 2009
- Angelo Schalley
- Windows-Microsoft
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.bat]
@=”batfile”[HKEY_CLASSES_ROOT\.bat\PersistentHandler]
@=”{5e941d80-bf96-11cd-b579-08002b30bfeb}”[HKEY_CLASSES_ROOT\batfile]
@=”MS-DOS Batch File”
“EditFlags”=hex:30,04,00,00[HKEY_CLASSES_ROOT\batfile\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,35,\
00,33,00,00,00[HKEY_CLASSES_ROOT\batfile\shell]
[HKEY_CLASSES_ROOT\batfile\shell\edit]
[HKEY_CLASSES_ROOT\batfile\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
Read more on Restore windows File associations…