Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type...

34
Series I Series I Connectivity Connectivity

Transcript of Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type...

Page 1: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Series ISeries IConnectivityConnectivity

Series ISeries IConnectivityConnectivity

Page 2: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Communication resources

• Display Communication Resources

System: ODIN Type options, press Enter. 5=Display configuration descriptions 7=Display resource detail Opt Resource Type Status Text CMB01 284C Operational Combined function IOP LIN01 2771 Operational Comm Adapter CMN01 2771 Operational Comm Port CMN02 2771 Operational V.24 Port LIN03 2745 Operational Comm Adapter CMN04 2745 Operational Comm Port CMN05 2745 Operational Comm Port CMB02 2843 Operational Combined function IOP LIN04 2743 Operational LAN Adapter CMN07 2743 Operational Ethernet Port LIN02 2838 Operational LAN Adapter CMN03 2838 Operational Ethernet Port

BottomF3=Exit F5=Refresh F6=Print F12=Cancel

Page 3: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configuration StatusGo cmnsts

Work with Configuration Status ODIN 04/04/07 11:33:21Position to . . . . . Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status 13=Work with APPN status... Opt Description Status -------------Job-------------- CTL01 ACTIVE DSP01 SIGNON DISPLAY ETHERNET ACTIVE ETHERTCP ACTIVE QTCPIP QTCP 488697 FIBERNET ACTIVE FIBERTCP ACTIVE QTCPIP QTCP 488697 QCTL VARIED OFF QCONSOLE VARIED OFF QESCTL VARIED OFF More...Parameters or command ===> F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys

Page 4: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

•Can run simultaneous in OS/400

•It is very common to have APPC and TCP/IP active at the same time

•APPC to support business applications

•TCP/IP for TELNET and FTP•More configuration required to for LPD and SMTP

MULTIPLE PROTOCOLS

Page 5: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Client AccessClient Access Ops Nav Ops Nav

WDSc (Internet) TCP/IPWDSc (Internet) TCP/IP

Page 6: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

“Green” screen(Local - workstation)

Sign On System . . . . . : ODIN Subsystem . . . . : QINTER Display . . . . . : QPADEV02PN

S E N E C A C O L L E G E S C H O O L O F C O M P U T E R S T U D I E S OOOOOO DDDDDDD IIIIIII NN NN OO OO DD DD II NNN NN OO OO DD DD II NN NN NN OO OO DD DD II NN NN NN OOOOOO DDDDDDD IIIIIIII NN NNN User . . . . . . . . . . . . . . Password . . . . . . . . . . . .

Program/procedure . . . . . . . .

Menu . . . . . . . . . . . . . .

Current library . . . . . . . . .

Page 7: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

“Green” screenCA – (Client Access) or

Mocha remote Sign On System . . . . . : ODIN Subsystem . . . . : QINTER Display . . . . . : QPADEV02PN

S E N E C A C O L L E G E S C H O O L O F C O M P U T E R S T U D I E S OOOOOO DDDDDDD IIIIIII NN NN OO OO DD DD II NNN NN OO OO DD DD II NN NN NN OO OO DD DD II NN NN NN OOOOOO DDDDDDD IIIIIIII NN NNN User . . . . . . . . . . . . . . Password . . . . . . . . . . . .

Program/procedure . . . . . . . .

Menu . . . . . . . . . . . . . .

Current library . . . . . . . . .

Page 8: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

“Green” screenCA – (Client Access)

COPY PASTE to clipboard from clipboard

Transfer to Host (AS/400)

Transfer from Host (to PC)

Page 9: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Ops Nav (Operations Navigator)(PC workstation - GUI)

Local or Remote

Page 10: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

WDSc (Websphere Development Studio

client)PC server / internet

Page 11: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

TCP/IPTCP/IPTCP/IPTCP/IP

Page 12: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configure AS/400 Configure AS/400 for for

TCP/IP Applications TCP/IP Applications

Configure AS/400 Configure AS/400 for for

TCP/IP Applications TCP/IP Applications

Page 13: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

GO CFGTCP

CFGTCP Configure TCP/IP Select one of the following: 1. Work with TCP/IP interfaces 2. Work with TCP/IP routes 3. Change TCP/IP attributes 4. Work with TCP/IP port restrictions

5. Work with TCP/IP remote system

information 10. Work with TCP/IP host table entries

