<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

mercoledì 26 agosto 2015

Change Network adapter type on VM

After upgrade my vsphere infrastructure to 5.5 i have problem of disconnect network after reboot:

https://communities.vmware.com/thread/498472


Now i have change on my vm windows the network adapter type from e1000 to vmxnet3

I have used this step :

- Save IP Address configuration
- Shutdown VM
- Copy Mac Address
- Remove E1000 network adapter
- Add vmxnet3 network adapter and set manual mac address
- Boot VM
- For windows 2008 and older set devmgr_show_nonpresent_devices=1
- Remove, if present, the old network adapter
- Configure ip address...

Etichette: , , ,

giovedì 5 giugno 2014

Clone vm without vcenter


For clone disk and clone vm without vcenter :

cd /vmfs/volumes/Datastore01Raid10
 /vmfs/volumes/537dfea4-903a2d25-a8c3-00237da1046c # ls
SRVAPP01      SRVDC02       win2008R2ent

/vmfs/volumes/537dfea4-903a2d25-a8c3-00237da1046c # mkdir template2008
vmfs/volumes/537dfea4-903a2d25-a8c3-00237da1046c # vmkfstools -i SRVDC02/SRVDC02.vmdk template2008/template2008.vmdk
Destination disk format: VMFS zeroedthick
Cloning disk 'SRVDC02/SRVDC02.vmdk'...
Clone: 100% done.
/vmfs/volumes/537dfea4-903a2d25-a8c3-00237da1046c #










And select custom configuration for add existing disk 


and after select other option for the disk "Use an existing virtual disk"



and select the vmdk create .


Etichette: , , , , ,

giovedì 21 febbraio 2013

Windows 2008 backup to NAS linkstation Buffalo

I have this error when try to backup my windows 2008 whit native  backup software to share over NAS linkstation :

 http://kb.backupassist.com/articles.php?aid=3298

 Need to change the configuration of samba, but the smb.conf is Protected

-  Enable access ssh :
Downalod acp_commander.jar from :

 http://downloads.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/acp_commander.jar

Test connection to NAS

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c "ls /"


Change root password

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c "(echo newrootpass;echo newrootpass)|passwd"

Allow root to login on ssh

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config"

Restart ssh service

java -jar acp_commander.jar -t <ip nas> -ip <ip nas> -pw adminpasswordhere -c "/etc/init.d/sshd.sh restart"


Now i need to modify smb.conf

ssh connection to NAS

Edit /etc/init.d/smb.sh 

insert  this line :

sed -i '/\[global\]/a\    strict allocate = yes ' /etc/samba/smb.conf


after 
/usr/local/sbin/nas_configgen -c samba


Restart samba (/etc/init.d/smb.sh restart) or reboot nas
 




Etichette: , ,