July 18, 2013 at 8:46 pm
I just set up a Central Management Server and can now check my policies against a whole group of SQL Server instances. This is great! However, it seems the instance that is designated as the Central Management Server is not checked when policies are evaluated. Is there any way to include this instance or do all policies need to be checked twice: once for the central server, and again on the target group?
July 19, 2013 at 3:31 am
hello,
just add the @@SERVERNAME
SELECT
s.server_name as ServerName,
ssg.name as GroupName
FROM [msdb].[dbo].[sysmanagement_shared_registered_servers_internal] s
INNER JOIN [msdb].[dbo].[sysmanagement_shared_server_groups] ssg
ON s.server_group_id = ssg.server_group_id
UNION
SELECT @@SERVERNAME, 'Sql Server'
July 19, 2013 at 9:08 am
Chauchs,
I am not sure if I understand your reply. Are you suggesting I add the central management server to the sysmanagement_shared_server_groups table? I tried adding it via the Registered Servers GUI but get the error: "You cannot add a shared registered server with the same name as the Configuration Server."
July 19, 2013 at 10:48 am
No,
How are you run the check of your policies?
July 19, 2013 at 10:50 am
July 22, 2013 at 3:55 am
ok so, for me, it's "manually" and I don't know how is it possible manually.
Otherwise you can do this with a script (PowerShell).
Take a look here : http://epmframework.codeplex.com/
And see the Dowloads page : http://epmframework.codeplex.com/releases/view/28621
(you dont need to create reports)
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy