Installation and User Manual
Installation and User Manual
Contents
DESCRIPTION ..................................................................................................................... 3
A.
B.
C.
D.
E.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
I. Description
A. General Information
The RCCMD AS400 client is part of the UPSMAN UPS management system that allows the
iSeries-AS400 to act as a client in an UPSMAN managed network. RCCMD will run on a
number of other operating systems:
(http://www.generex.de/wwwfiles/dokus/1/supp_os/german/pdf/CDVersionen.pdf)
A received command via network for the shutdown of the AS400 iSeries will be executed
pursuant its authorization and the customized conditions.
B. Modules
1. Configuration
Configuring the AS400 RCCMD client involves setting up a number of parameters which are
stored in configuration files.
The following file contains the AS400 RCCMD client configuration.
a) Configuration file communication 1 rccmdcfg1
This file should hold the IP address of the AS400 which secures the identification of
the AS400. This entry must match the entry posted in the IP address found in the
configuration of the AS400 if this is not the case see section I.B.2.
This entry must also hold the definition of the port that will be used for this program.
The default ports is 6003 and if this is not the case please refer to section I.B.2
Default value formation (please see subject 2 for further information).
b) Configuration file communication 2 rccmdcfg2
This file contains information in the form of IP addresses matching the RCCMD
senders, that is to say UPSMAN managers or CS121 which manage your UPS. This
defines which UPSMAN managers are allowed to send RCCMD messages to the
RCCMD AS400 client. These entries act as a filter key for defining authorized
UPSMAN managers and should this entry contain no IP addresses see section I.B.2.
Default-value formation *all (please see subject 3 for further information).
c) Configuration file SHUTDOWN shutcmd
This file contains a predefined shutdown sequence of commands that is enacted
when the AS400 RCCMD client receives a valid RCCMD shutdown command. The
initial default shutdown file that is written into the system is empty. It is the duty of
the administrator to define the operations that are to be executed in this file. This
may or may not contain actions that are to precede a shutdown such as executing
commands, sending messages and safely terminating other processes (important,
please see subject 4 for further information).
The following management program/on-line dialogues for viewing, input, changing and deleting
from data records are available:
d) Administrative configuration file Communication 1
e) Administrative configuration file Communication 2
f)
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
Please backup the files at your iSeries library (at the CD ROM at Directory "OS400/RCCMD"):
RSTLIB SAVLIB(RCCMD)
DEV(*SAVF)
SAVF(QGPL/RCCMD)
OPTION(*ALL)
MBROPT(*ALL)
ALWOBJDIF(*ALL)
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
Enter CFGTCP :
Selection 1 please notice your IP address.
Here has to be an entry (IP address). If this is not the case, please check your network
configuration with your administrator.
Teilnetzmaske
Leitungsbeschreibung Leitungsart
127.0.0.1
255.0.0.0
*LOOPBACK
192.168.2.2 255.255.255.0
JCBLIN
*NONE
*ELAN
Ende
F3=Verlassen F5=Aktualisieren F6=Liste drucken
F11=Schnittstellenstatus anzeigen F12=Abbrechen F17=Anfang F18=Ende
Selection 10 (optional) notice the hostname, which is linked to your IP address.
Add your noticed IP address, if not already present and select a hostname.
Host-Name
84.142.141.175
127.0.0.1
BODO.NET
LOOPBACK
LOCALHOST
192.168.2.2
JCBOCSSERVER
195.186.18.142 MAIL.BLUEWIN.CH
212.227.15.180 MAIL.BODO
AUTH.MAIL.ONLINEHOME.DE
Ende
F3=Verlassen F5=Aktualisieren F6=Liste drucken F12=Abbrechen
F17=Listenanfang bei
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
Selection 12 (optional) add/enter, if not already present, the hostname to the domain-name
Domnensuchliste . . . . . . . . *DFT
Suchprioritt fr Host-Name . . *LOCAL
Domain Name Server:
Internet-Adresse . . . . . . . *NONE
Ende
F3=Verlassen F4=Bedienerf. F5=Aktualisieren F10=Zustzl. Parameter
F12=Abbrechen F13=Verwendung der Anzeige F24=Weitere Tasten
If there should be already an entry and your domain-name differs from your hostname, please do not
change anything here. If NO entry is present, please add the defined hostname, which you selected
before, at hostname and domain name.
INSTALLATION ASSISTANT:
Please use the provided setup tool for the further installation- and configuration tasks.
Follow the instructions on the screen until you get the message Installation complete.
Finish.
Please note prior of the execution the following description of chapter 2 Job
Description!
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
Do not execute the steps from 2 to 8 during the first installation. You can single adjust the configuration
later manually with the selection 3 and F10 with the selection points 4 to 8.
Make sure that the program SHUTDWN contains the right to execute a shutdown call :
CHGOBJOWN OBJ(RCCMD/SHUTDWN)
OBJTYPE(*PGM)
NEWOWN(QSECOFR)
CUROWNAUT(*REVOKE)
2. Job Description:
NOTE: If you have stored the RCCMD system into any other library than RCCMD (not recommended), you
have to change the job description accordingly:
CHGJOBD XXX/SOCKSERV INLLIBL(XXX QGPL QTEMP)
where "XXX" represents the name of the library where you have installed RCCMD.
Advice: Please check individual configuration:
If you got one or more indications into your system libraries for QGPL or QTEMP, please delete the
accordant indications at the parameter INLLIBL (QGPL, QTEMP or both) and execute the command.
Manual modification - optional
Enter ADDLIBLE XXX - where XXX represents the name of the RCCMD library
Call the program RCCMDCFG1 (CALL RCCMDCFG1 )
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
Advice: During the call of this program, the system message Parameter Error may occur, because of the
different program versions. The state of your entry will not be altered.
Enter, if not already present, your IP address here. Enter the port number 6003 (default). If you do not want
to use the default port, please change to any other available port and change also the CS121/UPSMAN
sender accordingly.
Enter here your RCCMD License Key (take a look into the AS 400 license document for "RCCMD AS 400
License Key").
The entry will be checked after you have applied.
Finish your settings by pressing F2 and save your settings. Leave the program with F3 (for deleting your
entries use F23).
JCBOCS
Kommunikationsdatei Verwalten
RCCMDCFG1
--------------------------------------------------------------------------------
27.11.05
00:05:51
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
Press the F2 button to save your settings. Press the F3 button to leave the program or press the
F23 button to delete your settings. Press the F7 button to go forward or press the F8 button to go
backward in your configuration.
See the following screen.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
Settings with redundancy management (if you do not want to set up a redundancy group, please
go ahead to chapter 4 on page 19):
RCCMD Version 3 or higher for IBM i provide an added function, which afford the RCCMD IBM I client to
administrate up to 4 UPSMAN or CS121 managed UPS as redundant group in a local network.
Furthermore it is possible to manage UPS from different manufacturers in a parallel redundant group.
Just use the RCCMD redundancy option in the setup.
The individual UPSMAN servers will be identified automatically in the network and their IP addresses will
be listed in the redundancy group.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
10
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
11
After you have applied your settings (F2 button), please press the F3 button (F10 in setup mode).
In this example we identified 4 servers and marked 3 servers to a redundancy group. The number of the
required shutdown messages will be set in the redundancy level, which have to be effected, prior to the
next message the RCCMD client should execute a RCCMD shutdown. The value of the level (number of
servers) is -1 at most.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
12
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
13
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
14
Confirm your entries as suggested or modify the redundancy level and press the F2 button to confirm:
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
15
Enter N:
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
16
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
17
Possible actions:
Confirm or changing a group
Press the F12 button for anew changing
Press the F3 button to leave
Mistake situations during capture
After adding a 5th server:
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
18
4. (Alternatively 6.) Call the program SHUTCMD (CALL SHUTCMD parm (' '))
Enter the commands you want to execute when an RCCMD Signal arrives (your shutdown script). The
syntax and commands should be tested before manually so that a simple call of this SHUTCMD has the
desired reaction - shutting down your ISeries.
The command CALL SHUTCMD parm opens a new screen where you can configure the AS 400
Shutdown Sequence (see page 20, Example to test RCCMD transmission without PWRDWNSYS). The
command CALL SHUTCMD parm can be used without any risk, it does NOT execute any shutdown, it just
opens a new configuration screen.
Note: If you do not enter anything here, the RCCMD will use per default the command PWRDWNSYS
(Power Down System) of your system. If this is the case, please check if the option *cntrld or *immed is
active.
If you want to use any other additional call before the shutdown, please enter as last command
PWRDWNSYS *immed - otherwise your system will not do any shutdown! Please note that without the
*immed parameter the shutdown may take quite long.
Tip: You can test your installation without risking a shutdown if you enter here any other command - without
the pwrdwnsys. So the moment you enter any command here which is not pwrdwnsys, you can use this for
testing the transmission.
Your CS121 or UPSMAN contain in the EVENTS configuration menu "test button" to transmit an RCCMD
shutdown signal without making the UPS switch to battery.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
19
Picture : CS121 EVENTS/ALARMS ADD NEW JOB- SEND RCCMD SHUTDOWN - Test Button
If this test is successful, you can be sure that also a real shutdown call will also work.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
20
JCBOCS
Shutdownbefehlsverwaltung
27.11.05
SHUTCMD
00:12:02
--------------------------------------------------------------------------------
Sequence
1
Befehl
SNDMSG MSG('FOLLOWING MESSAGES ARE TESTMESSAGES FROM
RCCMDAS400-CLIENT') TOUSR(QSYSOPR)
Sequence
Befehl
2
CALL SETUPTEST1
etc.
You may also remove the existing entries or add extra entries to this sequence. Please take care that the
sequence numbers do not overwrite existing entries.
21
10 minutes
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
22
Status
TIMW
Ende
Parameter oder Befehl
===>
F3=Verlassen F5=Aktualisieren
F10=Neubeginn F11=Aufgelaufene Daten
F12=Abbrechen F23=Weitere Angaben F24=Weitere Tasten
Note: The library RCCMD is the name of the back saved library. At a restore into any other library,
please use this new name accordingly. The RCCMD command determines into the back saved library
always, thus into the RCCMD library or the library of your assigned name.
6. Automatic program start at IPL, optional if necessary
Please use only, if NO auto boot entrey is present (avoid double-entries)!
Use the setup menu selection 8 or enter the following command:
ADDAJE SBSD(QUSRWRK) JOB(RCCMD) JOBD(RCCMD/SOCKSERV)
** These commands makes RCCMD to start automatically at every system reboot **
At the next system start : please check the auto boot entry by entering:
WRKACTJOB JOB(RCCMD), the job should be listed now, if not, than your installation may be
incorrect.
The RCCMD command is always inside the saved library RCCMD. By entering the library-list in the job
description (see subject 2) you do not need any entry in other jobs or menus (not needed in system
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
23
value QUSRLIBL, no need to change manually by "addlibl" or "chglibl". This is only needed during the
installation and the manual start of RCCMD.
You may also use a different way to auto start RCCMD:
Auto start via subsystem in QSTRUP (system start program of IBM): You may also use the IBM
scheduler to start RCCMD. Check if the object library is present in the liblist. It is very important, which
details will be deposit for users or for job descriptions. A help function is available for the parameter
USER in the command smbjob and/or chgjobd.
If you have any further questions for the administration of the system, do not hesitate to contact us.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
24
25
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
26
Screen (system log history) of pwrdwnsys *immed restart(*yes). Please note not to assume this
configuration, because you do not know, if the power is restored. System log history:
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
27
E. Uninstall of RCCMD
To uninstall the RCCMD from system i is quite simple. Just perform the following commands as user
QSECOFR:
1. type wrkactjob job(rccmd) , in the shown screen choice a 4 and press F4 and type *immed in the
option to end . Press enter.
2. type RMVAJE SBSD(QUSRWRK) JOB(RCCMD), press enter
3. type RMVAJE SBSD(QSYSWRK) JOB(RCCMD), press enter
4. type dltlib RCCMD (where RCCMD is the installationLIB)
If you get any kind of error messages after step 2 or 3, please ignore them and please assure, that nobody is
using an objec of that LIB.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
28
ID message . . . . . :
RNQ1216
Message type . . . . :
Polling
sending Date . . . . . . :
20/06/08
03:16:33
Severity . . . . . . . :
Sending Time
99
. . . . . . :
Message . . . :
Visualized Error Message CPF4128 during OPEN file RCCMDCFG1I
(C S D F).
Cause . . . . . : Procedure RPG SOCKSERV in program RCCMD/SOCKSERV have
received message CPF4128 during execution of implicit OPEN operation on file
RCCMDCFG1I.
Actual file is RCCMDCFG1I.
The last message is from the data blocking through the safety job, because these data are in use.
Solution A: While running a backup job you should stop RCCMD to release the files do the backup
operation and restart RCCMD afterwards again.
Solution B (recommended): Define into the backup job to backup files in active status (backup option of AS
400). This avoids that locked files will stop the backup job.
Problem: Socket error when starting RCCMD
Solution: If the hard and/or software of a system will be changed, a complete new installation of RCCMD is
necessary, unless an image will be restored. The copying of the library and the application is not sufficient. A
new installation of RCCMD is required.
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
29
Installation and setup appropriate user manual and exclusive usage of the installation
assistant successful
1st functional test with selection setup menu 10 successful
Setup and remote test without/with correct and not correct IP address successful
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
30
Check of the compatibility of the software on IBM i (former AS400) with logical partition (Lpar):
Test environment: Power 7, IBM Innovation Center Stuttgart-Ehningen, one host partition and one logical
partition, shared CPU-Unit
Results: see above
D. Compatibility downwards
We recommend to install the PTFs at the reserved VLP system prior of the restoring of objects, which were
created on the V6R1 system.
MF40520 and MF42655 are internal license code PTFs, which should be implemented at the V5R4 partition.
The SI27294 PTF should determine at the V5R4 partition, because to afford the restoring of Java programs,
which were created at a V6R1 partition.
The mentioned PTFs are available at the fixcentral:
Follow this link: : http://www-933.ibm.com/eserver/support/fixes/
Select the product family system i
Select the product IBM i, i5/OS and OS-400
Choose ordering option as individual fixes
Select V5R4 as OS-Level and click the continue button
Enter your login data (partnerworld ID, password)
Enter the desired PTF name and add it to your download list
Please install the above-mentioned PTFs at your reserved VLP system and try to restore the objects.
Please let us know if the problems persist after this routine.
We recommend to follow this link as additional information regarding the restoring of objects:
ftp://ftp.software.ibm.com/systems/support/system_i/techoverviews/v6r1/V6R1_OS.pdf
The object conversion of programs, which were created at V6R1 systems, will occur during the restoring of
V5R4 or V5R3 systems automatically.
The following internal license code PTFs should be installed prior the restoring of objects, which were
created at V6R1 systems:
V5R3M0 -> MF41354
V5R3M5 -> MF41734
V5R4M0 -> MF40520
V5R4M5 -> MF42655
The following internal license code PTFs should be installed prior the restoring of Java programs, which
were created at V6R1 systems:
V5R3 -> SI27297
V5R4 -> SI27294
Copyright of the European Union is effective (Copyright EU) (c) 2012 GENEREX GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL [email protected] - WEB www.generex.de (This and all other product datasheets are available for download.)
31