跳至主要内容

虚拟技术使用

Vmware ESXI 开始实用command line ,其实还是有其他登录方式的只不过用client管理比较好看而已。
Host装完以后, 可以alt-f1 然后输入unsupported再打回车符。 就可以进到里面 文章可以参考。 开启本机ssh和改变host.
vi /etc/inet.conf uncomment ssh. 然后在/etc/init一下, 不会影响已经启动的虚拟机。 然后直接可以从外网链接到command模式下.
 
由于自己已经能顺利实现在solaris上,讲zone占到nfs上。 具体步骤如下:

 

  1. make sure NFS is having enough space to install.
  2. make sure you have root permission.
  3. cd Path
  4. mkfile 6G zone ( the solaris standard installation will cost 6G and the filename is better the same as zone name)
  5. lofiadm ( run this command for confirming the link between path and the virtual devices)
  6. lofiadm –a /Path/zone /dev/lofi/* ( please count the * one by one)
  7. newfs /dev/lofi/*
  8. mkdir /localpath/zone (localpath as the old local zone path, zone name as NFS’ zone)
  9. mount /dev/lofi/* /localpath/zone
  10. chmod 700 /localpath/zone
  11. vi /zone.cfg (please modify the ip address, zonepath as required , do not modify the others)
  12. zonecfg –z zone –f /zone.cfg
  13. zoneadm list –ivc (confirm the zone had been listed, correct)
  14. zoneadm –z zone install
  15. zoneadm –z zone boot
  16. zlogin –C zone (set the normal way, use root000 as root password)
  17. vi /etc/sshd_config (commont root login)
  18. svcadm restart sshd
现在想试着将用vmware exsi使用nfs模式,将虚拟机装到nfs上,用windows的client端很容易实现挂在,无论是用nis share出来的盘,或者用netapp share出来的盘, 这样可以便于备份和便于换空间。  注意在写的使用用netapp的要写好/vol 之前因为没写,导致mount会有问题。
加载以后,数据饼图显示的话那块。
 
 
ESXI 相对于ESX 被阉割了很多功能,但是对于一般小型企业而言,已经够用。lun的storage需求基本没有。
在command命令下加在nas/NFS的share空间,esxcfg-nase -a /name -o hostname -s /vol 即可


upgrade 3.5 to 4.0 u1 use ESXi-4.0.0-1.9.208167-upgrade-release.zip
upgrede 4.0 to 4.0 u1 use ESXi-4.0.0-update01.zip
--
Alex Tu
-----------------------------------------------------------
ShangHai,China

评论

此博客中的热门博文

4 steps to delete account in Gerrit DB

4 steps to delete account in DB. Delete from accounts where preferred_email=’’; delete from account_ssh_keys where account_id=''; delete from account_external_ids where external_id='gerrit:*’; delete from account_external_ids where external_id='username:*’; whatever it was in H2 database and postgres db . H2: ssh -p 24198 localhost gerrit gsql Postgres: psql

vmware esxi 安装

需求来自于save cost. 开始有用户需求部署vmware esxi为架构的虚拟机, 由于目前没有server来测试,用户自己找的pavilion的家用机系列也跑不了。只得从onsite那里借来一台xw4400. 这机器吧,挺好,xw4400开跑的64位虚拟支持的话,先得在Blos上设置下, 因为没有这方面经验,以为机器都能直接判断,但是从安装实录上里讲,需要在blos里这是,对于xw4400的设置是,security-os security- enable virtualization. 然后重启。顺便丢入光盘。   iso其实很小大概只有200多M,是一个linux kernel的东西。里面从个人观点来看,带有web接口。和管理接口。 安装程序会自动检测你机器的配置是否符合安装要求,家用额pavilion就没检测过,看网上资料,初步认定是网卡没有不办法兼容。 一路按照提示点F2和enter就成。由于是基于网络的,请注意ip的分配。 安装完成之后请拿出光盘,因为我之前就是这样犯了个错误,导致重复安装一次:(   重启之后,会有一个界面告诉你这个管理的 http://ip 是啥, 然后你可以通过windows client段去下载客户端管理工具,ci. 里面按f2是管理配置界面,可以配置root密码,ip地址等等,详细可以参考 文章 .   点击后的下载ci客户端,点击,输入控制端ip/用户名/密码。 然后就是如vmware的配置一般。 有一点奇怪的是,他竟然没有办法认出host上的光驱。好在有网络以后,他可以mount本机和网络上的盘,当然我指的是client上的物理光驱以及网络上的虚拟iso. 选择client的话,然后用物理光驱要选emulate cd. 安装非常的方便。 然后装完两个32bit and 64bit的suse. 用户开始test -- Alex Tu ----------------------------------------------------------- ShangHai,China