2005年4月にNovell SUSE LINUX Professional 9.3日本語版(以下SLP9.3)がリリースされました。
そのSLP9.3にはUMLとXen(2.0.5)の二つの仮想化環境が付属しています。
YaSTには[UMLインストール]と[Installation into Directory for XEN]というツールが用意されています。
[UMLインストール]はSLP9.3自体をUML(一種のゲストOS)として動作させるための環境構築ツールで、ホストOS内にもう一つのSLP9.3をインストールします。
[Installation into Directory for XEN]はSLP9.3自体をXenのDomainU(一種のゲストOS)として動作させるためのツールで、これもホストOS内にもう一つのSLP9.3をインストールします。
今回は[Installation into Directory for XEN]の使用手順を紹介します。
1.前提条件
前提条件は以下の通りです。
###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN
kernel (hd0,0)/boot/xen.gz dom0_mem=720896
module (hd0,0)/boot/vmlinuz-xen root=/dev/hda1 vga=0x334 selinux=0 splash=silent showopts
module (hd0,0)/boot/initrd-xen
Filesystem 1K-ブロック 使用 使用可 使用% マウント位置 /root/suse93xen.img 4194172 32840 4161332 1% /mnt/tmp※ここではumount /mnt/tmpは行いません。
kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" memory = 256 name = "suse93u" nics=1 vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0' ] disk = [ 'file:/root/suse93xen.img,hda1,w' ] root = "/dev/hda1 ro" extra = "5" |
# default: off
# description: This serves out a VNC connection which starts at a KDM login \
# prompt. This VNC connection has a resolution of 1024x768, 16bit depth.
service vnc1
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16
type = UNLISTED
port = 5901
}
# default: off
# description: This serves out a VNC connection which starts at a KDM login \
# prompt. This VNC connection has a resolution of 1280x1024, 16bit depth.
service vnc2
{
type = UNLISTED
port = 5902
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = :42 -inetd -once -query localhost -geometry 1280x1024 -depth 16
disable = yes
}
# default: off
# description: This serves out a VNC connection which starts at a KDM login \
# prompt. This VNC connection has a resolution of 1600x1200, 16bit depth.
service vnc3
{
type = UNLISTED
port = 5903
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = :42 -inetd -once -query localhost -geometry 1600x1200 -depth 16
disable = yes
}
# default: off
# description: This serves out the vncviewer Java applet for the VNC \
# server running on port 5901, (vnc port 1).
service vnchttpd1
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/vnc_inetd_httpd
server_args = 1024 768 5901
type = UNLISTED
port = 5801
}
# default: off
# description: This serves out the vncviewer Java applet for the VNC \
# server running on port 5902, (vnc port 2).
service vnchttpd2
{
type = UNLISTED
port = 5802
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/vnc_inetd_httpd
server_args = 1280 1024 5902
disable = yes
}
# default: off
# description: This serves out the vncviewer Java applet for the VNC \
# server running on port 5902, (vnc port 3).
service vnchttpd3
{
type = UNLISTED
port = 5803
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/vnc_inetd_httpd
server_args = 1600 1200 5903
disable = yes
}
|