Re-Import VMs into Hyper-V
Normaly you can only import a Virtual Machine (VM) into Hyper-V if you have exported it. If you lose your Hyper-V settings or have to import it into a new Hyper-V Server in case of a desaster recovery than you can use the steps descripted in this (and other) blog post: http://blogs.msdn.com/b/robertvi/archive/2008/12/19/howto-manually-add-a-vm-configuration-to-hyper-v.aspx
The problem is that you have to handle many long pathes and cryptical GUIDs. I had to do that for a bunch of different VMs and being chronical lacy I created three batch files for it:
- importVM.cmd “GUID” “Path to Virtual Machine” creates the link and corrects the permissions on the link and the vm folder
- importSnapshot.cmd “SnapshotGuid” “VMGuid” “Path to Snapshot” creates the snapshot link and the right permission.
Not very impressiv? Well, the third batch files combines this two scripts:
- addMachine.cmd: Takes the basis path (the path where the sub-folder Virtual Machine, Snapshots exists) and extracts the VM-GUID, all Snapshots-GUIDs and the other pathes to automaticly create the links and permissions.
So with one simple command (addMachine.cmd C:\ClusterStorage\Volume4\VM1) you can import the complete VM.
— addMachine.cmd ——
Kleine Tools – große Wirkung
Gerade im AD-Umfeld finde ich die Tools von Joe Richards (http://joeware.net) immer wieder großartig. Mit ihnen lassen sich durch geschickte Verkettungen sehr schnell Aufgaben lösen. Dabei ist der Ansatz ähnlich wie bei Unix, d.h. ein Tool hat ein Aufgabenspektrum (z.B. finden, ändern, löschen, …) – die Tools wiederum können über die Std-out Ausgabe gekoppelt werden. Wer also nicht immer gleich die Power Shell starten will, sollte sich diese Programm verlinken.
System Center Advisor Ablauf
System Center Advisor (SCA) ist ein neues Cloud Produkt von Microsoft, dass ähnlich wie Intunes bloß für Server ist. (und auch nur die Überwachung beinhaltet
)
Es verwendet ebenfalls auf dem zu überwachenden Server den SCOM 2007 R2 Agent und unterstütz dabei Multihome, d.h. man kann auch parallel seinen eigenen SCOM Server weiterbetreiben. SCA liefert eigene Management Packs mit, die speziell für SQL Server optimiert wurden. So werden fehlende Microsoft Updates (die nicht im Windows Update Katalog sind) angezeigt, nicht optimale TempDB Einstellungen, … aufgelistet.
Fehlermeldung bei der Installation des RSAT auf Win7 mit SP1
Wenn beim Versuch der Installation des Remote Server Administration Tools auf einem Windows 7 mit Service Pack 1 folgende Fehlermeldung bekommt:
(Das Update ist nicht für Ihren Computer geeignet), der kann mit folgendem Skript aus dem Technet (s.u. Kommentare, http://technet.microsoft.com/en-us/library/ee449475%28v=ws.10%29.aspx) die Installation trotzdem durchführen:
Für das x86 RSAT:
(x86.cmd)
MD C:\RSAT
expand -f:* “%~dp0x86fre_GRMRSAT_MSU.msu” C:\RSAT
CD\RSAT
pkgmgr.exe /n:C:\RSAT\Windows6.1-KB958830-x86.xml
pause
Fehlermeldung bei der Installation des Intunes Agents
Bei der Installation des Intunes Agents hinter einem Proxy kann es zu der Fehlermeldung mit der Nummer 0x80cf402c kommen.
Details zu dem Fehler findet man unter C:\Program Files\Microsoft\OnlineManagement\Logs in der Datei Enrollment.log. Während der Installation versucht das Setup online ein Zertifikat von Microsoft anzufordern, um sich später damit authentifizieren zu können. Nachfolgend der entsprechende Log-Abschnitt:
2011-03-10 11:44:03:577 2432 fc8 Misc Unauth reporter: ReportErrorEvent_Internal execution started.
2011-03-10 11:44:03:578 2432 fc8 EP SLS: Initializing for service ID 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7
2011-03-10 11:44:03:578 2432 fc8 EP SLS: Contacting Location Service
2011-03-10 11:44:03:578 2432 fc8 EP SLS: Contacting Location Service
2011-03-10 11:44:05:838 2432 fc8 Misc WARNING: Send failed with hr = 80072ee7.
2011-03-10 11:44:05:838 2432 fc8 Misc WARNING**: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used :**
2011-03-10 11:44:10:397 2432 fc8 Misc WARNING: Send failed with hr = 80072ee7.
2011-03-10 11:44:10:397 2432 fc8 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used :
2011-03-10 11:44:14:662 2432 fc8 Misc WARNING: Send failed with hr = 80072ee7.
2011-03-10 11:44:14:662 2432 fc8 Misc WARNING: SendRequest failed with hr = 80072ee7. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used :
2011-03-10 11:44:14:662 2432 fc8 EP FATAL: SLS: Failed to communicate with unuauth location service, error = 0x80CF402C
2011-03-10 11:44:14:662 2432 fc8 EP FATAL: SLS: Failed to refresh service endpoints, error = 0x80CF402C
2011-03-10 11:44:14:662 2432 fc8 Misc FATAL: Unauth reporter: GetErrorEventWebServiceUrl could not obtain the EEWS URL from unauth location service. Error code hr = 0x80cf402c.
2011-03-10 11:44:14:663 2432 fc8 EP SLS: Initializing for service ID 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7
2011-03-10 11:44:14:663 2432 fc8 EP SLS: Reading from cache
2011-03-10 11:44:14:663 2432 fc8 EP SLS: Successfully read service endpoints from cache.
2011-03-10 11:44:14:663 2432 fc8 EP SLS: Contacting Location Service
2011-03-10 11:44:14:663 2432 fc8 EP FATAL: SLS: Failed to refresh service endpoints, error = 0x80004001
Fehlermeldung bei der Installation des Visio Add-In for Disk Space
Sollte bei der Installation des Visio Add-In for Disk Space (http://visiotoolbox.com/2010/add-ins.aspx) für den System Center Operations Manager (SCOM) auf einem Windows 7 x64 mit Visio 2010 x64 folgende Fehlermeldung auftauchen:
so liegt das laut dem Installer-Log (wenn man das Setup mit msiexec /I … /l* install.log aufruft) an einem fehlenden Registry Key:
SCOM: Neue Management Packs
Ich stelle mir regelmäßig die Frage, welche Management Packs (MP) sich in letzter Zeit aktualisiert haben. Dies ist z.B. relevant wenn man bei einem Kunden ist und dieser nicht (auf einfache Weise) von der Management Konsole ins Internet kommt, um die MPs automatisch aktualisieren zu lassen. Der Pinpoint Katalog ist dabei leider auch keine gute Hilfe.
Daher habe ich mir ein kleines Script geschrieben, dass die MP-Änderungen innerhalb eines Zeitraumes ausließt und ausgibt. Ich werde demnächst einmal die Woche diese Liste hier posten. (Momentan noch halbautomatisch und demnächst hoffentlich automatisiert.)
SCOM: Diverse Management Packs
Im Rahmen meiner beruflichen Tätigkeit sind diverse Management Packs für den Operations Manager (SCOM) angefallen.
Diese stehen jetzt kostenlos zum Download bereit: http://www.its-technidata.de/de/im_focus/microsoftsystemcenter/Seiten/KostenloserDownloadSCOM.aspx
Darunter sind (einfache) MPs für:
- BlackBerry Email Router Monitoring
- Microsoft CRM Email Router
- Datacore Storage Server
- FileZilla FTP Server Monitoring
- Kiwi Syslog Server Monitoring
- SAP MaxDB Monitoring
- Oracle Database Server Monitoring
- Basic SAP Monitoring auf Windows Servern
- WAMP Monitoring
Fragen und Anregungen dürfen auch gerne an diesen Post als Diskussion angehängt werden!
SCOM ACS over forest borders
Sometimes the acs forwarder doesn’t connects successfully to the acs server and states in the operations manager event log, that you have to activate debugging to see more details.
You can activate it by following this instruction:
- Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdtAgent\Parameters
- Create DWORD value = TraceFlags
- Edit the TraceFlags entry and enter decimal value 524420
- Restart the AdtAgent service
(Source: http://helpmemanage.blogspot.com/2007/05/enable-detailed-logging-for-acs.html)
You can find the log under c:\windows\temp
One cause can be that the acs cannot operate over forest borders or from a workgroup (kerberos authentication – some reason for the scom agent).
Manual activate debug for GPP
Sometimes you have to debug group policy preferences (gpp) and don’t want to activate the debugging with another group policy.
You can simpe activate the debugging with two registry entries:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}]
"LogLevel"=dword:00000003
"TraceLevel"=dword:00000002