- 浏览: 1304646 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (351)
- Java General (37)
- .net General (2)
- Linux Toy (55)
- Oracle (81)
- Mysql (11)
- Programer Career (12)
- Oh, my living ! (2)
- Shell Script (8)
- Web Service (0)
- Linux Server (22)
- Php/Python/Perl (3P) (2)
- Javascript General (5)
- Saleforce Apex Dev (2)
- Web General (5)
- Xen & VM tech. (17)
- PSP (13)
- OpenSolaris (34)
- php (1)
- RAI/flex/action script (16)
- asterisk/CTI (7)
- 交互设计 (6)
- English (3)
- Lucene (1)
最新评论
-
GuolinLee:
markmark
JVM调优总结 -Xms -Xmx -Xmn -Xss -
di1984HIT:
写的太好啊。
JVM调优总结 -Xms -Xmx -Xmn -Xss -
javajdbc:
javajdbc 写道
JVM调优总结 -Xms -Xmx -Xmn -Xss -
javajdbc:
...
JVM调优总结 -Xms -Xmx -Xmn -Xss -
alvin198761:
非常感谢,国外的被封杀了,你这里还有一份
How to Convert An Image-Based Guest To An LVM-Based Guest
Creating an OpenSolaris domU
In this first release, there is no support for virtual disk devices in OpenSolaris domU. What follows is a procedure for creating a diskless client domU.
Setup the Solaris diskless root server for the OpenSolaris domU
Loopback mount the build 31 Solaris DVD ISO image
# mount -F hsfs `lofiadm -a /full/path/to/the/iso/image` /mnt
Create a Solaris root image that the client (the Solaris domU) will boot from using smosservice(1M) to install the client OS services from the DVD image:
dlserver# /usr/sadm/bin/smosservice add -u root -- \ -x mediapath=/path/to/install/media \ -x platform=i386.i86pc.Solaris_11 \ -x cluster=SUNWCXall
Add Clients
Obtain a static IP address and hostname to use for each OpenSolaris domU you want to start.
Now configure each diskless client on the server with:
dlserver# /usr/sadm/bin/smdiskless add -u root -- \ -i <domU-ipaddr> -e <domU-macaddr> -n <domU-hostname> \ -x os=i386.i86pc.Solaris_11 \ -x root=/export/root/<domU-hostname> \ -x swap=/export/swap/<domU-hostname> \ -x dump=/export/dump/<domU-hostname>\ -x swapsize=512 -x dumpsize=512
where <domU-ipaddr> is the IP address that the Solaris domU will use, <domU-hostname> is the corresponding hostname and <domU-macaddr> is the MAC address to assign to the virtual network interface for the Solaris domU. Choose a different MAC address for each client to ensure each virtual network interface will be unique on your subnet.
BFU OpenSolaris over the root image
As a prerequisite, the ON Specific build tools package (SUNWonbld) must be installed on the diskless client server. SPARC and x86 version of the SUNWonbld package are available here.
The Solaris i86xen archives must be bfu'd over the top of the root image(s) and usr image that were created by smosservice(1M).
First create an empty directory for the i86xen kernel bits in each client root filesystem so that bfu knows that these need to be added:
dlserver# mkdir /export/root/<domU-hostname>/platform/kernel/i86xen
At this point, BFU should be used to update the root image for diskless clients using the following syntax (note the -c):
dlserver# /opt/onbld/bin/bfu -c <osox-archive-dir> /export/exec/Solaris_11_i386.all
Then carefully use ACR to resolve any BFU conflicts:
dlserver# /opt/onbld/bin/acr /export/root/<domU-hostname>
Finally, use bootadm(1M) to update the boot archive on the client root image
dlserver# bootadm update-archive -R /export/root/<domU-hostname>
If you do modify and then rebuild the OpenSolaris on Xen code base, BFU should be used in exactly the same way to update the root images and the usr filesystem (/export/exec/Solaris_11_i386.all). Note, however, because that usr filesystem is shared between the clients, that all client roots are (and must be) updated by BFU at the same time.
And Finally …
Back on the dom0 machine, NFS mount the diskless root(s) so that the dom0 domain builder can access them. You will almost certainly have to fiddle with the default restrictive NFS export permissions on dlserver to enable the dom0 kernel to mount them.
On the dom0 box, add an entry like this to /etc/fstab to automatically mount the Solaris domU root image at boot.
dlserver:/export/root /x/root nfs defaults,rw 0 0
Don't forget the mount point!
dom0# mkdir -p /x/root dom0# mount -a
Create a domain configuration file with entries like the following:
memory = 256 name = "<domU-hostname>" kernel = "/x/root/<domU-hostname>/platform/i86xen/kernel/unix" extra = "/platform/i86xen/kernel/unix -B console=xen" ramdisk = "/x/root/<domU-hostname>/platform/i86pc/boot_archive" nics = 1 ip = "<domU-ipaddr>" vif = [ 'mac=<domU-macaddr>, bridge=xenbr0' ] nfs_root = "dlserver:/export/root/<domU-hostname>" nfs_server = "<dlserver-ipaddr>" restart = 'none'
You can now boot the Solaris domain by typing the following command as root on the dom0 kernel:
dom0# xm create -c <config file>
Be patient with the first boot; SMF initialization is not particularly efficient yet on diskless clients, and it may appear to be hung.
Quite a journey, but worth it once you get there!
发表评论
-
ZFS Pool 里增加硬盘做镜像
2010-04-04 09:02 5303ZFS 第一次出现在 OpenSolaris 上是 ... -
ZFS 的简单使用
2010-04-04 08:59 1694ZFS 的简单使用 ZFS 被 Sun 称为史上最 ... -
opensolaris FAQ
2010-04-03 19:17 1434Frequently Asked Questions ... -
opensolaris 让pkg 更快,请用中国源...
2010-04-03 18:33 1994想写一些关于opensolaris的文章很久了,不过一直没有这 ... -
在osol jeos 中使用zfs
2010-04-03 15:54 1838ZFS 作为 Solaris 10 和 O ... -
在osol jeos 中查看硬件信息 1
2010-04-03 15:38 1247. 查看cpu的状态 # psrinfo -v ... -
在osol jeos 中安装 程序 2
2010-04-03 14:10 2164Part2: Creating NAS server on O ... -
在osol jeos 中安装 程序 1
2010-04-03 14:08 1331Part 1: Check JeOS readiness as ... -
Opensolaris 在xen中的PVM 捷径。
2010-04-03 13:47 1340一直以下,都想在Xen(oracle vm)中安装opens ... -
solaris 10 一句话
2009-09-09 08:59 3128环境:SunOS szxsolaris 5.10 s10_6 ... -
Sun xVM hypervisor
2008-03-16 08:30 1516Here is Sun's announcement on S ... -
Solaris 8 Network Install from Linux
2008-03-16 08:08 1635I was able to successfully inst ... -
磁带机
2008-03-06 14:11 14441. device: root@nwtgz # ls /dev ... -
Solaris 初步设置
2008-03-05 21:14 25101.配置root用户SSH登陆 # vi /etc/ ... -
Enabling SSH on a Minimal Solaris 10 Install
2008-03-03 16:37 1545If you need to manage a Solaris ... -
Install sis900 on solaris 10 i386
2008-03-02 22:34 13481. download from : http://homep ... -
Export sunos 5.8 NFS to linux client
2008-02-26 20:57 21381. export dir: root@nwtgz # cat ... -
Installation of Solaris 10_x86 on qemu (linux host
2008-02-25 21:45 2177Normally installation of guest ... -
通过pkg-get在Solaris上通过互联网安装软件
2008-02-25 21:41 26751. 安装CSWpkggeg (Install CSWpkgg ... -
OpenSolaris Xen domU
2008-02-25 11:39 2077This page describes the install ...
相关推荐
国外小伙子写的RHEL制作nfs网络pxe启动,还是很不错,按照他的方法绝对不会错!
ccboot 2017 破解文件,有兴趣的朋友可以下载下来试试
心架构模式——数据中心Diskless架构。文中详细介绍了Diskless架构的定义和关键技 术,以及典型场景下的应用实践和未来的发展趋势。Diskless架构通过存储、算力资源 的彻底解耦和池化共享,实现了数据中心架构的扁平...
1、HSM-Diskless是通过局域网引导Windows的软件。 2、支持 W2K3/WXP/W2KSP4 3、服务器的镜像文件作为虚拟磁盘的存储空间,通过网络交互将服务器的镜像文件真实的模拟成客户机的硬盘。 4、客户机通过使用虚拟硬盘可以...
Absolute FreeBSD dives deep into server management, taking you beyond just making things work and into understanding why they work. You’ll learn: How to best install FreeBSD to meet your needs ...
DisklessSystem 基于Windows Server 2012 R2开发的无盘工作站管理系统
The critically-acclaimed FreeBSD guide, now expanded, revised, and updated! FreeBSD is the muscle behind companies from Netflix to EMC. Any place where someone does heavy lifting on the Internet, you...
DRBL提供无盘或无系统环境。 它使用分布式硬件资源,并使客户端可以完全访问本地硬件。 它还包括Clonezilla,一个类似于Ghost的分区和磁盘克隆实用程序。
允许使用模板化的系统配置文件创建和操作无盘Linux(和Unix)客户端,以提高此应用程序的灵活性和兼容性。
GEDI,GEneric无盘安装程序,是一组bash脚本,其简单目的是使安装和管理一组无盘客户端更加容易。
DIET-PC(无盘嵌入式技术个人计算机)是一种软件套件,使IT专业人员能够使用嵌入式Linux方法基于商品x86(PC),PowerPC(Mac)或ARM(手持)硬件构建开放源GUI设备。
DRBL (Diskless Remote Boot in Linux) EASEUS Disk Copy (Disk Cloning Tool) FreeDOS (Balder img) GParted (Partition Tools) GRML (system rescue) HDT (Hardware Detection Tool) Kali (Penetration Testing) ...
Avoid hang of diskless replication fork child when parent crashes (#11463) Fix crash with module API of list iterator and RM_ListDelete (#11383) Fix TLS error handling to avoid connection drops on ...
该项目用于从崩溃的OS(当前为Linux和Windows)的根文件系统备份中恢复。 它包含无盘OS(基于Debian的操作系统)和一些用于还原OS和Bootloader的Shell脚本。
Redis 6.0 introduces SSL, the new RESP3 protocol, ACLs, client side caching, diskless replicas, I/O threads, and many more improvements. Currently in release candidate, will be stable between March ...
),假设您已经按照 FreeBSD 手册中的描述配置了 pxe-filesystem-server:https://docs.freebsd.org / zh-CN / books / handbook / advanced-networking /#network-diskless您无需将u-boot或固件放入pxe-server。...
这个是合集~一般是这里最全的了 另外加的 PDF是英文的 ....html<br>Advocacy<br>Automount-html<br>Battery-Powered-html<br>BootPrompt-HOWTO<br>Bridge-html<br>Bzip2-html<br>CDROM-HOWTO-html<br>Chinese-HOWTO-html<br>Clock-html<br>Colour-ls-html<br>Config-HOWTO-html<br>cpp.pdf<br>Diskless...
Bug Fixes Avoid hang of diskless replication fork child when parent crashes (#11463) Fix crash with module API of list iterator and RM_ListDelete (#11383)
修复 diskless replication fork child 终止后崩溃问题(#8991) 修复不受支持的配置上的 redis-benchmark 崩溃 ( #8916 ) 其他错误修复: 修复 UNLINK 在 deleted consumer groups 的 stream key 上的崩溃( #8932...
Redis 7新特性汇总: 1. 在集群模式下显着节省内存和延迟改进 。 2. 在许多散列或 zset 键的情况下显着节省内存。 3. 复制积压和副本使用一个...16. 本在 repl-diskless-load 期间继续提供数据= swapdb 以提高可用性 。