Quantcast
Channel: EPMFramework Discussions Rss Feed
Viewing all 138 articles
Browse latest View live

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
Yes, EPMF v4 has been tested and validated against 2014.

Sent from my Windows Phone


New Post: Result Details: shredding the XML

0
0
lararubbelke wrote:
Hello Gabriela, I wish I had better news for you, but I don't think this is documented.  I have asked the product team for help on this same question in the past, but was told that the logic to interpret the details was written in the gui. (SSMS)  If I remember correctly, dissecting the XML is even more challenging when the condition had multiple expressions (I am completely going off some very old memories, though - it has been a long time since I tried to attack this issue).  In the end, I had to put aside writing reports against this data due to the lack of documentation.  Perhaps I can try to look at it again in a few weeks. 
Have you had any luck with this? My problem is that when something fails, I can't even go to my central management server to see a GUI like detailed problem, but I have to go the server in question and then run the policy to see the specific problem. This has two problems:
  1. It doesn't allow the report to be all that it could be.
  2. I have to go through the SSMS GUI in order to evaluate the policy to see the detail.
I understand and can appreciate your perspective, but we need a solution. Any luck?

New Post: Cannot evaluate policies that use Executesql() against SQL Server 2000

0
0
I know the solution for SQL 2012 is to give either read access to all databases or SYSADMIN to ##MS_PolicyTsqlExecutionLogin##.

New Post: Result Details: shredding the XML

0
0
Sorry but I don't have an update on my end. There are two other from Microsoft who are building and managing this project, so perhaps they have a creative solution.

New Post: Inserting data in to the PolicyHistoryDetail table

0
0
I'm looking for an answer to the following just referenced by Joechelad:


Warning! The maximum key length is 900 bytes. The index 'IX_PolicyHistoryView' has maximum length of 1330 bytes. For some combination of large values, the insert/update operation will fail.
Warning! The maximum key length is 900 bytes. The index 'IX_EvaluatedServer' has maximum length of 1032 bytes. For some combination of large values, the insert/update operation will fail.


I'd like to avoid this problem and just have a clean fix.

Thanks!
Keith

New Post: Transfering data from different domains into one location

0
0
I have installed this framework on a number of clusters in a number of domains. I'm now tasked with getting gathering that data and putting it into one location.

The SSIS package to transfer the data is actually quite simple if you use a unique composite key in the table to eliminate duplicates and tell the source in the data flow to ignore failures.

My question is more about reporting:

I see some reports are dependent on MSDB:
  1. Does anyone know if its safe to transmit the CMS tables in MSDB (sysManagement_shared_registered_servers_internal and sysManagement_shared_server_groups_internal)? My guess is that the only consequence is that one could manually match the entries of the database into a CMS in SSMS via the Registered server window, but that the connnections would simply not connect. Meaning it could be benign.
  2. If I don't copy these entries (sysManagement_shared_registered_servers_internal and sysManagement_shared_server_groups_internal), where are all of the places I remove report dependencies on these tables and what consequences would there be?
  3. Has anyone else done this yet?
Thanks,
Keith

New Post: Result Details: shredding the XML

0
0
Have you guys ever looked at populating the system tables that store policy information? That way we can use SSMS to show us the visual rather than re-run the policy to get the visual?

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
It seems I have some issues with EPMv4 and SQL2014. Here's my configuration: SQLServer 2014 Developer Edition (enterprise engine), with CU4 (v12.0.2430). I also have a SQL2012 Express edition on the same laptop and a SQL2012 server at my office. My 2014 instance is the central management server. I created a simple condition and policy with the category 'test'. When I run the powershellscript (as described in the manual), no policies are evaluated. I removed the delete statement to examine the .xml outpufiles. These are in the format {servername}_{category].xml, but both are only 136 bytes in size, content: [<?xml version="1.0" encoding="utf-16"?>
<PolicyEvaluationResults] (yes, truncated)

I did some extensive testing earlier today on SQL2012/2008R2 with no problems ...
Any ideas?

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
I added some output to the powershell script, this is the errormessage: 'System.ArgumentNullException, Value cannot be null. Parameter name: policy"
This is in the trap part of the while loop. Os is Windows 8.1

New Post: Can it evaluate a named instance?

0
0
Hi

We are running this across a firewall with static ports all configured and allowed, but the evaluation is still failing for any servers where we have a named instance such as e.g. by the name of SERVER1\SRVA

