Changes

Jump to navigation Jump to search
Uninstall instructions added
Line 6: Line 6:  
A restore of a VM can be done by simply copying back all archived files to the original location on the ESXi host. It is also possible to copy the files to a different directory (or to another ESXi server) and add the vmx file to the inventory.
 
A restore of a VM can be done by simply copying back all archived files to the original location on the ESXi host. It is also possible to copy the files to a different directory (or to another ESXi server) and add the vmx file to the inventory.
   −
{{Note box|This document is applicable for ESX3i with an USB boot device. It will most likely not work with other type boot devices}}
+
{{Note box|This document is applicable to ESX3i with an USB boot device. It will most likely not work with other type boot devices}}
    
{{Warning box|As Affa Version 2 is in a BETA state, errors in design and/or implementation cannot be completely eliminated. Therefore take precautions to avoid negative impacts to your system. In particular do not use it on production systems.}}
 
{{Warning box|As Affa Version 2 is in a BETA state, errors in design and/or implementation cannot be completely eliminated. Therefore take precautions to avoid negative impacts to your system. In particular do not use it on production systems.}}
Line 145: Line 145:  
The name of the snaphot starts with "BEXI-". Do not delete it or revert to it while Affa is running.
 
The name of the snaphot starts with "BEXI-". Do not delete it or revert to it while Affa is running.
    +
=== Uninstall ===
 +
SSH login as root on the ESXi host and run these commands '''carefully''':
 +
grep -v "/bootbank/bexi/affa-setup.sh" < /etc/rc.local >/etc/rc.local.affa; mv -f /etc/rc.local.affa /etc/rc.local
 +
sed -e 's#^\(root:.*\)\(:/root:\)\(.*\)#\1:/:\3#' < /etc/passwd > /etc/passwd.affa; mv -f /etc/passwd.affa /etc/passwd
 +
sed -e 's/^\(ssh.*\)/#\1/' < /etc/inetd.conf > /etc/inetd.conf.affa; mv -f /etc/inetd.conf.affa /etc/inetd.conf
 +
kill -HUP `ps | grep inetd | sed -e 's/ .*//'`
 +
rm -rf /bin/rsync /usr/libexec/sftp-server /root /bootbank/bexi
 +
tar -C / -xzf /bootbank/environ.tgz sbin/dropbearmulti
    
=== Addtional Information ===
 
=== Addtional Information ===
501

edits

Navigation menu