Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to exclude clusers

Status
Not open for further replies.

CrashRider

Technical User
Dec 16, 2004
4
US
I need to exclude clustered servers from a Collection. I tried to do it by not equal to service name "Cluster Service" but it they still showed up.

Thanks,

Codis
 
I get an error when trying to do the exclude systems in another container

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Roles not like "%Domain_Controller%" and SMS_G_System_SYSTEM.Name not in (select name from SMS_CM_RES_COLL_STE00043)

The last line after Domain_Controller is what I added per the other posts. I'm not sure what I'm doing I don't understand SQL at all.

Codis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top