Any ideas? I'm just about to try registernig our servers in the CMS as SERVER1,12345 and will report back

New Post: Tries to call a website at runtime

0
0
When we execute the policy evaluation via a SQL agent job our firewall is detecting that the job/script is trying to make a HTTP connection to an external address that doesn't exist as it's our providers "this website doesn't exist" page.

Is anyone aware of this? I can't see any HTTP calls in any of the scripts provided so it seems strange...

New Post: Can it evaluate a named instance?

0
0
I've worked around this by creating a SQL alias on the source server so the server name in the CMS list still appears with a '\' but the alias is pointing at servername,12345

New Post: Can it evaluate a named instance?

0
0
Is this an issue that has developed with the latest 4.0 version? Almost all of our 100+ instances are named instances and have no problems under the EPM 3.0 version.

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
FYI, our initial tests were with the CMS on a SQL 2102 and evaluating against all versions from 2000 onwards. Also tested having SQL 2014 as the CMS against all versions from 2000 onwards, but not having the CMS in SQL 2014 while there was also a SQL2012 in the same box, where this precedence hits and breaks the data collection.
Thanks for bringing this to our attention. I have been able to replicate the issue when more than one PSModulePath are listed, and SQL11 precedes SQL12. I'm in the process of testing a fix, and should come back shortly with it with a syntax that is more resilient to this scenario.

New Post: Can it evaluate a named instance?

0
0
Hello,
Can you please provide more detail? I have had no issues with named instances, even on very large environments. While you're at it, I just release v4.1, so please update the PS script and the data loading SP, and test again.
Thanks

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
Hello,
Just released v4.1, so please update the PS script and the data loading SP, and test again. Please let me know how it works.
Thanks

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
v4.1 doesn't appear to be returning Evaluation Results. Error mesage is System.ArgumentException, parsing "\" - Illegal...Quantifier
v4.0 returns Evaluation results with the same policies.

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
Hi Keith, could you please tell me which SQL version is your CMS, on which OS version and PS version are you running please.
Thanks

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
SQL is 2012 version = 11.0.5532.0

OS is 2008r2 version = Microsoft Windows NT 6.1 (7601)

PowerShell version = 3.0



Also having the following issue with all of the subreports (ver 4 or 4.1):

The definition of the report '/PolicyDetails' is invalid.

The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: '.', hexadecimal value 0x00, is an invalid character. Line 963, position 10.

New Post: Enterprise Policy Management Framework 4.0 versus SQL Server 2014

0
0
Almost the same issue ...
It seems the script is trying to extend the results directory or is a backslash missing???? . Here's the output of the powershell script:
<output>
Loading Assemblies...

The job script encountered the following errors. These errors did not stop the script:
A job step received an error at line 164 in a PowerShell script. The corresponding line is ' $PolicyResult = Get-Content $OutputFile -encoding UTF8
'. Correct the script and reschedule the job. The error information returned by PowerShell is: 'Cannot find path 'C:\PBM\Results\GUT689S3U\SQLEXPRESS_AUTO-SHRINKstaatuit.xml' because it does not exist.
'
</output>
The outputdirectory is set to " C:\PBM\Results\"
OS is windows 8.1 (6.3.9600)
PBM is located om MSSQL2014 (12.0.2402)
Powershell version 4,0,-1,-1
querying 2012 SQLExpress edition


Output from v_evaluationerrorhistory (column EvaluationResults):
System.IO.DirectoryNotFoundException, Could not find a part of the path C:\PBM\Results\GUT689S3U\SQLEXPRESS_AlwaysOnAgSynchronousReplicasDataSynchronizationHealthPolicy.xml.
System.ArgumentException, parsing "\" - Illegal \ at end of pattern.
System.ArgumentException, parsing "?" - Quantifier {x,y} following nothing.
System.ArgumentException, parsing "*" - Quantifier {x,y} following nothing.
System.IO.DirectoryNotFoundException, Could not find a part of the path C:\PBM\Results\GUT689S3U\SQLEXPRESS_AlwaysOnAgWSFClusterHealthPolicy.xml.
System.ArgumentException, parsing "\" - Illegal \ at end of pattern.
System.ArgumentException, parsing "?" - Quantifier {x,y} following nothing.
Viewing all 138 articles
Browse latest View live




Latest Images