Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How to create your own file of servers and groups to import into Registered Servers Expand / Collapse
Author
Message
Posted Wednesday, October 19, 2011 10:43 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 13, 2014 9:25 AM
Points: 62, Visits: 250
we have all of our 1000 instances stored in a central DB. I can easily pull these out, and group and order them in whatever way I want to. How can I then import this list into the Central Management Servers list of servers? Is there some utility somewhere that creates the xml file in the required format ready for import?

thanks
Post #1193032
Posted Thursday, October 20, 2011 12:03 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, September 23, 2014 2:53 AM
Points: 1,101, Visits: 5,290
Try this:
Right click -> Tasks -> Import.../Export...

See the attached screen shot for reference.
Exported file is in xml format.


  Post Attachments 
SSC.png (7 views, 14.63 KB)
Post #1193343
Posted Thursday, October 20, 2011 2:37 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 13, 2014 9:25 AM
Points: 62, Visits: 250
thanks for the reply. what i'm after though, is a way to put my serverlist (held in another table) into that XML format, so that i can add all these 1000 servers in one go, rather than register each one. any utility out there that creates the xml file for you?

Post #1193418
Posted Thursday, October 25, 2012 1:43 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 13, 2014 9:25 AM
Points: 62, Visits: 250
issue solved. there are msdb stored procedures used to create/add servers and groups you enter into your CMS setup in SSMS. the names escape me, but if you trace it you'll find them and then just google them/BOL them for more info on how to use them. i got the the point where i was able to rather quickly add 10s/100s of instances into various groups in seconds, once i'd retrieved a suitable source list of instances to use.
Post #1376821
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse