using smit and p21adm - epicor customer web site · smit any user can use smit only the ‘root’...

60
Activant Acclaim Using smit and p21adm AIX suite: course 3 of 3

Upload: ngothuy

Post on 07-Apr-2018

226 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Activant Acclaim

Using smit and p21adm

AIX suite: course 3 of 3

Page 2: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Objectives

Use smit p21Including specific menus and their operation

Access p21adm

Page 3: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

SMIT

An acronym forSystemManagementInterfaceTools

IBM menu driven interfaceMakes running commands easier

Page 4: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

SMIT

Any user can use SMITOnly the ‘root’ user has the authority to make configuration changesAll users that use SMIT will have two files created for themsmit.logsmit.script

Page 5: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Using SMIT - Commands

F1 Displays help on the topic

F2 Refreshes the screen

F3 Cancels the current command

F4 Displays the list of possible values

[Esc] [5] Erases contents of current field

Page 6: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Using SMIT - Commands

F6 Displays the command that will be run

F7 Edits the contents of the current field

F8 Shows the fast path of the current menu

F9 Forks a new shell

F10 Exits smit all the way to the shell prompt

[Enter] Runs the command

Page 7: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Using SMIT

When in a SMIT menu, the following characters may appear:

*+

#

Page 8: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Using SMIT

Signifies that the field is required to have a value enteredIf present, * will appear on the

left side of the screen

*

Page 9: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Using SMIT

Signifies that there is a “pop-up” menu availableIf present, + will be on the right side of the screen

+

Page 10: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Using SMIT

Signifies that the field requires a numeric valueIf present, # will be on the right side of the screen

#

Page 11: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Using SMIT

This is the main menu of SMIT:

Page 12: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

SMIT p21

Prophet 21 created SMIT menus called smit p21

smit p21 interface assists in making configuration changes in relation to p21 easier

Page 13: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

SMIT p21

This is the main menu of smit p21:

Page 14: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Backup/Restore AIX FilesUsed to back up AIX systemShould be performed once each weekCannot be performed with users on the systemMinimum of three tapes in rotationTo check last AIX back up date#ls -l .p21aixrest

Be sure to verify that the back up was completed successfully!

Page 15: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

SystemsUsed by p21 to create/delete multiple systems for use on one RISC boxSystems are generally multiple companies or play systems

Page 16: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Port ManagerUsed to setup port and user mappings for the Prophet 21 application

Port mappingsUsed when a terminal is connected directly to the system

User mappingsUsed when the terminal is not real to the system, such as a network PC or facetterm user

Page 17: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Port Manager

Page 18: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Page 19: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Page 20: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Port number typeReal is used for direct serial connection when mapping a TTYEffective is used for network, or virtual terminal connection when mapping a user

Page 21: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Device type determines the terminal or printer driver to be assigned to the TTY to properly control the device

Default device type is 92Interpreted by the kernel to indicate there is no device type set

The system will use the TERM environment variable in smit tty

Page 22: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Default SystemSpecifies the system to which the user will be defaulted in Prophet 21 application software

Page 23: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Member SystemsIndicate to which systems (Companies) the user will be allowed access from this particular TTY

Page 24: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Enable JobSpecifies whether the TTY will have “JOB” displayed on the terminalTypically set to yesSet to no when the TTY is a dedicated Prophet 21 printer

Page 25: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Tee RestrictionsSet to yes to restrict the TTY from certain Prophet application software modules

Page 26: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Auto BootSpecifies whether the TTY will automatically boot to “JOB” or allow one to login to AIX

Yes boots to “JOB”No boots to AIX login

Page 27: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

ModemIndicates that a dial up modem is attached to the TTYCommonly used for EDI, ON-SITE

Page 28: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Port DescriptionInformational field used to help administrator keep track of their ports and usersKeep current at all times!

Page 29: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Creating network usersNetwork users need to be mapped effectively to be able to access p21 databases

Must be logged in as root to make the mappings

Page 30: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Page 31: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Page 32: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Page 33: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit p21

Insert AIX usernameP21 port number

Change to effective

Page 34: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit tty

Smit tty is used to set terminal type variables#smit tty

Page 35: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Smit tty

Page 36: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Created to to make some aspects of AIX easier to manageOnly the root user will have all the system optionsRegular users will get two options

Print/Show List of TTYsPrint/show Information on an AIX Command

Page 37: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

This is the main menu of p21adm:

Page 38: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Reset a TTYGood for fixing port lockupsIt runs three commandspdisable tty’x’clocal -flow -flush /dev/tty’x’penable tty’x’

Page 39: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 40: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

TTY EditorAllows you to quickly configure portsDoes features included in smit ttysmit p21

Page 41: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 42: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 43: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print Queue AdministratorSeveral functions for administering AIX print queues

Lists all queued jobsBrings a print queue UPBrings a print queue DOWNClears all jobs out of a print queue

Page 44: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 45: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 46: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Add/Edit User ListCreate new users as well as editing existing usersAllows mapping to ‘effective’ portAbility to set up a user to autoboot to Facetterm

Page 47: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 48: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

After typing ‘l’ to list the following screen appears:

Page 49: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print/Show System HOGSView all processes on the system that are considered “a hog”

A process that takes up more then .5 % of the CPU usage

Very useful in finding out why the system is running slow

Just because a process appears on the list, does not mean that it is a problem!

Page 50: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

This is a sample output:

Page 51: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print/Show TTYsPermits viewing of attributes of one or all TTYsVery useful in port troubleshootingUses the ‘lstty’ command to show all TTYs

Page 52: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 53: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Page 54: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print/Show System ConfigurationProvides a snapshot of your systemIncluded in the report:

Hard Drives

Total/Free spaceVolume group assigned

Tape Drives

SCSI mapping/descriptionPorts

Output from ‘lstty’ command

Page 55: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print/Show System ConfigurationAIX Printers

SCSI Mapping/description

Prophet 21 Logical VolumesListed by volume group

AIX File SystemsListed by volume group

LicensesProphet 21 AIX

Page 56: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print/Show System ConfigurationSoftware Installed

Third Party packagesProgressFacettermIQCorvuVsifax

Page 57: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print/Show Information on an AIX Command

Shows the manual pages for an AIX commandUses the AIX man command

Page 58: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

P21adm

Print/Show Information on an AIX Command

Page 59: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

Summary

SMITFunctionality and moving within menus

SMIT p21Purpose of smit p21

p21admUsing p21adm to manage system

Page 60: Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’ user has the authority to make configuration changes All users that use SMIT will

For More Information…

Visit Activant on the web: www.activant.comView Educational Services course offeringsBrowse DocumentationSearch the Solutions databaseSubmit a Support case

E-mail Consulting Services [email protected]

E-mail Professional Services [email protected]