Solved

VMware View Linked Clone sviconfig error

Posted on 2011-09-27
2
3,067 Views
Last Modified: 2012-08-13
One of our VM's in View always ends up in error provisioning (missing) state. We removed the VM from ADAM database. The VM is removed from the vCenter. But when I tried to remove the VM's entry in View Composer database using SviConfig, it throws me this error -

C:\Program Files (x86)\VMware\VMware View Composer>SviConfig -operation=RemoveSv
iClone -VmName=vmachine1 -AdminUser=administrator -AdminPassword=*******
Get clone ID.
Remove linked clone.
SviConfig finished with an error. Exit code: 4
VMware.Sim.Fault.VcObjectNotFoundFault

Our environment is vCenter 4.1, View 4.6 and View Composer 2.6.

Any ideas?
0
Comment
Question by:kd36939
2 Comments
 

Author Comment

by:kd36939
ID: 36918003
Finally solved this with help from VMware Support Group. Followed the below steps:

1. Go to the pool : disable provisioning in the pool.

2.  Go to the ADAM database: delete the CN entry.

3.  Go to Composer database -> Tables

       dbo.SVI_COMPUTER_NAME - Edit top 200 - Find VM & Delete it.

 

       dbo.SVI_VM_NAME - Edit top 200 - Find VM & Delete it.

 

       dbo.SVI_SIM_CLONE - Edit top 200 - look for the VM name & copy the parent string file on a notepad.

            Take the 1st part of the copied string (CN Number).
 

      dbo.SVI_SC_PDISK_INFO - edit top 200 - Ran query select top 500*  to find the VM name and delete its entry.

    - Select top 500 * from dbo.SVI_SC_PDISK_INFO

    - Delete from <tablename> where parent_id = (select ID from tablename where VM_Name  like @name)
 

      dbo.SVI_SIM _CLONE - Find and delete the entry of the VM.

 
4  Check VC database - dbo.VPX

5  Go to AD and  remove the computer account from there
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 37155466
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
View Composer Comp Account Creation Errors 3 70
CPU allocation for a VM 8 67
VMware infrastructure high level overview in organization 1 64
Convert VMWare to Hyper-V 8 65
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now