[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

1546.0. "How do you deinstall???" by BIGUN::FINCH () Wed Sep 25 1991 02:24

    Hi,
    I want to deinstall a couple of FT access modules that I was trying
    out and have decided not to use.
    Could someone please explain how to do this. 
    Thanks,
    Jill Finch
T.RTitleUserPersonal
Name
DateLines
1546.1Here is a proceedureNSSG::R_SPENCENets don't fail me now...Wed Sep 25 1991 10:59289
    Following is a note I got from Steve Wong to help me remove some AMs
    earlier this year. I have added a few additional comments from my own
    experiance but the process as stated worked for me.
    
Subj:	Some of the things to do to delete a MM from your system. \steve (BBH-A)

          Unauthorized access is prohibited.

Username: WONG
Password: 

           Property of Digital Equipment Corporation
                >> Digital Internal Use Only <<

    Last interactive login on Thursday, 25-JUL-1991 14:44
    Last non-interactive login on Tuesday, 23-JUL-1991 21:13


POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! BACKUP YOUR DISK 
POOK> ! Ensure that all users have stopped running MCC

POOK> ! This includes any background processes

POOK> sh queue/batch/full/all
Batch queue SYS$BATCH

  Jobname         Username     Entry          Status
  -------         --------     -----          ------
  MCC_EXPORTER_BACKGROUND
                  WONG           371          Executing
POOK> sh sys/batch
VAX/VMS V5.4  on node POOK  25-JUL-1991 20:37:12.97   Uptime  5 02:54:39
  Pid    Process Name    State  Pri      I/O       CPU       Page flts Ph.Mem
0000051C BATCH_371       LEF      3      178   0 00:00:07.34       868    319  B
POOK> del/entry=371 sys$batch=51C


POOK> ! determine if the MM is an installed image
POOK> instal
INSTALL> list 

DISK$POOK_56637:<INSPECT.IMAGES>.EXE
   INSPECT$MAIN;2                 Prv 
   INSPECT$_MSG;1   Open     Shar          Lnkbl 
   INSPECT$_SHR;1   Open     Shar          Lnkbl 

DISK$POOK_56637:<SYS0.SYSCOMMON.SYSEXE>.EXE
   ANALIMDMP;1                    Prv 
   AUTHORIZE;1                    Prv 
   CDU;1            Open Hdr      Prv 
   CMS;1            Open     Shar 
   COPY;1           Open Hdr Shar 
   DCL;1            Open Hdr Shar          Lnkbl 
      o
      o
      o
   VMSHELP;1        Open Hdr Shar 
   VPM;1            Open Hdr      Prv 

DISK$POOK_56637:<SYS0.SYSCOMMON.SYSLIB>.EXE
   ADARTL;5         Open Hdr Shar          Lnkbl 
   BASRTL;3         Open Hdr Shar          Lnkbl 
   BASRTL2;3        
      o
      o
      o
   MCC_ALARMS_FM;2  Open Hdr Shar          Lnkbl 
   MCC_BRIDGE_AM;1  Open Hdr Shar          Lnkbl 
   MCC_CONFIG_FM;1  Open Hdr Shar          Lnkbl 
   MCC_CONTROL_FM;1 Open Hdr Shar          Lnkbl 
   MCC_DNA4_AM;1    Open Hdr Shar          Lnkbl 
   MCC_DNA5_AM;1    Open Hdr Shar          Lnkbl 
   MCC_DOMAIN_FM;1  Open Hdr Shar          Lnkbl 
   MCC_ENET_AM;1    Open Hdr Shar          Lnkbl 
   MCC_EXPORTER_FM;1
                    Open Hdr Shar          Lnkbl 
   MCC_FCL_PM;1     Open Hdr Shar          Lnkbl 
   MCC_HISTORIAN_FM;1
                    Open Hdr Shar          Lnkbl 
   MCC_ICONIC_MAP_PM;1
                    Open Hdr Shar          Lnkbl 
   MCC_KERNEL_SHR;1 Open Hdr Shar          Lnkbl 
   MCC_MTS_PRIV_SHR;1
                    Open     Shar     Prot Lnkbl 
   MCC_NOTIFICATION_FM;1
                    Open Hdr Shar          Lnkbl 
   MCC_PA_FM;1      Open Hdr Shar          Lnkbl 
   MCC_PTB;1        Open Hdr Shar          Lnkbl 
   MCC_SAMPLE_AM;1  Open Hdr Shar          Lnkbl 
   MCC_UI_TBD;1     Open Hdr Shar          Lnkbl 
      o
      o
      o
   VMSRTL;3         Open Hdr Shar          Lnkbl 
   VMTHRTL;1        Open Hdr Shar          Lnkbl 


POOK> ! pretending that we want to get rid of the bridge 
POOK> ! access module, remove the installed image.
INSTALL> remove sys$share:mcc_bridge_am.exe
INSTALL> exit

POOK> ! pretending that we want to get rid of the bridge 
POOK> ! access module, rename (temporarily, until you're confident) 
POOK> ! or delete the shared library
POOK> delete sys$share:mcc_bridge_am.exe;*


POOK> ! rename (temporarily, until you're confident)
POOK> ! or delete the dispatch tables
POOK> delete mcc_system:mcc_dispatch_table.dat;*

POOK> ! delete the global entity represented by the MM
POOK> ! from the dictionary, and the mcc child entity
POOK> ! represented by the MM from the dictionary.
POOK> ! For an FM, only the latter will be typically possible.
POOK> ! pretending that we want to get rid of the bridge 
POOK> ! access module, delete the bridge global entity and
POOK> ! the bridge_am child entity of mcc 
POOK> manage/tool/dict

	DECmcc Dictionary Administrator Program   Version V1.1.0

DAP> show

   Class (1) : BRIDGE 9
   Class (1) : COMMON 52
   Class (1) : DOMAIN 8
   Class (1) : MCC 7
   Class (1) : NODE 1
   Class (1) : NODE4 12
   Class (1) : SAMPLE 15
   Class (1) : SNMP 18
   Class (1) : STATION 11

DAP> delete class bridge
DAP> use class mcc
DAP> show

-> Class (1) : MCC
     Definition (3) : PRESENTATION_NAME
     Definition (3) : INSTANCE_REQUIRED
     Definition (3) : DYNAMIC
     Definition (3) : INSTANCE_DATATYPE
     Subclass (2) : ALARMS 1
     Subclass (2) : BRIDGE_AM 6
     Subclass (2) : CONFIG_FM 13
     Subclass (2) : CONTROL_FM 38
     Subclass (2) : DNA4_AM 5
     Subclass (2) : DNA5_AM 10
     Subclass (2) : DOMAIN_FM 25
     Subclass (2) : ETHERNET_AM 7
     Subclass (2) : EXPORTER_FM 19
     Subclass (2) : FCL 14
     Subclass (2) : HISTORIAN_FM 4
     Subclass (2) : ICONICMAP 18
     Subclass (2) : NOTIFICATION_FM 20
     Subclass (2) : PA 33
     Subclass (2) : SAMPLE_AM 8
     Subclass (2) : TCPIP_AM 17
     Attribute (5) : COMPONENTIDENTIFICATION 4
     Attribute (5) : COMPONENTNAME 1
         o
         o
         o
     Attribute_Partition (11) : CHARACTERISTICS 4
     Attribute_Partition (11) : COUNTERS 3
     Attribute_Partition (11) : IDENTIFIERS 1
     Attribute_Partition (11) : REFERENCES 5
     Attribute_Partition (11) : STATUS 2

DAP>  delete class mcc subclass bridge_am
DAP> exit


POOK> ! Search the system startup files for all procedures that
POOK> ! are related to the MM to be removed.  NOTE: The module
POOK> ! may not start with the prefix MCC.  Also, the procedures
POOK> ! you find, may call other procedures, that you should 
POOK> ! also check.  Also, see if there is anything that is
POOK> ! started up via SYSMAN. 

POOK> ! While looking at these files look for things relating to  
POOK> ! enrollment or dispatch tables, or installing images. There may  
POOK> ! be multiple files that enroll modules (one for each package) 
POOK> ! and update the dispatch tables.

POOK> search sys$manager:sys$startup_v5.com "mcc","bridge"
$ if f$search("sys$startup:mcc_startup_bms.com") .nes. "" then $ @sys$startup:mcc_startup_bms.com

POOK> search sys$startup:mcc_startup_bms.com -
_POOK>              "enroll","dispatch","@","bridge"
$  Call Install_Image  sys$share:mcc_bridge_am.exe       /Shared/Header
$ ! P1 = "ENROLL" ! By uncommenting this, MCC will always rebuild the dispatch tables.
$ IF OPTION .EQS. "ENROLL"
$ IF OPTION .EQS. "ENROLL"
$!		Enroll the Director Management Modules.
		do mcc_system:mcc_enroll_dir.com
		do mcc_system:mcc_enroll_bms.com
$ IF (OPTION .EQS. "ENROLL") .AND. (F$SEARCH("''disp_table_fn'") .NES. "") THEN -

POOK> search mcc_system:mcc_enroll_dir.com bridge
%SEARCH-I-NOMATCHES, no strings matched

POOK> search mcc_system:mcc_enroll_bms.com bridge
enroll MCC_BRIDGE_AM       MCC_BRIDGE_AM

POOK> ! Comment out or delete the lines related to the installing,
POOK> ! enrolling, or creation of dispatch entries for the MM in 
POOK> ! question.
POOK> ! 
POOK> ! For the bridge, the following lines would be deleted:
POOK> !
POOK> ! in sys$startup:mcc_startup_bms.com 
POOK> !
POOK> ! $  Call Install_Image sys$share:mcc_bridge_am.exe /Shared/Header
POOK> !
POOK> ! in mcc_system:mcc_enroll_bms.com 
POOK> !
POOK> ! enroll MCC_BRIDGE_AM       MCC_BRIDGE_AM
POOK> !

POOK> ! Then re-invoke the startup procedures being careful to
POOK> ! use any switches that you found in the command procedures.
POOK> ! Again, there may be multiple files to invoke. 
POOK> @sys$startup:mcc_startup_bms enroll
 
 
The MCC_STARTUP_BMS startup procedure for DECmcc V1.1.0 is now running.
 
%DELETE-I-FILDEL, DUA2:[MCC]MCC_DISPATCH_TABLE.DAT;1 deleted (450 blocks)
DECmcc (V1.1.0)

MCC 0 ALARMS RULE __dummy_test
AT 25-JUL-1991 20:18:58 

Attempt to create duplicate entity rejected.

MCC 0 ALARMS RULE __dummy_test 
AT 25-JUL-1991 20:18:59 

Entity deleted successfully.
 
 
The MCC_STARTUP_BMS startup procedure for DECmcc V1.1.0 is now ending.
 

POOK> ! Rebuild the parse tables 
POOK> set def mcc_common
POOK> manage/tool/parse
     !Note that this operation will take from a few hours to many hours
     ! depending on the speed of your system!!!!!


POOK> ! Delete the MM related help library
POOK> dir *.help

Directory SYS$COMMON:[MCC]

MCC_ALARMS_FM.HELP;1                    MCC_BRIDGE_AM.HELP;1
MCC_CONTROL_FM.HELP;1                   MCC_DNA4_AM.HELP;1  
MCC_DNA5AM_HELP.HELP;1                  MCC_DOMAIN_FM.HELP;1
MCC_ENET_AM.HELP;1  MCC_GENERAL_HELP.HELP;1                 
MCC_KERNEL_AM.HELP;1                    MCC_MANAGE.HLP;1    
MCC_NOTIFICATION_FM.HELP;1              MCC_PA_FM.HELP;1    
MCC_SAMPLE_AM.HELP;1                    

Total of 13 files.
POOK> delete mcc_bridge_am.help;*


POOK> ! Rebuild the help library
POOK> manage/toolkit/help_library -
POOK>    /topic_decwindows/library_decwindows -
POOK>    /topic_character_cell/library_character_cell -
POOK>    /log_file
     !Note that this operation will take from a few hours to many hours
     ! depending on the speed of your system!!!!!

POOK> logout
  WONG         logged out at 25-JUL-1991 20:31:52.32