Installing xVM on OpenSolaris

本文档提供了在OpenSolaris环境下安装与配置Xen虚拟化的详细步骤。从安装必要的软件包开始,到配置GRUB启动加载器,再到启动Xen相关服务,最后验证配置是否正确。对于希望在OpenSolaris上实现Xen虚拟化的用户来说,这是一个实用的指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

I used this as a starting point to get Xen running.

1. Install the base xVM
pkg install SUNWxvmhvm
pkg install SUNWvirtinst
pkg install SUNWlibvirt
pkg install SUNWurlgrabber
 
2. Configure GRUB (I did this step completely different)
pfexec gedit /rpool/boot/grub/menu.lst
add:
title   ... xVM
findroot (pool_rpool,0,a)
kernel$ /boot/$ISADIR/xen.gz
module$ /platform/i86xpv/kernel/$ISADIR/unix /platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
bootfs rpool/ROOT/opensolaris-1
3. Reboot into new configuration
4. 'uname -a' should contain 'i86xpv'
 
5. Startup the services
svcadm enable store
svcadm enable xend
svcadm enable console
svcadm enable domains
svcadm enable virtd 
 
6. Make sure they are running
malachi@serveris:~# svcs | grep xvm
online 19:34:15 svc:/system/xvm/store:default
online 19:34:22 svc:/system/xvm/xend:default
online 19:34:24 svc:/system/xvm/console:default
online 19:34:29 svc:/system/xvm/domains:default
online 19:34:33 svc:/system/xvm/virtd:default
 
Now to figure out how to do the domU :)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值