No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

How to restore the PVDriver quickly after the user uninstalling it

Publication Date:  2012-11-09 Views:  49 Downloads:  0
Issue Description
In the version of R1C01, the user uninstalled the PVDriver of the virtual machine, then caused couldn’t login in the virtual machine.
Alarm Information
None
Handling Process
1. Copy “pv-driver” to the user’s virtual machine:
Because the virtual machine whose “pv-driver” has been uninstalled can’t connect with the external network, so we should connect the network firstly. Find the CNA where the user’s virtual machine at, and then execute “brctl show” command to view, we can see the user’s network card, the network card type which hasn’t installed the “pv-driver” is “tap”:
brctl show
bridge name     bridge id               STP enabled     interfaces
br1058          8000.781dba3142bc       no              tap80.0
                                                                                       vif79.0
                                                                                       vif90.1
Then, execute the following sentence at this CNA to add the “tap” network card on the firewall, and recently we can connect the network, we can copy “pv-driver” to the user’s virtual machine through sharing the directory.
iptables -A FORWARD -m physdev --physdev-in tap80.0 -j ACCEPT
iptables -A FORWARD -m physdev --physdev-out tap80.0 -j ACCEPT
2. Install the “pv-driver”: If install it failed, restart the virtual machine, if this isn’t useful, it may be the version is not right or the file has been damaged, we must install the appropriated “pv-driver”.
3. After installing the “pv-driver”, restart the virtual machine, if we can see the user’s disk but it notes that we don’t have the rights to access, then right-click at the disk and select the security in the attributes, then add the “administrator” right in the security; if the user’s disk has lose after installing the “pv-driver”, we should set the disk ID of the user’s disk manually.
Root Cause
As the PVDriver contains some hardware drivers of the virtual machine, such as: network card, if we uninstall it, the network will not be connected, we can’t login in the virtual machine via the WI interface or telnet, and we can login in it only by VNC.
Suggestions
Suggestion: remind the users don’t delete the driver casually.
If you want to know how to set the user’s disk manually, please refer the case SC0000695751.

END