01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

wserver server=server shutdown=normal authid=admin/pword<br />

This shuts down <strong>the</strong> server immediately:<br />

rwserver server=server shutdown=immediate authid=admin/pword<br />

This shuts down <strong>the</strong> server without displaying any related messages:<br />

rwserver server=server shutdown=normal authid=admin/pwrd batch=yes<br />

Setting Up a Cluster<br />

The keywords used with <strong>the</strong> rwserver command are described in Appendix A,<br />

"Command Line Options".<br />

1. If you have cus<strong>to</strong>m configuration settings in your <strong>Reports</strong> Server configuration file<br />

(server_name.conf), rename this file <strong>to</strong> <strong>the</strong> new cluster name (server_<br />

name.cluster_name.conf).<br />

You'll find <strong>the</strong> configuration file in <strong>the</strong> following path on UNIX and Windows:<br />

ORACLE_HOME\reports\conf\server_name.conf<br />

If you don’t have cus<strong>to</strong>m configuration settings in your <strong>Reports</strong> Server<br />

configuration file, a new configuration file with <strong>the</strong> new name will be generated<br />

au<strong>to</strong>matically when you restart <strong>the</strong> renamed server(s).<br />

2. Rename <strong>the</strong> <strong>Reports</strong> Server in all affected files, giving each cluster member <strong>the</strong><br />

same cluster name.<br />

■ Open <strong>the</strong> servlet configuration file (rwservlet.properties) and respecify<br />

<strong>the</strong> server name <strong>to</strong> include <strong>the</strong> name of your cluster. For example:<br />

SERVER=server_name.cluster_name<br />

You'll find <strong>the</strong> servlet configuration file on both Windows and UNIX in <strong>the</strong><br />

same path:<br />

ORACLE_HOME\reports\conf\rwservlet.properties<br />

■ If you run <strong>the</strong> server as a Windows service, <strong>to</strong> rename <strong>the</strong> server you must<br />

uninstall and reinstall <strong>the</strong> service:<br />

To uninstall <strong>the</strong> Windows service, at <strong>the</strong> command prompt enter:<br />

rwserver -uninstall server_name<br />

To reinstall <strong>the</strong> Windows service, at <strong>the</strong> command prompt enter:<br />

rwserver -install server_name.cluster_name<br />

Note: Reinstalling <strong>the</strong> server also starts it up. You may want <strong>to</strong><br />

shut it down until you have renamed all server cluster members,<br />

<strong>the</strong>n start <strong>the</strong>m all up <strong>to</strong>ge<strong>the</strong>r once you’ve set up your cluster.<br />

You’ll find information on shutting <strong>the</strong> server down in Chapter 2,<br />

"Starting and S<strong>to</strong>pping <strong>Oracle</strong>AS <strong>Reports</strong> Services".<br />

Before you restart your <strong>Reports</strong> Server(s), you may generate server public and private<br />

keys and enter <strong>the</strong> resulting information in each member server's configuration file.<br />

How <strong>to</strong> do this is discussed in <strong>the</strong> next sections.<br />

Clustering <strong>Reports</strong> Servers 12-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!