- 浏览: 1321151 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (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 5400ZFS 第一次出现在 OpenSolaris 上是 ... -
ZFS 的简单使用
2010-04-04 08:59 1759ZFS 的简单使用 ZFS 被 Sun 称为史上最 ... -
opensolaris FAQ
2010-04-03 19:17 1465Frequently Asked Questions ... -
opensolaris 让pkg 更快,请用中国源...
2010-04-03 18:33 2046想写一些关于opensolaris的文章很久了,不过一直没有这 ... -
在osol jeos 中使用zfs
2010-04-03 15:54 1918ZFS 作为 Solaris 10 和 O ... -
在osol jeos 中查看硬件信息 1
2010-04-03 15:38 1309. 查看cpu的状态 # psrinfo -v ... -
在osol jeos 中安装 程序 2
2010-04-03 14:10 2220Part2: Creating NAS server on O ... -
在osol jeos 中安装 程序 1
2010-04-03 14:08 1385Part 1: Check JeOS readiness as ... -
Opensolaris 在xen中的PVM 捷径。
2010-04-03 13:47 1386一直以下,都想在Xen(oracle vm)中安装opens ... -
solaris 10 一句话
2009-09-09 08:59 3188环境:SunOS szxsolaris 5.10 s10_6 ... -
Sun xVM hypervisor
2008-03-16 08:30 1564Here is Sun's announcement on S ... -
Solaris 8 Network Install from Linux
2008-03-16 08:08 1681I was able to successfully inst ... -
磁带机
2008-03-06 14:11 15041. device: root@nwtgz # ls /dev ... -
Solaris 初步设置
2008-03-05 21:14 25651.配置root用户SSH登陆 # vi /etc/ ... -
Enabling SSH on a Minimal Solaris 10 Install
2008-03-03 16:37 1590If you need to manage a Solaris ... -
Install sis900 on solaris 10 i386
2008-03-02 22:34 13931. download from : http://homep ... -
Export sunos 5.8 NFS to linux client
2008-02-26 20:57 21871. export dir: root@nwtgz # cat ... -
Installation of Solaris 10_x86 on qemu (linux host
2008-02-25 21:45 2251Normally installation of guest ... -
通过pkg-get在Solaris上通过互联网安装软件
2008-02-25 21:41 27311. 安装CSWpkggeg (Install CSWpkgg ... -
OpenSolaris Xen domU
2008-02-25 11:39 2132This page describes the install ...
相关推荐
国外小伙子写的RHEL制作nfs网络pxe启动,还是很不错,按照他的方法绝对不会错!
ccboot 2017 破解文件,有兴趣的朋友可以下载下来试试
《数据中心Diskless白皮书202212》深入探讨了数据中心架构的转型与创新,提出了Diskless架构这一全新的概念。随着数字化时代的到来,数据中心的重要性日益凸显,它们需要高效处理和存储海量数据,同时也面临着碳中和...
1、HSM-Diskless是通过局域网引导Windows的软件。 2、支持 W2K3/WXP/W2KSP4 3、服务器的镜像文件作为虚拟磁盘的存储空间,通过网络交互将服务器的镜像文件真实的模拟成客户机的硬盘。 4、客户机通过使用虚拟硬盘可以...
在本案例中,我们讨论的是基于Windows Server 2012 R2开发的DisklessSystem,它是一个用于构建和管理无盘工作站环境的应用程序。下面我们将深入探讨这个系统的相关知识点。 1. **无盘技术**: 无盘技术的核心是将...
标题中的“Diskless Nodes for Unix/Linux-开源”指的是在Unix/Linux操作系统环境中构建和管理无盘节点的技术。这种技术主要用于创建一个没有本地硬盘的计算机节点,它们依赖于网络启动和存储其操作系统镜像在服务器...
**GeDI(GEneric Diskless Installer)**是一款开源项目,专为简化无盘客户端的安装和管理工作而设计。无盘客户端系统在许多环境,如学校、图书馆或企业内部网络中,由于其易于管理和维护的特性,被广泛采用。GeDI...
DRBL提供无盘或无系统环境。 它使用分布式硬件资源,并使客户端可以完全访问本地硬件。 它还包括Clonezilla,一个类似于Ghost的分区和磁盘克隆实用程序。
- ROOT 资源名称为 `root1`。 - DUMP 资源名称为 `dump1`。 - PAGING 资源名称为 `paging1`。 - HOME 资源名称为 `home1`。 - SHARED_HOME 资源名称为 `shared_home1`。 - TMP 资源名称为 `tmp1`。 - ...
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) ...
PVS 的前身曾是一款知名的 diskless 软件(BXP),可以在服务器端创建一个或多个虚拟磁盘镜像,客户端可以通过网卡方式引导(网卡 PXEbootrom)在 CitrixVDiskDrivers 的支持下连接到服务端为之提供的虚拟盘,并可以...
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 ...
[root@localhost ~]# docker load -i redis_4.0.10.tar 加载完成后,可以使用 docker images 命令来查看已安装的镜像。 [root@localhost ~]# docker images |grep redis gmprd.baiwang-inner....
redis-server /usr/local/redis-cluster/7002/redis.conf redis-server /usr/local/redis-cluster/7003/redis.conf redis-server /usr/local/redis-cluster/7004/redis.conf redis-server /usr/local/redis-cluster/...
- 启动命令:`/usr/local/bin/redis-server /etc/redis/redis.conf` - 使用init.d脚本启动:`/etc/init.d/redis-server start` - 查看启动状态:`ps -ef | grep redis` - 使用客户端测试:`redis-cli –h <host>...
- 如果选择创建,则需指定 Diskless 和 Dataless 资源名称(如:root1、dump1、paging1 等)、资源目录以及对应的文件系统大小。 2. **配置 NIM 客户端文件集**: - 配置客户端机器名称为 test2。 - 主网络安装...
- **命令行参数启动**:使用`redis-server --port <slaveport> --slaveof <masterip> <masterport>`,如`redis-server --port 6380 --slaveof 192.168.3.134 6379`。 - **运行时命令启动**:在从节点客户端输入`...