Defined type class to provision a sql server as a slave or master