2018年9月16日 星期日

SCVMM 2016,Error (2912) An internal error has occurred trying to contact an agent when creating new VM


To solve this problem you could change the BITS port SCVMM is using during transfers:
1. On your VMM Server open the Registry
2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings
3. Locate BITSTcpPort which should have a value of decimal 443. Change this to some port unused in your environment. (e.g. 8800)
4. Restart Virtual Machine Manager Service so that the change takes effect.

2018年8月14日 星期二

SCOM 2016 – Linux Agent Deployment “Signed certificate verification operation was not successful”


If you are facing this scenario and your UNIX/Linux server has a different hostname then what is in DNS you have two choices. Either you change the hostname on your server, which may or may not be an option, or you create a new certificate with the FQDN hostname and private key without touching the server name at all using the scxsslconfig tool. I decided to perform the latter. Just open the a shell and run…

/opt/microsoft/scx/bin/tools/scxsslconfig –h Linuxname –d domainname.com -f –v

After executing the command, make sure to restart the agent.

/opt/microsoft/scx/bin/tools/scxadmin –restart

After the service is restarted head back to your SCOM console, and attempt to manage the Linux server again.

 

2018年7月8日 星期日

SCOM - How to List which server is the active resource pool member


use OperationsManager
select
BaseManagedEntity.DisplayName
,cs.agent.AGentGuid
,cs.WorkFlowExecutionLocationAgent.AgentRowId
,cs.workflowexecutionlocation.WorkflowExecutionLocationRowId
,cs.workflowexecutionlocation.DisplayName
from cs.WorkFlowExecutionLocationAgent
inner join cs.workflowexecutionlocation
ON cs.WorkFlowExecutionLocationAgent.WorkFlowExecutionLocationAgentRowId = cs.workflowexecutionlocation.WorkflowExecutionLocationRowId
inner join CS.agent
ON CS.agent.AgentRowId=cs.WorkFlowExecutionLocationAgent.AgentRowId
inner join BaseManagedEntity
ON BaseManagedEntity.BaseManagedEntityId = CS.agent.AGentGuid
where cs.workflowexecutionlocation.DisplayName like '%Pool%'

2018年6月7日 星期四

SCOM - Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery - Event ID 10001 Error 0x8013101b

Solution
=========
Apply 
Microsoft .NET Framework 4.7

Microsoft .NET Framework 4.7 (Offline Installer) for Windows 7 SP1, Windows 8.1, Windows 10 Anniversary Update, Windows Server 2008 R2 SP1, Windows Server 2012, Windows Server 2012 R2 and Windows Server 2016



Analysis
=========
0x8013101b The assembly is built by a runtime newer than the currently loaded runtime, and cannot be loaded

         <DisplayString ElementID="Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery">
          <Name>IIS WCF Web Service Discovery Rule</Name>

IIS WCF Web Service Discovery Rule
·         ID:  Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery
·         Description:  Discovery rule used to find WCF Services deployed to IIS. The default pattern used by the discovery is to look for .svc files in the virtual directory, if any are found a WCF Service endpoint will be created. To specify additional file types that represent a WCF service override the AdditionalExtensions property and provide a semi-colon (;) delimited list of file extensions. An example of a new file extension list string is "foo;bar" that specifies files such as myFile.foo and myFile.bar represent WCF Services.
·         Target:  .NET Application Monitoring Agent
Enabled:  Yes

Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery
<DeployableAssembly ID="Res.Microsoft.SystemCenter.Apm.Discovery.Wcf" Accessibility="Internal" FileName="Microsoft.EnterpriseManagement.Modules.Apm.Discovery.Wcf.dll" HasNullStream="false" QualifiedName="Microsoft.EnterpriseManagement.Modules.Apm.Discovery.Wcf, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Version=7.0.5000.20" />

    <LanguagePack ID="ENU" IsDefault="true">
      <DisplayStrings>
        <DisplayString ElementID="Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery">
          <Name>IIS WCF Web Service Discovery Rule</Name>
          <Description>Discovery rule used to find WCF Services deployed to IIS.  The default pattern used by the discovery is to look for .svc files in the virtual directory, if any are found a WCF Service endpoint will be created. To specify additional file types that represent a WCF service override the AdditionalExtensions property and provide a semi-colon (;) delimited list of file extensions.  An example of a new file extension list string is "foo;bar" that specifies files such as myFile.foo and myFile.bar represent WCF Services.</Description>
        </DisplayString>
      </DisplayStrings>
-----------------------------------------------------------------
        <DisplayString ElementID="ParentMP!Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery">
<Name>IIS WCF Web 服務探索規則</Name>
<Description>用來尋找部署至 IIS WCF 服務的探索規則。探索使用的預設樣式為在虛擬目錄中尋找 .svc 檔案,並在找到時建立一個 WCF 服務端點。若要指定其他表示 WCF 服務的檔案類型,請覆寫 AdditionalExtensions 內容並提供分號分隔的副檔名清單。新的副檔名清單字串的範例如 "foo;bar",其指定了如 myFile.foo myFile.bar 等表示 WCF 服務的檔案</Description>

2018年5月6日 星期日

Windows 10 Start Menu not work

在開始–>滑鼠右鍵執行中,輸入以下指令:reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v “EnableXamlStartMenu" /t REG_DWORD /d “0″ /f

重新啟動電腦