• No results found

Chapter 2. Getting started

2.2 Setting up the DataPower appliance

You set up the DataPower appliance by using the command line interface (CLI) with physical connectivity to the device and a serial cable from your PC. After you set up the appliance, you can access it for most purposes by using the WebGUI.

For the initial configuration, you must have the following requirements: 򐂰 PC running the HyperTerminal program

Ensure that the software is configured for standard 9600 8N1 (9600 baud, 8-bits per character, no parity, 1 stop-bit) operation. You can use other terminal programs if convenient.

򐂰 The DB-9 null-modem cable and both power supply cables shipped with the device 򐂰 USB-to-serial converter, if the terminal or PC is not equipped with a serial port 򐂰 IP address to assign to the appliance provided by your system administrator

2.2.1 Connecting the DataPower appliance

Connect both power supplies to the ac power by using the IBM cables that shipped with the DataPower appliance. Both power supplies must be connected to ac power, or the firmware will be in a failed state.

You connect to the appliance with the following steps. In our example, we use a PC running HyperTerminal and a USB-to-serial converter to connect the DataPower device® to the PC. 1. Plug the DB-9 null-modem cable into the appliance.

2. Connect the USB-to-serial converter into the PC and DB-9-null cable modem into the serial port in the front of the device.

3. Configure the management network interface (mgmt) for network connectivity. Configure any of the three other ports as well.

4. From your PC, click Start→ Programs → Accessories → Communications →

HyperTerminal to start HyperTerminal.

5. Create a connection. In the window that opens, in the Name field, type DataPowerX150. Select any icon and click OK.

6. Locate the power switch located at the back of the device and turn it on.

7. In the HyperTerminal connection window, you see a message indicating that booting is in progress. Wait for the login prompt.

Important: The DataPower appliance is physically secure. If the appliance has been

tampered with, or opened, the setup and configuration steps will not work, and the device must be returned to IBM.

Management Port: Use the Management Port (mgmt) to provide Web-based access to

2.2.2 Initializing the appliance

To initialize the appliance:

1. After the booting is complete, press Enter to access a login prompt (Figure 2-1) if one is not already visible.

Figure 2-1 HyperTerminal login window

2. Login with user ID of admin and a password of password. In some cases, the password can be admin or admin1.

3. Review the licensing information, type accept to continue (Figure 2-2).

Figure 2-2 License agreement

4. When logging in as admin for the first time, change the admin password when prompted.

Setting up the appliance by using CLI commands

For the remainder of the configuration steps, you use CLI commands. For more information about CLI commands, refer to the DataPower reference documentation that is listed in “Other publications” on page 185.

We use a small subset of the CLI commands to configure minimum connectivity and enable the Web Management Interface. After you configure the Web Management Interface, you can use a browser to access the appliance and perform additional interface and service

configuration as defined in the WebGUI documentation. Figure 2-3 on page 22 shows a summary of the CLI commands that you enter in the HyperTerminal window.

1. Enter the Global configuration mode: configure terminal

2. Access the Management Interface Configuration mode: int mgmt0

3. Assign an IP address: ip address IPADDRESS/23

4. Set the default gateway:

ip default gateway [Gateway IP]

5. Exit the Management Interface Configuration mode: exit

6. Enter the Web Management Interface mode: web-mgmt

7. View the current settings: show

8. Enable the service for use: admin-state enabled

9. Display the configuration for the Web Management Service: show

10.Exit the Web Management configuration: exit

Global configuration mode: Most of the CLI commands that are used for configuring

the device work only in the Global configuration mode.

The value 23: The value 23 is the short hand for assigning the subnet. Consult your

system administrator for the appropriate subnet assignment.

Port 9090: The Web Management Interface runs on port 9090 by default.

DataPower objects: All objects in DataPower are shipped as disabled. Therefore, you

Figure 2-3 Web Management Service configuration

11.Save your configuration settings: write mem

12.To verify that the WebGUI is available, launch your browser to connect to the appliance by using the HTTPS protocol:

https://9.42.170.231:9090

As an alternative to this step, you can access the appliance by using SSH. This method is often convenient to use when you must use CLI remotely. To enable SSH, type the ssh command as shown in Figure 2-4.

The DataPower Web Login Page opens as shown in Figure 2-5. If this page does not open, refer to the IBM WebSphere DataPower Common Installation Guide for guidance. You can download this guide from the Web at the following address:

https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-datapower &S_PKG=xi50_9003_s2&dlmethod=http

Figure 2-5 DataPower WebGUI