Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5701709
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2008-09-02 17:06:26

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.

阅读(2434) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~