Run Forums administrative commands 

Jython scripts are used to administer the Forums application. These scripts allow the administrator to view Forums data and perform administrative tasks for Forums.


Before starting

To run administrative commands, use the IBM WAS wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.


About this task

Administrative commands interact with the Forums application and its resources through scripts. These scripts use the AdminControl object available in the IBM WAS wsadmin tool to interact with the Forums server. Each script uses managed Java™ beans (MBeans) to perform administrative tasks.

If an error occurs when you are executing the MBean commands, you can examine the SystemOut.log file to determine what went wrong.

Unlike with configuration properties, when you use administrative commands you do not have to check out any files or restart the server. The commands are executed and take effect immediately.


Procedure

To run Forums administrative commands...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./wsadmin.sh -jython
      execfile("forumsAdmin.py")

      If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.

  2. See Forums administrative commands for a complete list of editable administrative commands for the Forums application.

      Forums administrative commands
      Use the commands listed to perform administrative tasks for Forums. No file checkout or server restart is needed when using these commands.


Parent topic

Administer Forums


   

 

});

+

Search Tips   |   Advanced Search