ITEM: AY1955L

QUESTIONS ABOUT SMP SYSTEMGUARD AND SERVICE DIRECTOR


Env:            7015-R30        4.1.x

Desc:   Can SystemGuard be configured for dialing out with the 
        system key in normal mode? If the customer has two R30's,
        does he need a separate modem for each machine as far
        as SystemGuard is concerned? 

Response: SystemGuard can be configured for dial-out with the key in
        normal if you use the mpcfg command with the appropriate flags.
        SystemGuard itself only dials out when the system cannot boot.

        A modem can be configured on the S2 port that 1.) is available
        for use by SystemGuard in the event of a boot failure, and 2.) is
        available for AIX when the system is running in multiuser mode.
        SystemGuard can also be configured to allow someone to dial into
        the machine over the S2 port, either when the system is down and
        SystemGuard is running, or when AIX is running but the machine is
        in service mode, and console mirroring is occuring between the BUMP
        console and the Service console (S2). 

        You cannot share a modem for SystemGuard between two R30's. You
        could use one modem on one system as a focal point for Service
        Director problem reporting.

        Service Director for RISC System/6000 can use the same modem
        as SystemGuard. Refer to the SMP Redbook SG24-2583, IBM RISC 
        System/6000 SMP Servers Architecture and Implementation, for 
        details on configuring SystemGuard. Refer to IBM4FAX Document 
        \#1715 for information on installing and setting up Service 
        Director.

        Here are instructions for setting up SystemGuard for dial-out:

The prerequisites for dial-out are: Remote Service Support flag enabled,
Valid Service Contract 0 to 32767 days, Remote Authorization enabled,
and Dial-Out Authorization enabled.

Here's how to check and modify these flags from AIX:

1. Remote Service Support and Valid Service Contract:

 a. As root, run the command mpcfg -dS. The output should look like this:
        Index   Name                                            Value
1       Remote Service Support                          1
2       Quick On Call Service                           0
3       Service Contract Validity                       32767
4       Service Support Type                            

 b. If it doesn't, you can change values by running mpcfg with
    the -cS options, followed by the Index number and Value,
    separated by spaces. For example:

        \# mpcfg -cS 1 1

    would enable the Remote Service Support flag.

2. Remote Authorization Enabled and Dial-Out Authorization enabled

 a. Run the command mpcfg -df. The output should look like this:

Index   Name                                            Value
1       Remote Authorization                            1
2       Autoservice IPL                                 1
3       BUMP Console                                    1
4       Dial-Out Authorization                          1
5       Set Mode to Normal When Booting                 0
6       Electronic Mode Switch from Service Line        0
7       Boot Multi-user AIX in Service                  0
8       Extended Tests                                  0
9       Power On Tests in Trace Mode                    0
10      Power On Tests in Loop Mode                     0
11      Fast IPL                                        0
  b. If Remote Authorization and Dial-Out Authorization haven't
    been set, you can use mpcfg -cf \ \ to
    set them correctly.

    The dial-out feature uses the phone numbers listed in the SystemGuard
    configuration. You can either set these from the SystemGuard Maintenance
    Menu or from AIX using the mpcfg command.

3. Set Phone Numbers for dial-out and for the Service Center to dial in
and call the customer.

 a. Run mpcfg -dp to show the list of phone numbers. The output
    will look something like this, with different numbers, of course:

Index   Phone                                           Number
1       Service Center Dial-Out (1)                    91800-830-1041
2       Service Center Dial-Out (2)                     
3       Customer Hub Dial-Out (1)                       
4       Customer Hub Dial-Out (2)                       
5       System Dial-In                                 xxx-xxx-xxxx 
6       System Operator Voice                          xxx-xxx-xxxx 
    The numbers you need to configure are Service Center Dial-Out (1),
   System Dial-In and System Operator Voice. The Dial-Out number will 
   be the one for Service Director.  Be sure to put in the numbers
   needed to dial out if the modem isn't directly connected to an
   outside line.  The second Service Center number is optional.  

4. Set Modem Parameters and Customer ID for the service port (S2):

 a. Run mpcfg -dm to see values set for the modem, service port,
    etc. The output should look something like this:

