Setting Up the Demo


You need three machines to run this demo. Start Warehouse Server 1, Catalog Server 1, and the Client Daemon on the first machine. Start Warehouse Server 2 and the Client Daemon on the second machine. Start Network Deployment Client Daemon on the third machine.

The steps below contain instructions on configuring and starting the Network Deployment servers and daemons on each of the three machines. These directions must be executed before running demo.

Starting Warehouse Server 1, Catalog Server 1, and the Client Daemon on the first machine

Below are directions for starting Warehouse Server 1, Catalog Server 1, and the client daemon on the first machine.
  1. Configure Bean Extender and start Network Deployment servers. Run the Bean Extender Configuration from the command line as follows: java com.ibm.beans.util.Configure.
    1. Set Bean Extender working directory. Select the Working tab and specify a subdirectory to be used as the Bean Extender working directory. It must be included in the CLASSPATH.
    2. Check Network Deployment settings. The default Network Deployment settings should be sufficient. Depending on your machine setup, you may have to provide the host name and domain name for the servers and daemons. Check the Client, Catalog, and Warehouse tabs and fill in the correct host name and domain name of your machine, if necessary.
    3. Start servers. Start the RMI Registry and all local Network Deployment servers and daemons configured. To do this, select the Start tab in the Configure utility and press the Start Network Deployment servers and daemons button. This will bring up the Warehouse Server and Catalog Server windows.
    Once all of the servers have been started, you can exit the Bean Extender Configure utility.
  2. Configure the warehouse. If the Server Status window indicates that the server is running, press the Stop Server button. Configure the warehouse as follows:
    1. Check warehouse host and domain names. In the Warehouse Controller window, you may need to provide the correct host name and domain name for the server machine.
    2. Add Peer. Click on the Peers tab and specify the host name and domain name for the machine to be used as Warehouse Server 2. Specify an RMI registry port number of 1099. Specify a server name of com.ibm.beans.netdeploy.warehouse.WarehouseServer. To add the peer, press the Add button.
    3. Apply Settings. Click on the the Server Settings tab and press the Apply Settings button so that server is ready to start.
    4. Start the Server. Press the Start Server button to start the Server. You should see the "Running.." message in Server Status window.
    (For additional information about Warehouse Server Configuration and Usage, refer to the Warehouse Server Configuration and Usage.)
  3. Configure the catalog. If the Server Status window indicates that the server is running, press the Stop server button. Configure the catalog as follows:
    1. Check catalog host and domain names. In the Server connection information section under the Status tab, you may need to provide the correct host name and domain name for the server machine.
    2. Add Peer. Click on the Catalogs tab and specify the host name and domain name for the machine to be used as Warehouse Server 2. Specify an RMI registry port number of 1099. Specify a server name of com.ibm.beans.netdeploy.warehouse.WarehouseServer. To add the peer, press the Add catalog to list button.
    3. Start the Server. Press the Start Server button to start the Server. You should see the "Running" message in Server Status window.
    (For additional information about Catalog Server Configuration and Usage, refer to Catalog Server Configuration and Usage.)

Starting Warehouse Server 2 and the Client Daemon on the second machine

Below are directions for starting Warehouse Server 2 and the client daemon on the second machine.
  1. Add jar files to class path. Assuming Bean Extender was installed in x:\product, add the following jar files to the CLASSPATH:
  2. Configure Bean Extender and start Network Deployment servers. Run the Bean Extender Configuration from the command line as follows: java com.ibm.beans.util.Configure.
    1. Set Bean Extender working directory. Select the Working tab and specify a subdirectory to be used as the Bean Extender working directory. It must be included in the CLASSPATH.
    2. Check Network Deployment settings. The default Network Deployment warehouse and client daemon settings should be sufficient. Depending on your machine setup, you may have to provide the host name and domain name for the servers and daemons. Check the Client and Warehouse tabs and fill in the correct host name and domain name of your machine, if necessary. Under the Catalog tab, set the host name and domain name for the machine on which Catalog 1 is running.
    3. Start servers. Start the RMI Registry and all local Network Deployment servers and daemons configured. To do this, select the Start tab in the Configure utility and press the Start Network Deployment servers and daemons button. This will bring up the Warehouse Server window. Since a remote catalog was specified, there will be no Catalog Server window.
    Once all of the servers have been started, you can exit the Bean Extender Configure utility.
  3. Configure the warehouse. If the Server Status window indicates that the server is running, press the Stop Server button. Configure the warehouse as follows:
    1. Check warehouse host and domain names. In the Warehouse Controller window, you may need to provide the correct host name and domain name for the server machine.
    2. Add Peer. Click on the Peers tab and specify the host name and domain name for the machine to be used as Warehouse Server 2. Specify an RMI registry port number of 1099. Specify a server name of com.ibm.beans.netdeploy.warehouse.WarehouseServer. To add the peer, press the Add button.
    3. Apply Settings. Click on the the Server Settings tab and press the Apply Settings button so that server is ready to start.
    4. Start the Server. Press the Start Server button to start the Server. You should see the "Running.." message in Server Status window.
    (For additional information about Warehouse Server Configuration and Usage, refer to the Warehouse Server Configuration and Usage.)

Starting the Client Daemon on the third machine

Below are directions for starting the client daemon on the third machine.
  1. Add jar files to class path. Assuming Bean Extender was installed in x:\product, add the following jar files to the CLASSPATH:
  2. Configure Bean Extender and start Network Deployment client daemon. Run the Bean Extender Configuration from the command line as follows: java com.ibm.beans.util.Configure.
    1. Set Bean Extender working directory. Select the Working tab and specify a subdirectory to be used as the Bean Extender working directory. It must be included in the CLASSPATH.
    2. Check Network Deployment settings. The default Network Deployment client daemon settings should be sufficient. You may have to provide the host name and domain name for the and client daemon. Check the Client tab and fill in the correct host name and domain name of your machine, if necessary. Under the Warehouse tab, set the host name and domain name for the machine on which Warehouse 2 is running. Under the Catalog tab, set the host name and domain name for the machine on which Catalog 1 is running.
    3. Start servers. Start the RMI Registry and all local Network Deployment servers and daemons configured. To do this, select the Start tab in the Configure utility and press the Start Network Deployment servers and daemons button. Since a remote catalog and warehouse were specified, there will be no Warehouse Server or Catalog Server window.
    Once the client daemon has been started, you can exit the Bean Extender Configure utility.


[ Top of Page |Previous Page |Next Page | Table of Contents | Documentation Homepage ]