hl10502的博客

V2V转换器(二)——XenServer Conversion Manager Virtual Appliance虚拟机配置

XenServer Conversion Manager Virtual Appliance

XenServer Conversion Manager Virtual Appliance是执行转换的虚拟设备,需要导入到XenServer主机或资源池中的master主机。

将XenServer-7.0.0-vpx-conversion.xva导入到XenServer主机中(可以使用WinCenterClient工具导入),配置好网络以及相关配置就可以作为XenServer Conversion Manager Virtual Appliance。

配置密码、主机名、网络

输入yes,接受license。

接受license

设置密码。

设置密码

设置hostname。

设置hostname

设置网络信息,不使用DHCP。

设置网络

最后确定所有的配置,自动重启网络。

修改其他配置(可以不修改)

查找含有xenserver字符的文件。

1
2
3
4
5
6
7
8
9
10
11
12
13
-bash-4.2# cd /etc/init.d/
-bash-4.2# grep -in xenserver *
convsvcd:26:# Init file for Citrix XenServer VM Conversion service
convsvcd:29:# description: Citrix XenServer VM conversion service
eula_render.sh:6: echo -e "\033[44;37;1mCitrix XenServer Conversion Manager Virtual Appliance - End User License Agreement \033[0m"
vpx_startup_setup.sh:19:product="XenServer"
vpx_startup_setup.sh:20:banner="\033[44;37;1mCitrix XenServer Conversion Manager Virtual Appliance \033[0m"
vpx_startup_setup.sh:39: echo -e "The Citrix XenServer Conversion Manager Service is running at \033[40;33;1m$ip\033[0m"
vpx_startup_setup.sh:187:makecert -r -n "CN=Citrix XenServer Conversion Manager Appliance" -sv root.key root.cer >> $logfile 2>&1
vpx_startup_setup.sh:250:echo "Citrix XenServer Conversion Manager Virtual Appliance configuration is complete."
vpx_startup_setup.sh:257:echo -e "The Citrix XenServer Conversion Manager Service is running at \033[40;33;1m$ip\033[0m"
xcm_self_configure.sh:69:makecert -r -n "CN=Citrix XenServer Conversion Manager Appliance" -sv root.key root.cer >> $logfile 2>&1
xcm_self_configure.sh:131:echo "Citrix XenServer Conversion Manager Virtual Appliance configuration is complete."

修改Citrix XenServer,使用其他字符替换。xx使用你想替换成的字符。

1
2
3
4
5
6
-bash-4.2# sed -i 's/Citrix XenServer/xx/g' vpx_startup_setup.sh
-bash-4.2# sed -i 's/Citrix XenServer/xx/g' convsvcd
-bash-4.2# sed -i 's/Citrix XenServer/xx/g' xcm_self_configure.sh
-bash-4.2# sed -i 's/Citrix XenServer/xx/g' eula_render.sh
-bash-4.2# cd /etc/
-bash-4.2# sed -i 's/Citrix XenServer/xx/g' issue

重启虚拟机。

1
-bash-4.2# reboot