Modifying the ServiceName attribute for the netlsnr resource

Perform the following steps to modify the ServiceName attribute for the Netlsnr resource.

To modify the ServiceName attribute

  1. Start HAD. Type the following on the command prompt:
    C:\> hastart
  2. Offline the Netlsnr resource. Type the following on the command prompt:
    C:\> hares -offline resource_name -sys system_name
    					
  3. Modify the ServiceName attribute for the Netlsnr resource. Type the following on the command prompt:
    C:\> hares -modify resource_name attribute_name attribute_value
    					

    For example, to modify the ServiceName attribute of the Netlsnr resource, Netlsnr_res, type:

    C:\> hares -modify Netlsnr_res ServiceName attribute_value
    					

    where, attribute_value is the name of the listener service in Oracle 9i or 10g versions.

  4. Online the Netlsnr resource. Type the following on the command prompt:
    C:\> hares -online resource_name -sys system_name