本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
 
0

ESXi 5 and VNC

发表者:分类:云计算容器2012-01-31 09:41:20 阅读[4707]
ESXi 5 and VNCHello, I have configured my ESXi 5 VMs for VNC - to enable me to VNC to the console for each of the VMs. But I cannot work out how to obfuscate the password, I wonder if anyone can help? I have set it up as follows: Stop each VMLog in to the ESXi host using SSHAdd the following to the VM's .vmx file: RemoteDisplay.vnc.enabled = "TRUE" RemoteDisplay.vnc.port = "5901"RemoteDisplay.vnc.password = "password"When I restart the VM, I see that the following line has been added to the .vmx file RemoteDisplay.vnc.key = "long random string blah blah blah......." Now, when I try to connect to the server using a VNC client, I am not being allowed in. It is not asking for a password, it is showing me a blank screen.You configuration works, but you need to open the firewall on ESXi... First step is build a new rule like this:~ # cat /etc/vmware/firewall/vnc.xml <!-- Firewall configuration information for VNC ...
用 VNC 访问 VMware ESXi 虚拟机控制台在VM ESXI 上面安装好系统,想让虚拟机使用VNC来远程。VMware ESXi 提供了免费的图形化客户端工具 VMware vShpere Client,用 vShpere Client 连接 VMware ESXi 后关闭虚拟机,然后按照下面步骤编辑虚拟机的配置文件:鼠标右击选择 “Edit settings”;选择 “Options” 标签页;在 “Advanced” 下选择 “General”;点击 “Configuration Parameters” 按钮;最后加入如下配置参数:RemoteDisplay.vnc.enabled = "TRUE" RemoteDisplay.vnc.password = "vpsee.com" RemoteDisplay.vnc.port = "5900" 重启虚拟机后,就可以使用vnc 客户端来远程了。
您所在的组无权查看该日志
proxmox  虚拟机配置网卡桥接与添加网卡一,配置虚拟机网卡桥接,安装好proxmox 后,默认只桥接vmbr0,现在再添加第二个桥接网卡vmbr1#:vim /etc/network/interfaces添加以下内容auto vmbr1iface vmbr1 inet static        address 10.10.10.10        netmask 255.255.255.0        gateway 10.10.10.1        bridge_ports eth1        bridge_stp off        bridge_fd 1配置完成后,重启网络服务#: /etc/init.d/networking restart然后到proxmox 后台查看已经添加好第二个网卡然后给编号 103的虚拟机添加第二个网卡。#:qm set 103 --vlan1 rtl8139=EE:5B:1C:2F:EA:21proxmox 后台查看虚拟机已经添加好第二个网卡
使用OpenXenManager管理XCP centos6已安装桌面环境、subversion、python、gtk、gtk-vnc-*等svn co https://openxenmanager.svn.sourceforge.net/svnroot/openxenmanager/ openxenmanagercd openxenmanagerpython window.pywindows xp下使用vnc viewer管理: VNCserver设置:yum –y install tigervnc tigervnc-server vi /etc/sysconfig/vncserversVNCSERVERS=”1:root” 设置密码:vncpasswd 密码保存在:~/.vnc/passwd /etc/init.d/vncservers start ll .vnc/total 16-rw-------. 1 root root   8 Jul 27 10:59 passwd-rw-r--r--. 1 root root 808 Jul 27 11:09 test:1.log-rw-r--r--. 1 root root   6 Jul 27 11:08 test:1.pid-rwxr-xr-x. 1 root root 575 Jul 27 11:06 xstartup netstat -antulpActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address  Foreign Address    State       PID/Program name   tcp   0      0 0.0.0.0:5901      ...
Xenserver过程中挂载ISO文件,如何实现呢:1.       通过SSH登录Xenserver查看卷组信息#vgdisplay     记下VGnameVG_XenStorage-44b60440-08aa-42f5-7f59-96b1a445df4b2.       在VG上创建用于存放ISO的LV(逻辑卷),并分配大小和命名#lvcreate -L  15G -n iso  VG_XenStorage-44b60440-08aa-42f5-7f59-96b1a445df4b3.       格式化之前创建的LV#mkfs.ext3 /dev/ VG_XenStorage-44b60440-08aa-42f5-7f59-96b1a445df4b/iso4.       创建本地挂在目录#mkdir /iso5.       系统中通过编辑/etc/fstab来设置自动挂载之前创建的逻辑卷LV#vi /etc/fstab添加以下内容/dev/VG_XenStorage-44b60440-08aa-42f5-7f59-96b1a445df4b/iso  /iso  ext3 defaults 0 0保存并退出6.       mount此逻辑卷#mount  /iso7.       通过命令行创建本地iso SR#xe sr-create name-label=iso type=iso device-config:location=/...
Proxmox VE 上传超过2G ISOProxmox,如果在web界面,你就只能上传小于2G的ISO文件。那么如果想装win7,2008,就需要想招。解决办法很简单。通过winscp上传就ok/var/lib/vz/template/isohttp://forum.proxmox.com/threads/5966-Note-Proxmox-VE-1.7kvm-0.13.0-3-BUG-can-not-install-win2008问题就一个一个来解决。
删除xenserver中状态不正常的虚拟机导入一个虚拟机模板的时候出现了问题可能是中途断开过还是什么其他的原因导致出现一个黄色的箭头,取消导入也无法解决。最终找到如下解决方法:1,xe vm-list    #查看需要操作的虚拟机uuid2,xe vm-reset-powerstate uuid=60207d23-979e-ef86-2ede-455bf3504eee force=true    #重置电源状态3,xe vm-destroy uuid=60207d23-979e-ef86-2ede-455bf3504eee     #删除对应虚拟机
xenserver删除和重建SR如何删除在XenCenter里无法删除的SR存储因为PBD已经连接的缘故,我们无法直接使用sr-destroy删除SR。首先我们先找到SR所在的PDBxe sr-list #找到要删除的SRxe pbd-list sr-uuid=SR的UUID然后断开连接xe pbd-unplug uuid=PBD的UUID然后删除SRxe sr-destroy uuid=SR的UUID如果上一步无法完成,请尝试使用此方法:xe sr-forget uuid=SR的UUID在XenServer中用新硬盘创建新的Storage存储xe sr-create name-label="名称" shared=false device-config-device=硬盘设备(如:/dev/sdb) type=lvm------补充:查看xenserver后台任务:xe task-list结束xenserver后台任务:xe task-cancel uuid=xxxxxxxx重启XAPIservice xapi restart
XenServer 6自动启动VM功能在哪里? 你首先必须能够单独为每个VM配置之前,池级别的功能 *查找池的UUID: [root@ ~]# xe pool-list uuid ( RO) : [uuid-pool] name-label ( RW): [pool-name] name-description ( RW): [pool-desc] master ( RO): [uuid-xs] default-SR ( RW): [uuid-sr] [root@ ~]# xe pool-list uuid ( RO) : [uuid-pool] name-label ( RW): [pool-name] name-description ( RW): [pool-desc] master ( RO): [uuid-xs] default-SR ( RW): [uuid-sr] 它返回以下值: UUID池:一池的唯一标识符。 池名称:池的名称。 池递减:池的设置说明。 UUID - XS:唯一标识符的XenServer,目前是池主。 UUID - SR:默认的存储池的存储库配置的唯一标识符。 *启用自动断电功能池级别: [root@ ~]# xe pool-param-set uuid=[uuid-pool] other-config:auto_poweron=true [root@ ~]# xe pool-param-set uuid=[uuid-pool] other-config:auto_poweron=true 它使用下面的附加 ​​语法: UUID池:一池的唯一标识符。 *查找VM的UUID: quicky方式找到你的虚拟机的UUID是运行VM - list命令。 但是,这并不会给你的所有虚拟机的概述,所...
    总共58页,当前第53页 | 页数:
  1. 43
  2. 44
  3. 45
  4. 46
  5. 47
  6. 48
  7. 49
  8. 50
  9. 51
  10. 52
  11. 53
  12. 54
  13. 55
  14. 56
  15. 57
  16. 58