免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2570 | 回复: 0
打印 上一主题 下一主题

HP_rx8640_HPUX 11.23下VM HOST克隆操作 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-02 17:06 |只看该作者 |倒序浏览

root@npar2:/#hpvmstatus
[Virtual Machines]
Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
hpvma                    1 HPUX    On (OS)        2     2     0    4 GB        0
hpvmb                    2 HPUX    Off            2     1     0    4 GB        0
hpvmc                    3 HPUX    Off            2     1     0    4 GB        0
hpvmd                    4 HPUX    Off            2     1     0    2 GB        0
root@npar2:/#hpvmstatus -vp 1
Version A.03.50.00
[Virtual Machine Details]
Virtual Machine Name VM #  OS Type State
==================== ===== ======= ========
hpvma                    1 HPUX    On (OS)   

[Authorized Administrators]
Oper Groups:  
Admin Groups:
Oper Users:   
Admin Users:  

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
     2      100.0%  100.0%

[Memory Details]
Total    Reserved
Memory   Memory  
=======  ========
   4 GB     64 MB

[Storage Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
disk    scsi         0   0   0   0   0 disk      /dev/rdsk/c5t0d0
tape    scsi         0   0   0   1   0 attach    /dev/rscsi/c3t3d0

[Network Interface Details]
Interface Adaptor    Name/Num   PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================

[Misc Interface Details]
Guest                                 Physical
Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
serial  com1                           tty       console
root@npar2:/#hpvmstatus
[Virtual Machines]
Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
hpvma                    1 HPUX    On (OS)        2     2     0    4 GB        0
hpvmb                    2 HPUX    Off            2     1     0    4 GB        0
hpvmc                    3 HPUX    Off            2     1     0    4 GB        0
hpvmd                    4 HPUX    Off            2     1     0    2 GB        0
root@npar2:/#hpvmclone -P hpvma -N hpvmd -b disk:scsi:0,0,0:disk:/dev/rdsk/c5t3d0
hpvmclone: A guest with the name 'hpvmd' already exists.
hpvmclone: Unable to clone the guest.
NOTE:对于已经存在的vm host,不能进行克隆操作(即使vm host里面并没有操作系统)

root@npar2:/#hpvmremove -p 4
hpvmremove: Remove the virtual machine 'hpvmd'? [n/y]: y
root@npar2:/#hpvmclone -P hpvma -N hpvmd -b disk:scsi:0,0,0:disk:/dev/rdsk/c5t3d0
hpvmclone: WARNING (host): Unable to open file '/dev/rscsi/c3t3d0' when remapped as file '/dev/rmt/c3t3d0BESTnb' using O_RDWR|O_NDELAY - error reason: 'Device busy'.
hpvmclone: The -b option can not be used on an active guest.
hpvmclone: Unable to create clone 'hpvmd'.
hpvmclone: Unable to clone the guest.
NOTE:对于已经启动的vm host,也不能进行克隆操作

root@npar2:/#hpvmstatus
[Virtual Machines]
Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
hpvma                    1 HPUX    Off            2     2     0    4 GB        0
hpvmb                    2 HPUX    Off            2     1     0    4 GB        0
hpvmc                    3 HPUX    Off            2     1     0    4 GB        0

root@npar2:/#hpvmstop -p 1
hpvmstop: Stop the virtual machine 'hpvma'? [n/y]: y
root@npar2:/#hpvmclone -P hpvma -N hpvmd -b disk:scsi:0,0,0:disk:/dev/rdsk/c5t3d0
140014+1 records in
140014+1 records out
hpvmclone: Virtual storage cloned successfully.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6589/showart_1162387.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP