Disabling and enabling the scheduler on a node in cluster setup involves the following:
- Adding the Server-Level Property
- Restarting the Managed Server from the Node Manger
Adding the Server-Level Property
To add the server-level property to disable/enable the scheduler on a node in cluster setup:
- Log in to the WebLogic Administrative Console.
- In left pane, click Environment, Servers.
- Click the name of the managed server in which you want to add the scheduler.disabled=true property.
- Click Lock and Edit in the left tab.
- Click Configuration, Server start tab in the right pane.
- In the Argument Text box, add scheduler.disabled=true, and save.
- Click Activate Change in the left pane.
- To ensure that this property is picked, restart the managed server via the node manager. Restarting from script does not work.
Restarting the Managed Server from the Node Manger
To restart the managed server from the node manager:
- Start the Admin Sever by running the following script:
MW_HOME/user_projects/domains/base_domain/startWebLogic.sh
- Start the Node Manager by running the following script:
MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh
- Login to the WebLogic Administrative Console.
- In left pane, click Environment, Servers.
- Click the Control tab in the right pane.
- Select the checkbox against the managed server in which the property has been added, and then click the start button.
After restarting the managed server, scheduler will not start because the value of the scheduler.disabled property is set to true. To verify this, navigate to the following URL and log in:
http://HOST:PORT/SchedulerService-web