Rename scvmm 2012 server

Hello ,
I have question regarding scvmm 2012 server 
We have successful installed and configure scvmm 2012 server along with sql on same server
configuration for hyper v servers and now we want to change the name & IP address of the server.
I tested this in test environment and started library related errors and other errors into this .
So just wanted to know what needs to be done to get it work properly

Hi Sir,
Based on my understanding , "reinstall VMM with a retained database" may cover the needs :
https://technet.microsoft.com/en-us/library/cc764334.aspx
After uninstalling the VMM then perform changing computer name and IP address for the server :
Rename SQL server :
https://msdn.microsoft.com/en-us/library/ms143799.aspx
https://social.msdn.microsoft.com/Forums/en-US/5fe94a8e-3fae-49e9-8eb0-bdba96c35b12/sql-server-name-change?forum=sqldatabaseengine
Change IP for SQL server :
https://social.msdn.microsoft.com/Forums/en-US/0cac35a2-8adb-4916-9631-adb77fa63ea5/how-do-i-change-an-ip-address-of-sql-server-which-is-locally-hosted-and-is-not-on-cluster?forum=sqlgetstarted
Hope it is helpful to you .
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

Similar Messages

  • Point Imaged/Cloned Sharepoint 2010 to different/renamed SQL 2012 server - what needs to be changed/edited?

    Newbie here... I am using our development VM's one has SP 2010 installed/working and configured and the other is SQL 2012 housing the DB's for the working SP sites and a third running IIS and hosting the pages.  I want to use clones to copy to additional
    VM's, rename the SQL and rename the SP 2010 (the IIS will stay the same just add the cloned site to it. MY question is "Is there an automated way of reconfiguring SP 2010 to point to the new SQL server? (I've already figured out how to change the SID
    information and run the queries on the SQL, just need info on the SP 2010 part.)
    Thanks,
    Jon P.

    You can't do this, don't try it. For VM purposes, SharePoint does not support:
    Time Sync
    Snapshotting/Checkpoints
    VM Backups (e.g. SAN-based or VMDK/VHD-based backups)
    You will cause problems doing what you're attempting to do, unless you isolate these VMs onto a new network that has no access to the production network -- in this case, you would also need a copy of one Domain Controller from production, as well.
    Best bet is to build a new farm and restore content to it via content database/service application database restoration.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Can i rejoin ny SCVMM 2012 server to domain with same name & IP address?

    Dear all..
    I am in situation where i have to rejoin my scvmm server to  domain with same name & ip address.one of the fool admin has deleted my SCVMM's computer object from AD. I have recreated the object & tried to log on but no luck.. i have to rejoin
    the server.
    Does it have any risks involved or its just fine?

    Hi,
    First the behavior is normal. If an computer accounts is deleted, you cannot continue using the server without rejoining.
    SCVMM it's not depending (integration) on active directory in such way as Exchange.
    So, if the computer accounts has been deleted, there is no issue in creating a new one and rejoin the server. As long as the application on the server is able to look up any required directory services, it should be happy again.
    Best Regards,
    Jesper Vindum, Denmark
    Systems Administrator
    Help the forum: Monitor(alert) your threads and vote helpful replies or mark them as answer, if it helps solving your problem.

  • Can't able to add update server to fabric in SCVMM 2012 R2

    Hi,
    I have one windows server 2012 R2 standard machine (update server) with WSUS, I have installed from server manager as server role. This update server machine is having the public IP without domain and it is a VM on one of my Hyper-V server. I would like
    to add the update server to my SCVMM 2012 R2 environment. When I try to add the update server to the fabric, it can't seems to be add because its throwing the error like, "Error (410) Agent installation failed on update server. The RPC
    server is unavailable."
    Has anybody else have clue ?
    Can anybody offer some help ?

    Hi,
    following link provides info on how to add untrusted Hyper-V hosts to VMM
    http://technet.microsoft.com/en-us/library/gg610609.aspx
    as it might help you adding an untrusted WSUS also (haven't tested it myself)
    MCITP SA - MCP Active Directory - MCP Infrastructure - MCP Server Virtualization www.it101.eu

  • SCVMM 2012 - Doesn't show Server 2012 R2 Editions

    Hello,
    I have SCVMM 2012 with the latest service pack and agent versions installed. I have Server 2012 R2 Standard edition VMs running but I'm unable to select the correct operating system from the General tab under the VM properties. The most current operating
    system to choose from is 64-bit edition of Windows Server 2012 Standard. How do I make 2012 R2 Standard an option from the drop down list? Thanks
    Pat
    Pat

    upgrade to SCVMM 2012 R2 - that adds full support for the 2012 R2 operating system.
    Otherwise you never add additional OS support.
    <ducking - just the messenger>
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • What is SCVMM DHCP Server (x64) ? after pushing the agent from scvmm 2012 r2 console

    Hello Guys,
    I have installed the agent from scvmm 2012 R2 console & notice that in add remove Program its shows two things one is " Microsoft System center Virtual machine Manager Agent (x64) other is Microsoft System center Virtual machine Manager DHCP server
    (x64)"
    Need to know what is the role of this "Microsoft System center Virtual machine Manager DHCP server (x64)" on the server & why it get installed with scvmm agent.
    Thanks
    NM-BG
    NM-BG

    This is a good question, and I am happy to explain why you are seeing this agent.
    Windows Server 2012 introduced us for Network Virtualization using the GRE protocol (NVGRE). 
    In order to leverage NVGRE, you would have to manage your hosts entirely with powershell, if you didn't have VMM in place.
    When VMM is in place (and really should be in place, when using NVGRE), VMM act as the complete management layer, also for the NVGRE part. Since NVGRE basically is a
    policy driven technology, VMM need to keep track of every IP address used with NVGRE. During deployment of virtual machines connected to a VM Network with NVGRE (often referred to as Customer Addresses), VMM is able to configure static IP addresses
    on to these VMs, using the agent you are mentioning. This was introduced in VMM 2012 SP1, and is also present in the R2 Release. 
    So to summarize, it is a Hyper-V Switch Extension that is required on all Windows Server with Hyper-V to have DHCP to work correctly.
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • Can SCVMM 2012 R2 Operate Without Problems If Hyper-V Environment Is Running Windows Server 2012?

    Good afternoon,
    Are there any repercussions to using SCVMM 2012 R2 in a Hyper-V environment that is running Windows Server 2012? My Hyper-V hosts are running Windows Server 2012.
    Thanks,

    Hi,
    running SCVMM 2012 R2 in a Windows Server 2012 Hyper-V environment is fully supported
    best regards Marc Grote - www.it-training-grote.de

  • Missing Event Viewer VM Manager Log after ugrade from SCVMM 2012 SP1 to R2

    We recently upgraded from SCVMM 2012 SP1 to SCVMM 2012 R2. After the upgrade, I noticed that the VM Manager log, in the Event Viewer, is missing. I've tried to peruse all of the logs to see if it has been moved/renamed, with no luck. I highly doubt an important
    log would be removed without a replacement being available, so I'm curious if it was something that had to be enabled (isn't turned on by default).
     I had scripts which relied on the log for VM status changes, Event ID 821 (shut down/running/etc), to keep a last-used database for all of the VMs on our cloud.
    Has anyone run in to this problem, or have any idea how I can get get the information that was available in the VM Manager log?
    Thank you.

    I have a similar problem when migrating VMs from Windows 2008 R2 (Non Clustered) Hyper-V to Windows 2012 Hyper Cluster. I had previously migrated about 100 VMs like this with no problem. It appears since upgrading from VMM SP1 Rollup 4 to Rollup 5 this problem
    is happening. All Agents are up to date.
    I can migrate VMs in the cluster no problem.
    I removed the Windows 2008 R2 Hyper-V host and added it back which allowed the job to at least start but when it gets to the final steps of importing the VM it fails with the same error and references the VMM server.
    Others suggest this is a VMM Certificate problem and you can remove the Cluster node and add it back again but I can't do that in a production Cluster with hundreds of VMs. That is not an acceptable solution.
    How can we fix this?

  • SCVMM 2012 agent install fails on standalone 2008 R2 host

    I am attempting to install SCVMM 2012 agent and getting this error:
    Error (421)
    Agent installation failed on exhpv01.denverwater.org because of a WS-Management configuration error.
    Recommended Action
    Ensure that the Windows Remote Management service is enabled and running on the server exhpv01.denverwater.org. Additionally, in the Local Group Policy Editor (gpedit.msc), navigate to Computer Configuration\Administrative Templates\Windows Components\Windows
    Remote Management (WinRM), and then ensure that there are no policy settings configured for WinRM Client or WinRM Service.
    I have run winrm qc and it shows winrm is configured.  I have verified there is no gpo settings configuring winrm.
    My runas account is a local administrator on the target host.
    I can install the agent local but still cannot add to the SCVMM server.
    Mark

    I am attempting to install SCVMM 2012 agent and getting this error:
    Error (421)
    Agent installation failed on exhpv01.denverwater.org because of a WS-Management configuration error.
    Recommended Action
    Ensure that the Windows Remote Management service is enabled and running on the server exhpv01.denverwater.org. Additionally, in the Local Group Policy Editor (gpedit.msc), navigate to Computer Configuration\Administrative Templates\Windows Components\Windows
    Remote Management (WinRM), and then ensure that there are no policy settings configured for WinRM Client or WinRM Service.
    I have run winrm qc and it shows winrm is configured.  I have verified there is no gpo settings configuring winrm.
    My runas account is a local administrator on the target host.
    I can install the agent local but still cannot add to the SCVMM server.
    Mark

  • Unable to reinstall SCVMM 2012 R2 during database migration - access denied to VMMDKM container

    I'm trying to migrate my SCVMM 2012 R2 DB to a new SQL 2012 server. As per TechNet article http://technet.microsoft.com/en-us/library/dn469626.aspx,
    I uninstalled VMM, which went without a problem. During the reinstall, setup fails with "Unable to create or access the Active Directory container CN=VMMDKM,CN=System,DC=feroscare,DC=local. Access is denied. Specify the distinguished name
    for the container and verify that you have GenericRead|CreateChild|WriteProperty rights on the container." - as is shown in the setup log below.
    I'm trying to use the same account as the service account and to connect to the database. I'm logged into the VMM server as that user account (and running setup as that account). I have verified that the account has full control over the VMMDKM container
    and all descendant objects. I've also added these permissions for the VMM server's computer account, although I'm not sure that's necessary.
    VMM server is running Win 2012 R2, SQL server is 2012 running on Win 2012 R2. Domain controller is running 2008 R2 with AD at the 2003 functional level.
    Please can anyone please advise what to do next to troubleshoot this?
    What seem to be the relevant lines from the VMM setup log:
    "12:33:04:Error:SetupDKM method threw. See inner exceptions, Exception Type: System.DirectoryServices.DirectoryServicesCOMException, Exception Message: A constraint violation occurred.
    12:33:04:StackTrace:   at System.DirectoryServices.DirectoryEntry.CommitChanges()
       at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.AddAccessRule(IdentityReference identityReference, ActiveDirectoryRights rights)
       at Microsoft.VirtualManager.Setup.DKMHelper.SetupDKM(String containerName, String topContainerName)
    12:33:04:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.VirtualManager.Setup.Exceptions.BackEndErrorException, Exception.Message: Unable to create or access the Active Directory container CN=VMMDKM,CN=System,DC=feroscare,DC=local.
    Access is denied.
    Specify the distinguished name for the container and verify that you have GenericRead|CreateChild|WriteProperty rights on the container.
    12:33:04:StackTrace:   at Microsoft.VirtualManager.Setup.DKMHelper.SetupDKM(String containerName, String topContainerName)
       at Microsoft.VirtualManager.Setup.DKMHelper.SetDKM(Boolean isDKMEnabled)
       at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
    12:33:04:InnerException.Type: System.DirectoryServices.DirectoryServicesCOMException, InnerException.Message: A constraint violation occurred.
    12:33:04:InnerException.StackTrace:   at System.DirectoryServices.DirectoryEntry.CommitChanges()
       at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.AddAccessRule(IdentityReference identityReference, ActiveDirectoryRights rights)
       at Microsoft.VirtualManager.Setup.DKMHelper.SetupDKM(String containerName, String topContainerName)
    12:33:04:ProcessInstalls: Running the PostProcessDelegate returned false.
    12:33:04:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item.  Setting rollback.
    12:33:04:SetProgressScreen: FinishMinorStep.
    12:33:04:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs"
    Thanks in advance!

    Hi new_guise,
    Please refer to following link regarding "Reinstalling VMM with a Retained Database" :
    http://technet.microsoft.com/en-us/library/cc764334.aspx
    Also please refer to following article regarding that error message :
    http://support.microsoft.com/kb/2721457
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • SCVMM 2012 SP1 (RTM) Deployment from VMM Console fails.

    Error During a library refresh, or deployment from template - It all fails:
    Error (12710)
    VMM does not have appropriate permissions to access the Windows Remote Management resources on the server (MyServer).
    Unknown error (0x80338105)
    Recommended Action
    1) Ensure that the Windows Remote Management (WS-Management) service is running on the server (myserver).
    2) If the System Center Virtual Machine Manager service on your VMM management server is configured to run by using the machine account, ensure that there is not a group policy that does not allow adding machine accounts to a computer's Administrators group.
    If there is, you can use one of the following workarounds:
      - Disable the group policy in Active Directory Domain Services (AD DS)
      - Modify the group policy to allow the VMM machine account in the Administrators group
      - Move the machine account to its own organizational unit (OU) and block the group policy from being applied
      - Reinstall the VMM management server and choose the option to run the System Center Virtual Machine Manager service by using a domain account, and re-add all of your virtual machines.
    So, as soon as SCVMM 2012 Sp1 was released we decided that it was best to upgrade so we could utilise the new features of Server 2012 as a host.
    The upgrade worked a treat. VM's deployed, Server 2012 worked. Anyway, a few days after deployment we start to see errors relating to WinRM and permissions (See end of the post). After a quick trace around we found some failed services, usually on a host
    but sometimes it seemed to happen on the Library/Management server as well.
    So, our setup is as follows:
    Management/Library server = VMware  VM, Server 2012 standard, 6 GB memory, 4 vCPU's
    Hosts = HP DL360p G7, HP DL360 Gen8 (we have a few of these), Server 2012. We also have a DL380 G7 on Server 2008 R2 Enterprise that fails as well, so it seems the error isn't O/S specific (I'm picking a VMM issue).
    So I have tried many resolutions and now none of them work.
    We have no restrictions on group policy for the local admin, this can be set manually, and works for that matter.
    WinRM is working and the listening port is 5985 (I can see it working and listening via a "netstat -an")
    Also, I have ensured many many times that all of the required services are up and running (SCVMMAgent, VirtualDisk managerment, WinRM) and initially these where at fault and a simple restart of each service (or even a full start from dead) fixed
    it - Now it all fails. Even a library refresh fails. And all while each of the services required are up and running.

    So, I have now tried a reinstall of the management server & made some changes
    1- Changed the service account during the install.
    2 - Added the service account user to the local admins group of each host in question.
    3 - Tried "winrm /qc" .which lets me know its already up and running and configured. Although I must admit, I'm not 100% sure how to use WinRM. From what I can read, this is like an express setup and ensures you are up, running and listening.
    4 - Verified that WinRM is working of the right port (Listening ports dump below)
    5 - Verified that I can connect to each port required for the SCVMM Management server.
    BUT, it seems the error is still there and deployments still fail,
    although the library refreshes correctly now.
    Error (12710)
    VMM does not have appropriate permissions to access the Windows Remote Management resources on the server ( Myserver).
    Unknown error (0x80338105)
    NETSTAT Listening ports dump.
    PS C:\Users\nzadmin> netstat -an
    Active Connections
      Proto  Local Address          Foreign Address        State
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:443            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:1801           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:2103           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:2105           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:2107           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:5985           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8000           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8100           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8101           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8102           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8103           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49170          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49201          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49211          0.0.0.0:0              LISTENING
      TCP    127.0.0.1:57388        0.0.0.0:0              LISTENING
      TCP    172.23.16.69:139       0.0.0.0:0              LISTENING

  • Upgrade of scvmm 2012 sp1 to scvmm 2012 r2 fails with "Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied"

    I had a working scvmm 2012 sp1 installation, and am attempting to upgrade to 2012 r2.
    The old SCVMM product was removed (retaining the database), as well as ADK 8.0.  I then installed ADK 8.1.
    The install fails after a number of minutes with "Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied".  From my reading of the log, that was the only obvious failure, and that the VMM server MSI installed successfully. 
    It doesn't appear to get so far as to upgrade the database.
    The OS is Windows Server 2012 R2 Standard, with all updates applied.  I have tried the install many times, noticed that the McAfee virus scanner was pushed to the box at some point, so I removed it, but still no dice.
    12:18:58:LaunchMSI: MSI C:\Users\mscott\Desktop\mu_system_center_2012_r2_virtual_machine_manager_x86_and_x64_dvd_2913737\amd64\setup\msi\Server\vmmServer.msi succeeded.
    12:18:58:Doing Postinstall task for PangaeaServer
    12:18:58:ProcessInstalls: Install Item VMM management server was successful.  We will launch the post process delegate.
    12:19:47:Windows feature RSAT-Clustering-PowerShell already enabled, skipping
    12:20:15:Windows feature WindowsStorageManagementService already enabled, skipping
    12:20:41:Windows feature UpdateServices-API already enabled, skipping
    12:23:31:VMMPostinstallProcessor threw an exception: Threw Exception.Type: System.UnauthorizedAccessException, Exception.Message: Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied.
    12:23:31:StackTrace:   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
       at System.IO.StreamWriter..ctor(String path, Boolean append)
       at System.IO.File.AppendText(String path)
       at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(String trace)
       at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(LogLevel level, String trace)
       at Microsoft.VirtualManager.SetupFramework.Trc.Log(LogLevel level, String trace, Object parameter1, Object parameter2, Object parameter3)
       at Microsoft.VirtualManager.SetupFramework.Trc.LogException(LogLevel logLevel, String customMessage, Exception exception)
       at Microsoft.VirtualManager.Setup.DBConfigurator.ExecuteScript(SqlContext ctx, String fileName)
       at Microsoft.VirtualManager.Setup.DBConfigurator.UpgradeDatabaseTables()
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.CreateDB()
       at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
    12:23:31:ProcessInstalls: Running the PostProcessDelegate returned false.
    12:23:31:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item.  Setting rollback.
    12:23:31:SetProgressScreen: FinishMinorStep.
    12:23:31:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    12:23:31:****************************************************************
    12:23:31:****Starting*RollBack*******************************************
    12:23:31:****************************************************************
    12:23:31:SetProgressScreen: StartMinorStep.
    Mark E. Scott Jr.

    Perhaps relevant, perhaps not. This error shows up right after the above log snippet. I assumed it was an error with the rollback routine, but just in case, here it is:
    12:23:31:SetProgressScreen: StartMinorStep.
    12:23:31:ProcessInstalls: Install Item VMM management server has a Preprocessing delegate of PangaeaServerPreinstallProcessor.  Launching it now.
    12:23:31:GetSqlLoginName: TThe login name for the vmm server service is [DGSLAB\tfs-vmm]
    12:24:49:no HAVMM name detected in DB. Doing VMM Uninstall
    12:24:53:Start setspn.exe parameters  -D SCVMM/tfsvmm1.dgslab.com DGSLAB\tfs-vmm
    12:24:56:Start setspn.exe parameters  -D SCVMM/tfsvmm1 DGSLAB\tfs-vmm
    12:25:00:DBConfigurationHander.SetupAsVMMServerRole() CarmineException : Threw Exception.Type: Microsoft.VirtualManager.Utils.FailedToAcquireLockException, Exception.Message: Unable to perform the job because one or more of the selected objects are locked by
    another job.
    To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
    12:25:00:StackTrace:   at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLockWithRetries(CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLock(CarmineObjectLockType lockType, Boolean doNotWaitForLock)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(RemoteServer server, Guid serverID, Version agentVersion, VersionState agentVersionState, AgentPackageType agentPackageType, Boolean wsManOverSSL, Int32 wsManPort, Nullable`1 complianceStatusID,
    Nullable`1 mostRecentTaskID, Nullable`1 mostRecentTaskUIState, Guid taskID, CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(SqlRow row, Guid serverID, Guid taskID, CarmineObjectLockType lockType)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer.<>c__DisplayClass4.<GetInstance>b__3(SqlRow row)
       at Microsoft.VirtualManager.Engine.DbAccessHelper.GetFromCommand[_RetTy,_ColumnsTy](ReadOption readOption, SqlRetryCommand cmd, GetFromCommandWorker`1 worker)
       at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleReadErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo notFoundErrorInfo)
       at Microsoft.VirtualManager.DB.Adhc.AgentServer.GetOne(String computerName, GetFromCommandWorker`1 ctor, ConnectionProperties properties)
       at Microsoft.VirtualManager.Setup.DBConfigurator.SetupAsVMMServerRole(Boolean isAssociate)
    12:25:00:InnerException.Type: Microsoft.VirtualManager.DB.DBCorruptionException, InnerException.Message: Unable to connect to the VMM database because the database is in an inconsistent state.
    Contact an experienced SQL administrator whenever this error occurs. In some cases, it may be necessary to restore the VMM database. If the problem persists, contact Microsoft Help and Support.
    12:25:00:InnerException.StackTrace:   at Microsoft.VirtualManager.DB.SqlRetryCommand.ValidateReturnValue()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
    Mark E. Scott Jr.

  • After host crash - cluster no longer working correctly in SCVMM 2012

    Hi
    one of our nodes in our cluster crashed. It came back. All the VMs on this host were running on other hosts so failover worked fine BUT for 2 VMs. One of those 2 VMs is - according to VMM - running on the crashed host. The other VM is - according to VMM
    - running on another host node which did not fail.
    I have a lot of job errors saying that VMM library object virtuals disk is missing of those two VMs. So I looked into the FailoverManager. There I was able to see that the VMs are running on totaly different host nodes then what VMM tells me. In addition
    those VMs work just fine. I connected to both of them over Hpyer-V and they are just fine and the application also work without a problem. Please not those VMs are not shown twice or missing in VMM.
    Live Migration to the Host node that crashed is no longer possible. But when looking into the status on VMM - it tells me that everything is fine. From Hpyer-V Manager I am able to do live migration to this host. But no longer from VMM console.
    I rebooted the host node with no change. I refreshed the host nodes (all) in FailoverManager and in SCVMM, I refreshed the cluster... nothing. So I wanted to remove the cluster from SCVMM and re-add it. Doesn't work... It started with the first host and
    after that my cluster was somewhat broken (I thought that removing cluster - NOT "uncluster" - wouldn't have an effect on the cluster itself - well I was wrong). Anyway I repaired the cluster it is back into VMM but I still have the issues with the VMs. There
    are only warning on the VMM server that the library object (vhd) is missing but on the cluster nodes itself there are no errors.
    Any ideas what I could do. I have no clue what to do about the VM which is supposed to be on this host but in FailoverManager it is on a totally different server. Any ideas?

    Hi,
    version is SCVMM 2012 RC - yes there were errors with live migration but unfortunately I receive so many warning messages now (about missing library objects for vhd files) that the errors from tuesday are already gone. I guess they might be in database ...
    The log files you asked for are from 2011 when the cluster was created - no entries after that.
    No the cluster is not in Maintenance or Pause mode - i checked that. Remove and re-join the cluster with VMM 2012 RC was already tried. As described above: that failed - the first cluster node was removed and after that the job failed in VMM. I found the
    error message quite ironic because it said that "cluster node 1" is no longer reachable. Nooo really... it just had been removed a second before the "remove cluster" job failed. Unfortunately this job played havoc with my cluster. It took me 4 hours to bring
    it back online (mostly VMs).
    The good thing is, my cluster is somewhat working again - meaning after I repaired it and was able to re-add the missing cluster node back into VMM live migration now works both from Hyper-V and from SCVMM. The VERY bad part is that now several more VMs
    are - according to VMM - runing on "cluster node 1" while the Failover Manager says they are runing on "cluster node 2 or 3...". In addition I get many more warning messages. This error is the one I am trying to eleminate. As said I haven't found anything
    which helped me narrow done a solution. Everything I tried so far didn't have any response or - like the cluster - it made things quite bad (temporary). I checked the Event logs on the cluster nodes and VMM itself. Currently there are no error messages there.
    Warning messages in VMM:
    Warning (23234) VM Refresher encountered an error while creating or updating <vm name> with id XXXXX. VMM cannot find VirutalHardDisk object XXX. Ensure the library object is valid, and then try the operation again.
    Warning (10647) The virtual network adapter for the virtual machine <vm name> is connected to a virtual network switch <swtich name> that is not valid.
    Does anyone know how to change the time interval of the "VM Refresher"? I get those warning messages for each VM every 2 min. As there are several VMs affected by now I have several thousend messages each day...

  • Installing SCVMM 2012 r2 in a VM on Hyper-V 2012 and windows failover cluseter

    Hi,
    I am planning to configure scvmm 2012 r2 that will be managing 30 hyper-v host servers, please guide me will it be ok if i install and configure both scvmm 2012 r2 and sql server 2012 on same VM running on Hyper-V Failover Cluster ?
    Regards,
    Afzal
    [email protected]

    Hi,
    Like most of the time, there is a lot of possible topology to achieve your design.
    Installing VMM and the database in a virtual machine on the same cluster that it manage is a supported scenario. 
    The first question you have to ask is : What is the availability level i need for my VMM infrastructure ?If
    you shutdown the SCVMM instance for patching, you are not able to deploy new VM from template, and not able to create and manage Virtual Networks. It don't affect existing VM or Virtual Networks. Does this break your SLA ?
    Most of the time, VMM don't need a guest cluster (unless you are a hosting provider with provisionning portal
    available 24/24 7/7).
    The main advice i will give you is :
    Keep it simple as possible !
    Don't build complex infrastructure if you don't need to achieve a very hight level of availability.
    Availability, complexity and management cost have a exponential relation. 
    For large deployment, you can use a dedicated Hyper-V cluster to deploy System Center and infrastructures services (SCVMM, SCOM etc...) But there is nothing wrong in deploying VMM in the same cluster as the VM it manage. The design you have to achieve should
    be thinking in terms of availability and serviceability.
    I don't think that 30 Hyper-V hosts need a dedicated SQL Guest Cluster.
    If you install VMM on one VM and SQL on another, you will not achieve more performances, but your VMM instance
    will be less "portable".
    Cheer.
    Cedric.

  • SCVMM 2012 R2 VM on SMB 3.0 file share cloning is not offloaded and painfully slow

    I setup a test environment, it appears the SCVMM always use BITS to clone VM that was painfully slow
    SCVMM1: SCVMM 2012 R2 with the latest windows update
    VHOST1 and VHOST2: Hyper-V Host. Windows Server 2012 R2 with the latest update
    SERVER1: Windows File server, with Windows Server 2012 R2 with the latest update. The storage is a single 512GB SSD.
    All VMs are located at a file share on SERVER1, the share is managed by SCVMM1 also.
    All computers have plenty of RAM (8G+) and modern processor. The individual I/O benchmark on SERVER1 is typical SSD speed.  Each VHOST has dedicated NIC for VM use. Each
    server has two gigabit NICs on same switch for data.
    The step to reproduce:
    1. Create a Windows 7 x86 VM on VHOST1 and install OS on it.  The VM is placed on the SERVER1 file share.  It runs well. no problem, VM performance is good.
    2. In SCVMM console, right clicks the VM and select "Create Clone", the deployment target is on the same SMB share as the source VM.  
    Actual:  It appears SCVMM clone the VM files with BITS, it is painfully slow. All data travel through network. Estimated 30 minutes for 30GB file!
    Expected result: SCVMM uses SMB 3.0 to make the copy. The source and destination are on the same SMB 3.0 share. The transfer of data should be offloaded by SERVER1, instead of reading all data then write it back cross network. (And from unknown reason the
    BITS is even much slower than network file copy).
    Did I miss anything? Any way to force SCVMM to do such offload copy?  Any help would be appreciated.

    Hi acacac1,
    >>Actual:  It appears SCVMM clone the VM files with BITS, it is painfully slow. All data travel through network. Estimated 30 minutes for 30GB file!
    Did you try to disable BITS then clone the VM again for test ?
    Any further information please feel free to let us know .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

Maybe you are looking for