16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

232 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

1. Start the Configuration Assistant from the system where you want to connect to the<br />

database. To start this tool, use the command db2ca from a Windows command<br />

prompt or Linux shell. Figure B.9 shows the Configuration Assistant.<br />

Figure B.9 - The DB2 Configuration Assistant<br />

2. From the Configuration Assistant, click on the Selected --> Add database using<br />

Wizard menu<br />

3. From the Select how you want to set up a connection window, you can use Search<br />

the network if your network is small <strong>with</strong>out many hubs. If you know the name of<br />

the server where DB2 resides, choose Known systems and drill down all the way<br />

to the database you want to connect. Proceed <strong>with</strong> the wizard using default values.<br />

If you do not know the name of your system, choose Other systems (Search the<br />

network). Note that this may take a long time if your network is large.<br />

4. If Search the network does not work, go back to the Select how you want to set up<br />

a connection window, and choose Manually configure a connection to a database.<br />

Choose TCP/IP and click next. Input the hostname or IP address where your DB2<br />

server resides. Input either the service name or the port number.<br />

5. Continue <strong>with</strong> the wizard prompts and leave the default values.<br />

6. After you finish your set up, a window will pop up asking you if you want to test<br />

your connection. You can also test the connection after the setup is finished by<br />

right-clicking on the database, and choosing Test Connection.

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

Saved successfully!

Ooh no, something went wrong!