11. Merge TCP/IP host table 12. Change TCP/IP domain information

20. Configure TCP/IP applications 21. Configure related tables 22. Configure point-to-point TCP/IP

Page 14: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

GO CFGTCP - Option1Type options, press Enter. 5=Display Internet Subnet Line Line

Opt Address Mask Description Type

---- 127.0.0.1 255.0.0.0 *LOOPBACK *NONE --- 142.204.57.104 255.255.255.192 ETHERNET

*ELAN --- 142.204.57.105 255.255.255.192 FIBER *ELAN Required for internal processing and testing!!

Page 15: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

GO MAIN, 6, 4 or GO CFGCMN

CFGCMN Configure Communications and Remote Hardware

System: ODIN Select one of the following: 1. Work with lines 2. Work with communications controllers 3. Work with work station controllers 4. Work with communications devices 5. Work with printers 6. Work with display stations 7. Work with modes 8. Work with classes-of-service 9. Work with configuration lists 10. Work with network interfaces 11. Work with connection lists 12. Work with network servers 13. Work with NetBIOS descriptions More...

Page 16: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

WRKLIND Work with Line Descriptions System: ODIN Position to . . . . . Starting characters Type options, press Enter. 2=Change 3=Copy 4=Delete 5=Display 6=Print 7=Rename

8=Work with status 9=Retrieve source Opt Line Type Text ETHERNET *ELAN FIBER *ELAN FIBER ETHERNET ONNECTION

QESLINE *SDLC QTILINE *SDLC Q1PLIN *SDLC PM iSeries line

Page 17: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configure TCP/IP applications

SNMP - Simple Network Management Protocol

FTP - File Transfer Protocol

TELNET - Character mode client to server port connection

SMTP - Simple Mail Transfer Protocol

LPD - Line Printer Deamon

HTTP - HyperText Transfer Protocol

WSG - WorkStation Gateway

POP - Post Office Protocol

Page 18: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Go CFGTCP, 20 Configure TCP/IP Applications Select one of the following: 1. Configure SNMP agent 2. Configure RouteD 4. Configure BOOTP 5. Change DDM TCP attributes 10. Change FTP attributes 11. Configure TELNET 12. Configure SMTP 13. Change LPD attributes 16. Change POP attributes 17. Change REXEC attributes

Page 19: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configuring FTP• When the AS/400 acts as a server, it allows

clients to access physical, logical, source and save files and members stored on the system

• When files are transferred to a client system , the AS/400 automatically translates them from EBCDIC to ASCII, but files can also be transferred without translation.

Page 20: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configuring FTPCHGFTPA autostart *yes (STRTCP)

*no (STRTCPSVR). FTP server doesn’t need to be active for the AS/400 to

initiate a file transfer, either to or from the AS/400.

. The only need for the FTP server to be active on the AS/400 is for a remote system to initiate a file transfer to or from the AS/400.

. NBRSVR: The default FTP servers to be started automatically is three. (1----20)

. INACTTIMO: The default number of seconds that an FTP connection can remain idle before the AS/400 disconnects the FTP connection is 300 seconds. (0----68years)

0 = NO Timeout

Page 21: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Change FTP Attributes (CHGFTPA) Type choices, press Enter. Autostart servers . . . . . . . AUTOSTART *SAME

Number of initial servers . . . NBRSVR *SAME Inactivity timeout . . . . . . . INACTTIMO *SAME

Coded character set identifier CCSID *SAME Outgoing EBCDIC/ASCII table: TBLFTPOUT Outgoing EBCDIC/ASCII table . *SAME Library . . . . . . . . . . Incoming ASCII/EBCDIC table: TBLFTPIN Incoming ASCII/EBCDIC table . *SAME Library . . . . . . . . . . Initial name format . . . . . . NAMEFMT *SAME

Initial directory . . . . . . . CURDIR *SAME Initial list format . . . . . . LISTFMT *SAME New file CCSID . . . . . . . . . CRTCCSID *SAME

Subsystem description . . . . . SBSD *SAME Library . . . . . . . . . . . Allow secure sockets layer . . . ALWSSL *SAME

Page 22: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configuring TELNET• CFGTCPTELN = TELNET• CHGTELNA autostart *yes (STRTCP) *no (STRTCPSVR)The default Telnet server to be started automatically is one.

