删除replica对像

 

在vCenter的存储里删除了"replica-b86ddda1-ba5b-4bb4-943d-1c37d2ead05b"目录里所有的内容,但在View还存在"replica-b86ddda1-ba5b-4bb4-943d-1c37d2ead05b"这个条目,用下面命令可以删除掉。

 

C:\Program Files (x86)\VMware\VMware View Composer>sviconfig -operation=unprotectentity -DsnName=VIEW_COMPOSER -VcUrl=https://192.168.0.1/sdk -VcUsername=administrator -VcPassword= -InventoryPath="<Datacenter Name>/vm/VMwareViewComposerReplicaFolder/replica-b86ddda1-ba5b-4bb4-943d-1c37d2ead05b" -Recursive=true

WARNING: Unprotecting VC managed entities will allow operations
(power on, delete, migrate) that can cause existing linked clones connected
to those managed entities to fail to work correctly.
Establishing database connection.
Database connection established successfully.
Loading all VC config entries.
Identifying matched VC config entries.
Identified 0 matched VC config entries.
Identified 0 matched VC config entries with certificate validation set to true.
No matched VC configure entry is found. Connecting to VC with no certificate val
idation
Establishing connection to the VC server.
VC server connection established successfully.
Looking for the entity on the VC server.
VirtualMachine found.
VirtualMachine with MoId vm-30 sucessfully unprotected.
Successfully unprotected entities: 1
Fail to unprotect entities: 0

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值