Index   Name                                    Value
1       Modem Parameters File Name              /usr/share/modems/mir_modem
2       Service Line Speed                      9600 
3       Protocol Inter Data Block Delay                 
4       Protocol Time Out                               
5       Retry Number                                    
6       Customer ID                             7777777
7       Login ID                                        
8       Password ID                                     

 b. The key things to set here are modem parameters file name,
    service line speed and customer ID. Remember that the customer ID
    must match the machine: be sure the customer's profile has been
    updated to reflect this machine under the correct customer number.

 c. The /usr/share/modems/mir_modem file needs to be linked to the 
    correct modem description file. The files we've tested
    are for the IBM 7851-002 and US Robotics 14.4 Sportster modem. 
    Modified versions of the ones shipped in /usr/share/modems at 
    AIX 4.1.4 are appended below. If the default files don't work,
    try using these modified versions.

 d. Refer to p. 241 in the IBM RISC System/6000 SMP Servers Architecture
    and Implementation book for the steps that can be used to initialize
    a modem. After you have successfully intialized the modem, run these 
    commands:

        \# mpcfg -s
        \# mpcfg -r

    This will save the current modem setup data and restore it again, 
    thus making sure you're using the correct setup.

Below is the modified version of the 7851 modem description file that
we have tested:

\# This is a modified version of /usr/share/modems/mir_modem.7851 shipped
\# with AIX 4.1.4 
\# COMPONENT_NAME: (CMDMIRROR) Console Mirroring
\#
\# FUNCTIONS: modem configuration file for the IBM 7851 modem
\#
\# ORIGINS: 27
\#
\# (C) COPYRIGHT International Business Machines Corp. 1995
\# All Rights Reserved
\# Licensed Materials - Property of IBM
\#
\# US Government Users Restricted Rights - Use, duplication or
\# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
\#

\# Configuration file for IBM 7851-002 modem running at 9600bps.                        

ICDelay 5
DefaultTO 10
CallDelay 120
\#  AT  Attention Code           Q0    Enable result codes to screen
\# &F1  Set factory profile 1    Q1    Disable result codes to screen 
\#  E0  Turn echo off            S0=0  Automatic answer inhibit
\#  V0  Use numeric responses    S0=2  Answer on second ring  
\# +++  Escape to command mode  &W0    Save configuration to profile 0
\#  H0  Hang-up 
\# 17=38.4bps; 16=19.2bps; 12=9600bps; 11=4800bps; 10=2400bps; 7=busy
condout:    send "AT&F1\\r"
            expect "0\\r" or "OK\\r"
            send "ATE0V0Q0"
            expect "0\\r" or "OK\\r"
            send "ATS0=0\\r"
            expect "0\\r" or "OK\\r"
            done

connect:    send "ATDT%N\\r"  \# Tone dialing command
 expect "17\\r" or "16\\r" or "12\\r" or "11\\r" or "10\\r" busy "7\\r"
 timeout 60
            done

retry:      send "A/"        \# Redo command
 expect "17\\r" or "16\\r" or "12\\r" or "11\\r" or "10\\r" busy "7\\r"
 timeout 60
            done

disconnect: delay 2
            send "+++" 
            delay 2 
            send "ATH0\\r"
            ignore "0\\r" or "OK\\r"
            send "ATE0Q1V0\\r"
            delay 2
            done

condin:     send "AT&F1\\r"
            ignore "0\\r" or "OK\\r"
            send "ATE0V0Q0\\r"
            expect "0\\r" or "OK\\r\\n"
            send "ATS0=2\\r"
            expect "0\\r" or "OK\\r\\n"
            send "ATQ1&W0\\r"    \# (there can be no reply)
            done

condwait:   send "AT&F1\\r"
            expect "0\\r" or "OK\\r"
            send "ATV0E0Q0\\r"
            expect "0\\r" or "OK\\r"
            send "ATS0=2&W0\\r"
            expect "0\\r" or "OK\\r\\n"
            done

waitcall:   ignore "2\\r" timeout none
            expect "2\\r" timeout 10
 expect "17\\r" or "16\\r" or "12\\r" or "11\\r" or "10\\r" busy "7\\r"
 timeout 60
            done

