This topic has not yet been rated Rate this topic

Registering and Unregistering an Instance

SQL Server 2000

Registering and Unregistering an Instance

Registering an instance of Notification Services creates the NS$instance_name service, creates performance counters on the local server, and adds information to the registry. You must register the instance on the following servers:

  • Each server that runs the NS$instance_name service. The service runs the event provider host, generator, and distributor components. For scaled-out configurations, the service runs on multiple servers.
  • Each server that runs a subscription management application. If the subscription management application runs on its own server, do not create the NS$instance_name service when registering the instance.
  • Each server that runs an independent event provider. If the independent event provider runs on its own server or the database server, do not create the NS$instance_name service when registering the instance.

If the database server does not also run the Notification Services instance or the client components, do not register the instance on this server.

To register an instance of Notification Services and create the NS$instance_name service

  1. On the Start menu, point to Programs\Notification Services, and then click Notification Services Command Prompt to open a command prompt window.
  2. Type the following command to register the instance:
    nscontrol register -name instance_name -service
       -serviceusername "service_username" 
       -servicepassword "service_password"
    
    

    If using SQL Server Authentication to connect to SQL Server, you must also use the -sqlusername and -sqlpassword arguments.

To register an instance of Notification Services without creating the service

  1. On the Start menu, point to Programs\Notification Services, and then click Notification Services Command Prompt to open a command prompt window.
  2. Type the following command to register the instance:
    nscontrol register -name instance_name
    
    

To remove an instance from a server, you must delete the instance and also unregister it. Unregistering an instance removes registry entries, removes the NS$instance_name service (if present), and deletes the performance counters for the service.

To unregister an instance of Notification Services
  1. On the Start menu, point to Programs\Notification Services, and then click Notification Services Command Prompt to open a command prompt window.
  2. Type the following command to register the instance:
    nscontrol unregister -name instance_name
    
    

See Also

Deploying an Instance

NSControl Register

NSControl Unregister

Did you find this helpful?
(2000 characters remaining)