You can start additional Telnet servers by using the command : STRTCPSVR SERVER(*Telnet)

INACTTIMO: The default number of seconds that an Telnet connection can remain idle before the AS/400 disconnects the Telnet connection is 0 seconds, meaning idle connections will not be broken.

(Valid range: 0----68years) 0 = No Timeout

Page 23: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configuring Telnet• Changing Telnet related system values • QAUTOVRT QLMTSECOFR QINACTITV QINACTMSGQ QLMTDEVSSN QMAXSGNACN QMAXSIGN QRMTSIGN QDEVRCYACN QDSCJOBITV

.The number of attempts a hacker can try to break into AS/400 system is: QAUTOVRT * QMAXSIGN

Page 24: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Configuring SMTP• SMTP is used to transfer mail between

host.

• POP3 is used to transfer mail from a host to a client.

• AS/400 supports both SMTP and POP3.

Page 25: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

Start TCP/IP (STRTCP)Where allowed to run: All environments (*ALL)

• The Start TCP/IP (STRTCP)– command initializes and activates TCP/IP processing– starts the TCP/IP interfaces– starts the TCP/IP server jobs– starts the TCP/IP Point-To-Point (PTP) profiles.

A STRTCP command must be issued before any TCP/IP processing can be performed on the iSeries. This includes Simple Network Management Protocol (SNMP) agent processing.

• The TCP/IP interfaces that are started are those that have set the AUTOSTART parameter to a value of *YES using the Add TCP/IP Interface (ADDTCPIFC), the Change TCP/IP Interface (CHGTCPIFC) commands, or the iSeries Navigator.

• The Change IPL Attributes (CHGIPLA) command with the STRTCP parameter set to a value of *YES can be used to automatically submit the STRTCP command at the completion of IPL.

STRTCP - 1

Page 26: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

TCP/IP ManagementTCP/IP ManagementTCP/IP ManagementTCP/IP Management

GO TCPADMGO TCPADM

Page 27: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

TCP/IP Management

• Using the TCP/IP management tools to keep TCP/IP on your AS/400 robust, reliable and effective.

• Each option of the menu GO TCPADM has an associated command.

Page 28: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

GO TCPADM

GO CFGTCP WRKTCPSTS=NETSTAT CFGTCPAPP VFYTCPCNN=PING STRTCP STRTCPFTP ENDTCP STRTCPTELN STRTCPSVR SNDTCPSPLF ENDTCPSVR WRKSBSJOB

Page 29: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

The components of TCP/IP processing on the AS/400

include:

• The TCP/IP jobs• The physical connection over the line• The logical connection to the network• Optional SNMP services

Page 30: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

PING • Can help find problems in logical connections• If the connection is successful ,receives a return reply.• If the packet never returns, there is no route from the source

to the destination system and back again. This does not mean that TCP/IP is not configured correctly; it may mean that the routing is not established properly.

• If the packet does make a successful round trip, the time that it takes to make the round trip may be excessive. You may need to examine your network for potential performance or bottleneck problem

Page 31: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

TCP/IP connection status

• Listen--- the AS/400 is listening at the local port for an incoming connection

• Established--- the connection is established and the system are communicating

• Closed --- the connection has ended• Other states may be seen during a transition period• The ports( both remote and local) can use well-known names rather

than a port number. These names are defined in the service table modified by the command

WRKSRVTBLE

Page 32: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

TCP/IP connection details

• The number of bytes in and out ( from AS/400 perspective) for this connection.

• The retransmission information gives the number of segments retransmitted by the AS/400 due to an acknowledgement not being received.

• If the number of retransmission is higher than the number that has been historically present for this connection, it could be an indication that there are network problems.

Page 33: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

TCP/IP connection details

• The send window information identifies the current and largest size of the send window, or the number of bytes that can be transmitted without an acknowledgment.

• A large send window indicates that the network is successfully transmitting large packets without the need for retransmission.

• A small send window size means that the system has detected problems and has reduced the window size in an attempt to reduce the number of retransmissions.

Page 34: Series I Connectivity. Communication resources Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions.

AS/400 database—DB2AS/400 database—DB2AS/400 database—DB2AS/400 database—DB2STRSQLSTRSQLCREATECREATEINSERTINSERTUPDATEUPDATESELECTSELECTDELETEDELETEALTERALTERDROPDROP