page:       send "ATDT%N;\\r"  \# ; = go back to command mode
            expect "0\\r" or "OK\\r\\n" timeout 60
            delay 2
            send "ATH0\\r"
            expect "0\\r" or "OK\\r\\n"
            done

Below the modified version of the US Robotics modem description file
found in /usr/share/modems. We've tested it, and it works:

\# This is a modified version of the file shipped at AIX 4.1.4
\# @(\#)33  1.1  src/bos/usr/bin/mirror/mir_modem.usrobotics.S, cmdmirror, bos41C, 9535B 8/25/95 10:40:57 
\#
\# COMPONENT_NAME: (CMDMIRROR) Console Mirroring
\#
\# FUNCTIONS: modem configuration file for the USRobotics Sportster 14.4 modem
\#
\# ORIGINS: 27
\#
\# (C) COPYRIGHT International Business Machines Corp. 1995
\# All Rights Reserved
\# Licensed Materials - Property of IBM
\#
\# US Government Users Restricted Rights - Use, duplication or
\# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
\#

\# Configuration file for USRobotics Sportster 14.4 modem running at 9600bps.
\# Sportster is a trademark of U.S. Robotics.
\# Physical switch settings on modem should be: 1-2 up; 3 down; 4-7 up; 8 down. 

ICDelay 5
DefaultTO 2
CallDelay 120
\#  AT  Attention Code         
\# &F1  Set factory profile 1    Q0   Turn on responses
\#  E0  Turn echo off            Q1   Turn off responses
\#  V0  Use numeric responses    S0=0 Automatic answer inhibit   
\# +++  Escape to command mode   S0=1 Answer on first ring
\#  H0  Hang-up                 &W0 Save configuration to profile 0
\# 37=9600/ARQ/V32; 26=14.4ARQ; 25=14.4bps; 19=4800ARQ; 18=4800bps; 17=9600ARQ;
\# 13=9600bps;7=busy
\# 14 is an undocumented return value that is needed when a CONNECT is received

condout:    send "AT&F1\\r"
            ignore "0\\r" or "OK\\r\\n" 
            send "ATE0V0Q0X0T\\r"
            expect "0\\r" or "OK\\r\\n"
            send "ATS0=0\\r"
            expect "0\\r"
            done

connect:    send "ATDT%N\\r"  \# Tone dialing command
 expect "17\\r" or "16\\r" or "14\\r" or "12\\r" or "11\\r" or "10\\r" or "5\\r" or "1\\r" busy "7\\r"
  timeout 60
            done

retry:      send "A/"        \# Redo command
 expect "17\\r" or "16\\r" or "14\\r" or "12\\r" or "11\\r" or "10\\r" or "5\\r" or "1\\r" busy "7\\r"
 timeout 60
            done

disconnect:   delay 2
              send "+++"
              delay 2
              send "ATH0\\r"
              ignore "0\\r" or "OK\\r\\n" 
              send "ATE0V0Q1X0T\\r"
              ignore "0\\r" 
              done

condin:    send "AT&F1\\r"
           ignore "0\\r" or "OK\\r\\n" 
           send "ATE0V0Q0X0T\\r"
           expect "0\\r" or "OK\\r\\n"
           send "ATS0=2\\r"
           expect "0\\r" 
           done

condwait:  send "AT&F1\\r"
           ignore "0\\r" or "OK\\r\\n" 
           send "ATE0V0Q0X0T\\r"
           expect "0\\r" or "OK\\r\\n"
           send "ATS0=2\\r"
           ignore "0\\r" or "OK\\r\\n"
           done

waitcall: ignore "2\\r" timeout none
          expect "2\\r" timeout 10
          expect "17\\r" or "16\\r" or "14\\r" or "12\\r" or "11\\r" or "10\\r" busy "7\\r"
          timeout 60
          done

page:       send "ATDT%N;\\r"  \# ; = go back to command mode
            expect "0\\r" or "OK\\r\\n" 
            delay 2
            send "ATH0\\r"
            expect "0\\r" or "OK\\r\\n"
            done


Support Line: QUESTIONS ABOUT SMP SYSTEMGUARD AND SERVICE DIRECTOR ITEM: AY1955L
Dated: August 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:24
Comments or suggestions? Contact us