Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to create your own file of servers and groups to import into Registered Servers


How to create your own file of servers and groups to import into Registered Servers

Author
Message
stiej1977
stiej1977
Valued Member
Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)

Group: General Forum Members
Points: 72 Visits: 281
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
Suresh B.
Suresh B.
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1128 Visits: 5326
Try this:
Right click -> Tasks -> Import.../Export...

See the attached screen shot for reference.
Exported file is in xml format.
Attachments
SSC.png (7 views, 14.00 KB)
stiej1977
stiej1977
Valued Member
Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)

Group: General Forum Members
Points: 72 Visits: 281
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?
stiej1977
stiej1977
Valued Member
Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)Valued Member (72 reputation)

Group: General Forum Members
Points: 72 Visits: 281
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search