CPU Wait time per dispatch on a Server 2012 R2 Core.
I have a Hyper-V Cluster of 9 Server 2012 R2 core Hosts. I need to measure the CPU wait time, but when I use the remote performance counter a lot of the counters for Hyper-V is missing. How do I monitor this wait time?
Hi Mikroben,
Based on my test , after installing hyper-v role on "Client" then we can see these counters and use it for managing hyper-v server remotely .
Also , please use corresponding "Client" OS to monitor hyper-v server as Brian mentioned .
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
-
What is normal range for CPU Wait time Per Dispatch on Hyper-V 2012
Hello.
I am trying to troubleshoot some performance issues with an application that utilizes sql server, which runs in a Hyper-V Guest.
I have found that the ram, cpu, disk i/o all appear to be within normal range.
Before troubleshooting the sql end of things, I wanted to make make sure the vm isn't waiting for cpu time.
In Vmware, the metric for this is " CPU Ready". From what I can tell, the equivilant to this for Hyper-V on server 2012 is:
Hyper-V Hypervisor Virtual processor\CPU Wait time per dispatch.
I have fired this up and been monitoring it and found that the average is around 22,000, maximum 41,000.
The problem is, I have no idea if this is a normal or acceptable range. I can't seem to find any further information on actually interpreting this data, as to what is acceptable and what will cause performance issues etc..
Can anyone help enlighten me further on this?
ThanksHello.
I am trying to troubleshoot some performance issues with an application that utilizes sql server, which runs in a Hyper-V Guest.
I have found that the ram, cpu, disk i/o all appear to be within normal range.
Before troubleshooting the sql end of things, I wanted to make make sure the vm isn't waiting for cpu time.
In Vmware, the metric for this is " CPU Ready". From what I can tell, the equivilant to this for Hyper-V on server 2012 is:
Hyper-V Hypervisor Virtual processor\CPU Wait time per dispatch.
I have fired this up and been monitoring it and found that the average is around 22,000, maximum 41,000.
The problem is, I have no idea if this is a normal or acceptable range. I can't seem to find any further information on actually interpreting this data, as to what is acceptable and what will cause performance issues etc..
Can anyone help enlighten me further on this?
Thanks
Hi,
Hyper-V reports this metric is in nano seconds. So, your average is around 22-41 ms (milliseconds). This is GOOD.
Take this example:
This would be comparable to vCenter VM CPU Ready graph which displays VM CPU Ready time in milliseconds.
Note #1: This measures each virtual core presented to an individual VM. This will be different if you're not using hyper-threading on the host
Note #2: This is scaled to a factor of 0.001, so that the scale on the left is in milliseconds - which is commonly confused with a percentage scale, which is is NOT.
Not to dismiss CPU issues, but generally the first place I look when troubleshooting SQL on a VM is storage access/speed/performance, regardless of what hypervisor is being used. I would verify best practices like putting databases on separate physical
storage that ends up on separate spindles on the storage back end, same for logs, same for temp db, same for temp log,...
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) -
Query identified as OracleOEM reporting a lot of CPU wait time
We use "Ignite" by Confio to monitor the wait time on our database and I have been watching a query for a while now and it seems to be consuming a lot of resources for what it is doing.
This is the query:
/* OracleOEM */
SELECT m.tablespace_name,
m.used_percent,
(m.tablespace_size - m.used_space)*t.block_size/1024/1024 mb_free
FROM dba_tablespace_usage_metrics m,
dba_tablespaces t,
v$parameter p
WHERE p.name='statistics_level'
AND p.value!='BASIC'
AND t.tablespace_name = m.tablespace_name
And this is the execution plan:
SELECT STATEMENT Optimizer=ALL_ROWS (Cost=152 Cardinality=17 Bytes=2193)
NESTED LOOPS (Cost=152 Cardinality=17 Bytes=2193)
NESTED LOOPS (Cost=152 Cardinality=17 Bytes=2125)
MERGE JOIN (CARTESIAN) (Cost=149 Cardinality=17 Bytes=1785)
HASH JOIN (Cost=2 Cardinality=1 Bytes=49)
FIXED TABLE (FULL) OF X$KSPPI (TABLE (FIXED)) (Cost=1 Cardinality=1 Bytes=31)
FIXED TABLE (FULL) OF X$KSPPCV (TABLE (FIXED)) (Cost=1 Cardinality=1897 Bytes=34146)
BUFFER (SORT) (Cost=148 Cardinality=502 Bytes=28112)
VIEW OF DBA_TABLESPACE_USAGE_METRICS (VIEW) (Cost=147 Cardinality=502 Bytes=28112)
SORT (UNIQUE) (Cost=147 Cardinality=502 Bytes=19122)
UNION-ALL
SORT (AGGREGATE) (Cardinality=1 Bytes=8)
TABLE ACCESS (BY INDEX ROWID) OF RECYCLEBIN$ (TABLE) (Cost=4 Cardinality=389 Bytes=3112)
INDEX (RANGE SCAN) OF RECYCLEBIN$_TS (INDEX) (Cost=1 Cardinality=388)
SORT (AGGREGATE) (Cardinality=1 Bytes=14)
FIXED TABLE (FULL) OF X$KTFBHC (TABLE (FIXED)) (Cost=0 Cardinality=1 Bytes=14)
SORT (AGGREGATE) (Cardinality=1 Bytes=8)
TABLE ACCESS (BY INDEX ROWID) OF RECYCLEBIN$ (TABLE) (Cost=4 Cardinality=389 Bytes=3112)
INDEX (RANGE SCAN) OF RECYCLEBIN$_TS (INDEX) (Cost=1 Cardinality=388)
SORT (AGGREGATE) (Cardinality=1 Bytes=14)
FIXED TABLE (FULL) OF X$KTFBHC (TABLE (FIXED)) (Cost=0 Cardinality=1 Bytes=14)
HASH (GROUP BY) (Cost=89 Cardinality=500 Bytes=19000)
MERGE JOIN (Cost=87 Cardinality=500 Bytes=19000)
TABLE ACCESS (CLUSTER) OF TS$ (CLUSTER) (Cost=86 Cardinality=426 Bytes=9372)
INDEX (FULL SCAN) OF I_TS# (INDEX (CLUSTER)) (Cost=1 Cardinality=1)
SORT (JOIN) (Cost=1 Cardinality=501 Bytes=8016)
FIXED TABLE (FULL) OF X$KTTEFINFO (TABLE (FIXED)) (Cost=0 Cardinality=501 Bytes=8016)
HASH (GROUP BY) (Cost=52 Cardinality=1 Bytes=38)
NESTED LOOPS (Cost=50 Cardinality=1 Bytes=38)
FIXED TABLE (FULL) OF X$KTTEFINFO (TABLE (FIXED)) (Cost=0 Cardinality=251 Bytes=4769)
TABLE ACCESS (CLUSTER) OF TS$ (CLUSTER) (Cost=1 Cardinality=1 Bytes=19)
INDEX (UNIQUE SCAN) OF I_TS# (INDEX (CLUSTER)) (Cost=1 Cardinality=1)
HASH (GROUP BY) (Cost=5 Cardinality=1 Bytes=84)
HASH JOIN (Cost=3 Cardinality=1 Bytes=84)
NESTED LOOPS
NESTED LOOPS (Cost=3 Cardinality=1 Bytes=65)
HASH JOIN (Cost=2 Cardinality=1 Bytes=49)
FIXED TABLE (FULL) OF X$KSPPI (TABLE (FIXED)) (Cost=1 Cardinality=1 Bytes=31)
FIXED TABLE (FULL) OF X$KSPPCV (TABLE (FIXED)) (Cost=1 Cardinality=1899 Bytes=34182)
INDEX (UNIQUE SCAN) OF I_TS1 (INDEX (UNIQUE)) (Cost=1 Cardinality=1)
TABLE ACCESS (BY INDEX ROWID) OF TS$ (CLUSTER) (Cost=1 Cardinality=1 Bytes=16)
FIXED TABLE (FULL) OF X$KTTEFINFO (TABLE (FIXED)) (Cost=0 Cardinality=251 Bytes=4769)
TABLE ACCESS (BY INDEX ROWID) OF TS$ (CLUSTER) (Cost=1 Cardinality=1 Bytes=20)
INDEX (UNIQUE SCAN) OF I_TS1 (INDEX (UNIQUE)) (Cost=1 Cardinality=1)
FIXED TABLE (FIXED INDEX) OF X$KCFISTSA (ind:1) (TABLE (FIXED)) (Cost=0 Cardinality=1 Bytes=4)
My question is two fold... does anybody know where in OEM you can control the execution of this query? I would like to reduce the frequency it is run, or if that is not a good idea does anybody have any ideas from a tuning perspective?
Ignite is reporting 1,440 executions, 621,776,455 buffer gets, and 2 hours of CPU wait time per day.
Thanks in advance,
ZackA typical question for this forum.
We use Oracle, we can't remember which version, and we can't be bothered to post it.
We don't know Oracle, so we use a third party product (Ignite from Confio) to perform redundant monitoring on our databases, which is already being performed by Oracle Enterprise Manager, for free.
Instead of trying to use the products which come with Oracle, we would like to wreck functionality, by tampering with things like frequency, and/or even adjusting Oracle provided queries, consequently invalidating our support contract for Oracle.
And, no, we are not aware, provided the database is doing nothing, queries like this one will automatically surface in the list of top <n> queries.
I would suggest you start to learn Oracle and dump Ignite. It is of no use to monitor your database with two tools, and OEM is fully integrated in Oracle.
Sybrand Bakker
Senior Oracle DBA -
EWA - IO Performance - Wait Time per Read (ms)
Dear Forum,
How is the formula to calculate 'Wait Time per Read (ms)' in EWA report in section IO Performance?
Regards,
AgoesNo answer...
-
Still cannot install the agent on Server 2012 R2 Core
Hi
I'm using the latest build of the agent (that I could find - 2.0.8692).
This KB http://support2.microsoft.com/kb/2997692/en-us says that 2.0.8689 and above should be supported on Windows Server 2012 R2 Core.
The installation works, but when I'm about to do the postsetup (Register Server Wizard) I get an unhandeld exception and cannot continue.
The error reads:
Creating an instance of the COM Component with CLSID {DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7} from the IClassFactory failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE))I am getting the same error, Hyper-V Server 2012R2
Full error
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040111): Creating an instance of the COM component with CLSID {DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7} from the IClassFactory failed due to the following error: 80040111 ClassFactory cannot supply requested class
(Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)).
at System.Windows.Forms.OpenFileDialog.CreateVistaDialog()
at System.Windows.Forms.FileDialog.RunDialogVista(IntPtr hWndOwner)
at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
at Microsoft.Internal.CloudBackup.UI.Wizards.Activation.VaultCredentialBrowsePage.vaultCredentialBrowseButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
PostSetup
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/PostSetup.exe
TraceWrapper
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/TraceWrapper.DLL
CBEngineServiceProxy
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/CBEngineServiceProxy.DLL
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
CBActivationWizard
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/CBActivationWizard.DLL
CBWizFx
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/CBWizFx.DLL
CBClientCommon
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/CBClientCommon.DLL
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
CloudUtils
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/CloudUtils.DLL
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
NativeMethods
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/NativeMethods.DLL
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.IdentityModel
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
CBCommonControls
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/CBCommonControls.DLL
CBUIErrorHandling
Assembly Version: 1.0.523.0
Win32 Version: 2.0.8692.0
CodeBase:
file:///C:/Program%20Files/Microsoft%20Azure%20Recovery%20Services%20Agent/bin/CBUIErrorHandling.DLL
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. -
How to install first forest and active directory on the windows server 2012 R2 core?
hi to all
i installed a windows server 2012 R2 Core edition on the server platform and i want install first forest and Domain on this server core by cmdlet...but i cannot install it. i search in the technet and other sites and blogs on the internet
and i saw many commands that use for install it such as "DCpromo /unattend" and even
"Install-addsforest" in the powershell but still i cannot get a result from these commands.
i need step-by-step guide that help me for install new forest and domain in the server 2012 R2 core.
thanks a lot friendsC:\PS>Install-ADDSForest
-DomainName mydomain.local -CreateDNSDelegation
-DomainMode Win2012 -ForestMode Win2008R2
-DatabasePath "d:\NTDS"
-SysvolPath "d:\SYSVOL"
-LogPath "e:\Logs"
you can use above example
Darshana Jayathilake -
Configuring Volume Shadow Copies in Windows Server 2012 R2 Core
Hello,
I have a File Server under Windows Server 2012 R2 Core under a Lab Environment, I am trying to configure the Volume Shadow Copy on it, I tried to remote to its Disk Management via Computer Management but couldn't find the configuration for it.
Any Ideas?
For God, and Country.Hi Sheen Lim,
As far as I know we can use cmdlets to manage the volume shadow copy in server core but can not use the server manager remotely. You can refer the following third party article
to enable the VSS.
Configure Shadow Copies on Server Core
http://blogs.msmvps.com/ad/blog/2008/08/12/configure-shadow-copies-on-server-core/
I’m glad to be of help to you!
*** This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these
sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use
of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. ***
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 Support, contact [email protected] -
Server 2012 R2 Core installation & Remoting from another computer
I have server 2012 R2 Standard Core install in server. I want to move that server to data center . now i want to create virtual machines remotly from my office. is this possible. i have tried enabling remote management but its gives below error.
Akshay PateBy default, a Server Core installation allows remote management. However, the default configuration is based on Active Directory domain membership and a single subnet. This leaves you with two challenges:
In a non-domain environment, your credentials might not match the credentials used, locally, on the Server Core installation. This is an easy one to fix, by either making sure the password for both the 'Administrator' accounts are set to match, or
by creating a secondary account with administrative privileges on the Server Core installation using option 3 in
sconfig.
The Hyper-V Manager requires specific network traffic and permissions. John Howard, a Program Manager on the Hyper-V team has created a free script called
hvremote.wsf, that helps you address issues you might have and find specific connection problems. -
Windows 8.1 Prof and Hyper-v Server 2012 R2 core export snapshot hile VM is running
Hi,
I have ugraed my client to Windws 8.1 prof. After some digging i found out that it was posible to export a snapshot(if you have multiple snapshot) while using Hyper-v manager in windows 8.1 to a Hyper-v 2012R2 server. In my old pc win 7 prof i had the option
to export but it didt work on running VM. On the win 8.1 i dont have that options? am i missing some updates?
Any tips? fix?Hi Martinbt,
>>In my old pc win 7 prof i had the option to export but it didt work on running VM. On the win 8.1
i dont have that options? am i missing some updates?
As you mentioned "it was possible to export snapshot " , but then you said you don't have that
option .
Could you please detail what is your goal ?
( "snapshot" equal to "checkpoint" )
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
MDT 2013 Server 2012 R2 Core Deployment Fails After Disabling ChecksumOffloads on NICs
When changes are made to the Checksum offloads, the NICs reset themselves and I'm losing connectivity to the deployment share during the deployment process (LiteTouch). It happens during a custom PowerShell script I'm running in the Task Sequence
after "Tattoo".
PowerShell Script:
Disable-NetAdapterChecksumOffload -Name * -IpIPv4
Disable-NetAdapterChecksumOffload -Name * -TcpIPv4
Disable-NetAdapterChecksumOffload -Name * -UdpIPv4
Disable-NetAdapterChecksumOffload -Name * -TcpIPv6
Disable-NetAdapterChecksumOffload -Name * -UdpIPv6
Disable-NetAdapterLso -Name * -IPv4
Disable-NetAdapterLso -Name * -IPv6
Disable-NetAdapterRss -Name *
Here are the errors from the BDD.log (sorry couldn't get the _SMSTaskSequence.log)
ZTIPowerShell processing completed successfully. ZTIPowerShell 8/25/2014 2:27:28 PM 0 (0x0000)
Command completed, return code = -2147467259 LiteTouch 8/25/2014 2:27:29 PM 0 (0x0000)
Litetouch deployment failed, Return Code = -2147467259 0x80004005 LiteTouch 8/25/2014 2:27:29 PM 0 (0x0000)
For more information, consult the task sequencer log ...\SMSTS.LOG. LiteTouch 8/25/2014 2:27:29 PM 0 (0x0000)
Property RetVal is now = -2147467259 LiteTouch 8/25/2014 2:27:29 PM 0 (0x0000)
Unable to copy log to the network as no SLShare value was specified. LiteTouch 8/25/2014 2:27:29 PM 0 (0x0000)
What I was thinking about trying was adding a few lines to the end of my script:
1. PING 1.1.1.1 -n 1 -w 30000 >NUL
This would give the server 30 seconds to right itself after resetting the NICs
2. net use command to remap the share.
Two questions regarding re-mapping the share.
1. I'm assuming this will run as Administrator token. Will this be an issue for continued deployment?
2. At the beginning of the deployment process the Tech has to enter his/her credentials to access the deployment share to begin the deployment process. Are those the credentials I need to continue using, or does MDT use some other credentials
to access the deployment share that far into the deployment process (during state restore phase)?
Thank you for taking time to read my post.
-Cheers!Apologies for the delay in responding to this thread.
It turns out that Broadcom NICs are the culprit!
For some reason Broadcom doesn't grant you access to all the feature sets on their NICs when it comes to PowerShell.
Same script runs against Intel NICs with no issues.
I placed a 15 second pause in the script to allow NICs to reset, I then remap MDT network drive to continue the deployment process. Big thanks to Keith for assisting with reconnecting the network drive!
Here is the script I settled on:
# All settings will not take, if target is using Broadcom NICs.
# You will still need to manually set TCP IPv4 and IPv6 to disabled.
# Commands to disable Checksum Offloads.
Disable-NetAdapterChecksumOffload -Name * -IpIPv4
Disable-NetAdapterChecksumOffload -Name * -TcpIPv4
Disable-NetAdapterChecksumOffload -Name * -UdpIPv4
Disable-NetAdapterChecksumOffload -Name * -TcpIPv6
Disable-NetAdapterChecksumOffload -Name * -UdpIPv6
Disable-NetAdapterLso -Name * -IPv4
Disable-NetAdapterLso -Name * -IPv6
Disable-NetAdapterRss -Name *
# Pause script for 15 seconds to allow ample time for NICs to reset.
Start-Sleep -s 15
net use %DeployRoot% /u:"%UserDomain%\%UserID%" "%USerPassword%"
# Pause script end for 5 seconds to allow completion of share recreation.
Start-Sleep -s 5 -
In t-code ST03N, there are following info:
1. Average Wait Time per Dialog Step (ms)
2. Average Roll In Time (ms)
3. Average Roll Wait Time (ms)
Question:
1. When will Roll Wait happen?
2. What is relationship between Wait Time and Roll Wait Time?
3. When dispatcher looking for free dialog wp, the dispatcher wait time occurs. From above two type of wait time, which one is dispatcher wait time?
Thanks.
JamesHi,
Read the OSS note which explains the decomposition of response time in detail...
Regards,
Olivier -
Shared cursor cache at ST04- What means the "wait tim"?
Hello together,
is there anybody who knows what the "wait time" or "Wait time per execution" within a SQL-statement means?
Bye
HeikeHI
Wait time in milliseconds: This is the time a user request sits in the dispatcher queue. It starts when user request is entered in the dispatcher queue; and ends when the request starts being processed and it shud be
Wait time < 10% response time
(response time : Starts when a user request enters the dispatcher queue; ends when the next screen is returned to the user. The response time does not include the time to transfer from the screen to the front end.)
Regards
Umesh K -
High CPU Waits but medium CPU Usage
Hi All,
I'm currently checking one SQL Server after our users complained about poor application performance.
In the Data Collection Report, I can see that most of the waits come from the CPU. However, the average CPU load is just between 30% and 50%. What could be the cause for this?
The queries which generate most of the CPU wait time are SELECTs to a view with around 30 columns (decimals) and 30.000 row and the INSERTS to the tables behind the view. Since the physical ready are 0, I guess the results come all from memory.
How could I reduce the CPU waits? Thanks!
Greetings,
Theodor>Could you explain why you think that showing CPU utilization as waits is a *good* thing?
In performance analysis you care about reducing the elapsed time. Including CPU use as a wait gives you a unified view of the relative importance of CPU and the other waits. Otherwise you can't know whether to focus on reducing, say lock waits,
IO waits or CPU use.
> I don't see anything to fix!
Yes SOS_SCHEDULER_YEILD and Signal Wait Time are both fine. Those indicate global CPU pressure, ie not having an available CPU to do the work that's ready to be done.
Here the problem is CPU Consumed, which is simply queries chewing up CPU. So look at the queries, find the queries that account for the most CPU and analyze them. Looking for instance for unnecessary table scans on tables in memory, inefficient
joins, running moderately expensive queries too frequently.
I really can't follow that. A wait is when you really are losing elapsed time for external reasons. CPU or reads are what your code really needs to do. Very different categories and should not be added, and that's why they
are tracked separately inside of SQL Server.
OP is asking about 9 millisecond transactions. In most systems I work on, that's already very quick. I've worked on maybe one system in the last few years where the average transaction was faster than that because of the way it was architected
(we called it "chatty"), most OLTP systems I've worked on in recent years are in the 1000++ millisecond ranges and we consider that excellent performance given what we ask of it. If that is reported as a "wait", I could make no sense out of such a report.
As you point out, the DMV report is much more useful.
Fortunately we can break out the numbers and separate the waits from the uses, but I think that SQL Server waits report is highly misleading.
Josh -
Client Tools installs per SQL Server 2012
Is there a maximum allowed install of Client Tools per purchase of SQL Server 2012? I believe we have Enterprise but may have Standard. SQL Server Management Studio Express is not sufficient because of the SSIS limitations. Thanks!
matters is the license to connect to the server SO provided that the server I was connected
to had a CAL assigned to me or it was CPU licensed then all is well, as the client tools aren’t licensed themselves
http://blogs.technet.com/b/andrew/archive/2008/07/14/licensing-sql-server-client-tools.aspx
http://www.scottandscottllp.com/main/SQL_Server_Licensing_Perils.aspx
In short client tools are free as long as they connect to core components of SQL Server – the Database Engine and the Reporting, Integration and Analysis Services – which has correct licensing. -
I get one or the other error when i install SQL server 2012 SP1 in my Lab server
I get multiple errors when i install SQL server 2012 SP1 In my lab server.
Not sure why i keep getting different errors all the time when i install SQL server 2012 & 2012 SP1.
Below are error codes, screen shots and also a log of the error.
1. Eror code 0X84B40000
Also dint understand any thing from this article related to the above error
http://social.technet.microsoft.com/Forums/sqlserver/en-US/5b6cc928-0db8-4fe4-a5d3-21672225f0ca/i-get-error-code-0x84b40000-when-trying-to-install-sql-server-mgmt-studio-to-an-existing-sql?forum=sqlexpress
2. Eror code 0x851A001A
Can any one plz help as i always get one or the other error.
====================================
Screen shot:
Please note the below screen shot has given the error code 0x851A001A which is same in case of failure of all the other features which have failed during this installation. Hence i have uploaded only one screen shot.
2. Log file content.
=================================
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893606
Start time: 2014-05-04 21:15:35
End time: 2014-05-04 21:51:45
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for RS: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for FullText: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Machine Properties:
Machine name: SERVER1
Machine processor count: 2
OS version: Windows Server 2008 R2
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Database Engine Services 1033
Enterprise Edition 11.0.2100.60 No
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER SQL Server Replication 1033
Enterprise Edition 11.0.2100.60 No
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Full-Text and Semantic Extractions for Search 1033
Enterprise Edition 11.0.2100.60 No
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Data Quality Services 1033
Enterprise Edition 11.0.2100.60 No
SQL Server 2012 MSSQLSERVER MSAS11.MSSQLSERVER Analysis Services 1033
Enterprise Edition 11.0.2100.60 No
SQL Server 2012 MSSQLSERVER MSRS11.MSSQLSERVER Reporting Services - Native 1033
Enterprise Edition 11.0.2100.60 No
SQL Server 2012 Management Tools - Basic
1033 Enterprise Edition 11.0.2100.60 No
SQL Server 2012 Management Tools - Complete
1033 Enterprise Edition 11.0.2100.60 No
SQL Server 2012 Client Tools Connectivity
1033 Enterprise Edition 11.0.2100.60 No
SQL Server 2012 Client Tools Backwards Compatibility
1033 Enterprise Edition 11.0.2100.60 No
SQL Server 2012 Client Tools SDK
1033 Enterprise Edition 11.0.2100.60 No
SQL Server 2012 Integration Services
1033 Enterprise Edition 11.0.2100.60 No
SQL Server 2012 Reporting Services - SharePoint
11.0.2100.60 No
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 0
Installation location: F:\x64\setup\
Installation edition: Enterprise
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: false
AGTSVCACCOUNT: ms\sql
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Automatic
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140504_204851\ConfigurationFile.ini
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: false
ENU: true
ERRORREPORTING: true
FEATURES: SQLENGINE, REPLICATION, FULLTEXT, RS
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher$SCOM
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: SCOM
INSTANCENAME: SCOM
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: <empty>
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: NT Service\ReportServer$SCOM
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: ms\sql
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: MS\Gautam, MS\SCOM Users
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 1
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140504_204851\ConfigurationFile.ini
Detailed results:
Feature: Reporting Services - Native
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Full-Text and Semantic Extractions for Search
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: SQL Browser
Status: Passed
Feature: SQL Writer
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140504_204851\SystemConfigurationCheck_Report.htmSorry about the error in the path, but you find the files that's the main thing.
Indeed it is a certificate problem:
2014-05-04 21:47:43.56 spid12s Error: 17190, Severity: 16, State: 1.
2014-05-04 21:47:43.56 spid12s Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.
2014-05-04 21:47:43.56 spid12s Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2014-05-04 21:47:43.57 spid12s Error: 17182, Severity: 16, State: 1.
2014-05-04 21:47:43.57 spid12s TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
2014-05-04 21:47:43.57 spid12s Error: 17182, Severity: 16, State: 1.
2014-05-04 21:47:43.57 spid12s TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
2014-05-04 21:47:43.57 spid12s Error: 17826, Severity: 18, State: 3.
2014-05-04 21:47:43.57 spid12s Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2014-05-04 21:47:43.57 spid12s Error: 17120, Severity: 16, State: 1.
2014-05-04 21:47:43.57 spid12s SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
I've recall that I've tried to help people with this error before, but I'm sure they were able to sort it out.
Anyway, this blog post,
http://blogs.msdn.com/b/sqljourney/archive/2012/10/09/sql-2008-service-fails-to-come-online-with-a-valid-certificate-could-not-be-found-and-it-is-not-possible-to-create-a-self-signed-certificate.aspx
suggests the issue is a corrupted user profile, and you should try to use a different service account.
This blog also seems to have a simple solution, but I cannot vouch for that it will work:
http://www.beejblog.com/2012/02/sql-server-solved-unable-to-initialize.html
Erland Sommarskog, SQL Server MVP, [email protected]
Maybe you are looking for
-
My Ipod 7th gen is not being recognized by itunes and Windows 8.1.
Hello. My ipod 7th gen is not being recognized by itunes and Windows 8.1. When I connect my ipod to my computer, itunes will open automatically and a message bar below will appear: I have followed all the instruction in the support and itunes still u
-
Good money after bad? The Mac experience for a would-be Windows convert.
I was seduced by the striking design of the MacBook, but am fast coming to regard the whole Apple experience as being an ongoing nightmare. One of the mainstays of my computing life is use of Quicken for personal accounting. I have been using it on W
-
Weather bug in iOS 7.1.1
When I click on weather in otification, a white bar comes on left side for just 2 sec. Also when I close the app, it does the same.
-
After iPhoto update, keeps crashing and telling me to 'restore windows'
Not sure what is going on with my iPhoto, but it is driving me CRAZY. Everytime it opens, it crashes immediately and then reopens saying "please restore windows". When I click on restore windows, it freezes and then crashes again. I seriously have
-
Hi Team, can the password protection will be disabled within Adobe Reader XI - the password is known