Using smit and p21adm - Epicor Customer Web Site · SMIT Any user can use SMIT Only the ‘root’...

Post on 07-Apr-2018

224 views 4 download

transcript

Activant Acclaim

Using smit and p21adm

AIX suite: course 3 of 3

Objectives

Use smit p21Including specific menus and their operation

Access p21adm

SMIT

An acronym forSystemManagementInterfaceTools

IBM menu driven interfaceMakes running commands easier

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

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

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

Using SMIT

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

*+

#

Using SMIT

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

left side of the screen

*

Using SMIT

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

+

Using SMIT

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

#

Using SMIT

This is the main menu of SMIT:

SMIT p21

Prophet 21 created SMIT menus called smit p21

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

SMIT p21

This is the main menu of smit p21:

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!

Smit p21

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

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

Smit p21

Port Manager

Smit p21

Smit p21

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

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

Smit p21

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

Smit p21

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

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

Smit p21

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

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

Smit p21

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

Smit p21

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

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

Smit p21

Smit p21

Smit p21

Smit p21

Insert AIX usernameP21 port number

Change to effective

Smit tty

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

Smit tty

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

P21adm

This is the main menu of p21adm:

P21adm

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

P21adm

P21adm

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

P21adm

P21adm

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

P21adm

P21adm

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

P21adm

P21adm

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

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!

P21adm

This is a sample output:

P21adm

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

P21adm

P21adm

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

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

P21adm

Print/Show System ConfigurationSoftware Installed

Third Party packagesProgressFacettermIQCorvuVsifax

P21adm

Print/Show Information on an AIX Command

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

P21adm

Print/Show Information on an AIX Command

Summary

SMITFunctionality and moving within menus

SMIT p21Purpose of smit p21

p21admUsing p21adm to manage system

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 consult-sales@activant.com

E-mail Professional Services Salespss@activant.com