0% found this document useful (0 votes)
46 views23 pages

VMS Basic Training

Uploaded by

yoendie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
46 views23 pages

VMS Basic Training

Uploaded by

yoendie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 23

Open VMS System Mgmt.

Essentials Training

1. Basic Troubleshooting
SYSTEM
1. Change system time
 OVMS1system > show time
 17-JAN-2000 15:35:21
 $ Set time=12-JAN-2000:14:05:34/CLUSTER
 All the nodes in that cluster will run on the same time.

2. User want to know what license installed in the node:-


 $ LICENSE LIST
 or
 $ @SYS$UPDATE:VMSLICENSE “Requires SYSPRV and CMKRNL privileges ...”
 > OPTION 4 > Product Name []:DECPS > FULL
> 99 to exit

3. Show process for:-


 Interactive user
 OVMS1system > show sys /inter
 OpenVMS V7.1 on node OVMS1 17-JAN-2000 16:10:37.91 Uptime 13 20:17:13
 Pid Process Name State Pri I/O CPU Page flts Pages
 2022342B _TNA7414: LEF 6 1362 0 00:00:04.13 8791 19286
 2021DC2C _TNA7415: LEF 6 1192 0 00:00:03.62 7881 12858
 BATCH JOB
 OVMS1system > show sys/batch
 OpenVMS V7.1 on node OVMS1 17-JAN-2000 16:09:01.07 Uptime 13 20:15:36
 Pid Process Name State Pri I/O CPU Page flts Pages
 20223082 BATCH_945 COM 3 0 0 00:00:00.02 92 290 B
 NETWORK USER
 OVMS1system > show sys/network
 OpenVMS V7.1 on node OVMS1 17-JAN-2000 16:09:55.46 Uptime 13 20:16:31
 Pid Process Name State Pri I/O CPU Page flts Pages
 202008C8 COMETS202008C7C LEF 6 3472 0 00:00:08.93 8658 11618 N
 2020491B UCX$FTPD LEF 10 220677 0 00:01:45.88 1405 1722 N
 2020C1AD UCX$FTPC_144 HIB 6 1442 0 00:00:06.01 3987 1613 N

4. Show process hitting CPU :-


 OVMS1system > mon proc/topc

 OpenVMS Monitor Utility
 TOP CPU TIME PROCESSES
 on node OVMS1
 17-JAN-2000 16:14:01.00

 0 25 50 75 100
 + - - - - + - - - - + - - - - + - - - - -+
 2020041C PSDC$DC_SERVER 2
 | | | | |
 20200424 rvd_tcp:7500 1
 | | | | |
 20220E8C OVMS
 | | | | |
 202220AE SYSTEM
 | | | | |
 2022349D _TNA7434:
 | | | | |
 2020040E JOB_CONTROL
 | | | | |

 | | | | |

 + - - - - + - - - - + - - - - + - - - - -+

5. How to CHECK AND STOP a process:-


 $ SH PROC/CONT/ID=20220E8C – TO CHECK WHETHER A PROCESS HANG OR NOT.
 “ Insufficien privilege”


1
Open VMS System Mgmt. Essentials Training


 Process OVMS 16:20:32



 State LEF Working set 2234

 Cur/base priority 4/4 Virtual pages 9720

 Current PC 7FFEE992 CPU time 000:00:01:43.55

 Current PSL 03C00000 Direct I/O 926

 Current user SP 7FDCC520 Buffered I/O 32955

 PID 20220E8C Page faults 11720

 UIC [IT,OVMS] Event flags E03C0002
 F0000000


 DSA101:[SYS0.SYSCOMMON.][SYSEXE]MONITOR.EXE

 $ SH PROC/ALL/ID=20220E8C – TO CHECK WHO OWN THE PROCESS AND HOW LONG IT RUN.

 17-JAN-2000 16:21:26.25 User: OVMS Process ID: 20220E8C
 Node: OVMS1 Process name: "OVMS"

 Terminal: TNA6317: (Host: 172.21.67.201 Port: 2551 )
 User Identifier: [IT,OVMS]
 Base priority: 4
 Default file spec: Not available

 Devices allocated: NET5122:
 OVMS1$TNA6317:

 Process Quotas:
 Account name: IT
 CPU limit: Infinite Direct I/O limit: 4196
 Buffered I/O byte count quota: 319168 Buffered I/O limit: 512
 Timer queue entry quota: 48 Open file quota: 297
 Paging file quota: 195686 Subprocess quota: 15
 Default page fault cluster: 64 AST quota: 4089
 Enqueue quota: 7000 Shared file limit: 0
 Max detached processes: 0 Max active jobs: 0

 Accounting information:
 Buffered I/O count: 33018 Peak working set size: 2234
 Direct I/O count: 926 Peak virtual size: 9727
 Page faults: 11720 Mounted volumes: 0
 Images activated: 25
 Elapsed CPU time: 0 00:01:43.77
 Connect time: 0 08:09:49.50

 Authorized privileges:
 AUDIT CMKRNL EXQUOTA LOG_IO NETMBX OPER READALL SECURITY
 SYSLCK SYSNAM SYSPRV TMPMBX WORLD

 Process privileges:
 AUDIT may direct audit to system security audit log
 BYPASS may bypass all object access controls
 CMKRNL may change mode to kernel
 EXQUOTA may exceed disk quota
 LOG_IO may do logical i/o
 NETMBX may create network device
 OPER may perform operator functions
 READALL may read anything as the owner

2
Open VMS System Mgmt. Essentials Training

 SECURITY may perform security administration functions


 SYSGBL may create system wide global sections
 SYSLCK may lock system wide resources
 SYSPRV may access objects via system protection
 TMPMBX may create temporary mailbox
 WORLD may affect other processes in the world

 Process rights:
 INTERACTIVE
 REMOTE

 System rights:
 SYS$NODE_OVMS1

 Auto-unshelve: on

 Image Dump: off

 There is 1 process in this job:

 OVMS (*)

 $ STOP/ID=20220E8C - TO TERMINATE THE PROCESS.

6. User request to increase the process priority in the system to run faster :-Normally is how much, ho w do we know how much we
need to put?
 $ SET PROC/PRIO=8/ID=XXXXXXX
(PRIORITY CANNOT MORE THAN 10 BECAUSE IT MAY CRASH THE SYSTEM).

7. User complaint REPORT running very slow:- What Is the usage of this?
 Lockmaster runaway
 $ MONITOR DLOCK
DISTRIBUTED LOCK MANAGEMENT STATISTICS
on node OVMS2
13-JAN-2000 14:44:55.68

CUR AVE MIN MAX

New ENQ Rate (Local) 0.00 4.77 0.00 12.00


(Incoming) 1231.00 986.44 731.33 1231.00
(Outgoing) 0.00 0.22 0.00 0.66
Converted ENQ Rate (Local) 0.66 5.88 0.66 12.33
(Incoming) 138.00 103.00 62.00 138.00
(Outgoing) 2.00 2.55 0.66 5.00
DEQ Rate (Local) 0.00 5.44 0.00 14.00
(Incoming) 1196.33 966.77 717.33 1196.33
(Outgoing) 0.00 0.22 0.00 0.66
Blocking AST Rate (Local) 0.33 0.11 0.00 0.33
(Incoming) 1.00 0.33 0.00 1.00
(Outgoing) 1.66 1.11 0.00 1.66
Dir Functn Rate (Incoming) 121.66 46.00 3.66 121.66
(Outgoing) 0.00 0.22 0.00 0.66
Deadlock Message Rate 0.00 0.00 0.00 0.00
 OVMS2system > MC SYSGEN ?
 SYSGEN> SH PE1
 Parameter Name Current Default Min. Max. Unit Dynamic
 -------------- ------- ------- ------- ------- ---- -------
 PE1 -1 0 0 -1 D
 SYSGEN> SET PE1 0 (TO RELEASE THE LOCK MASTER)
 SYSGEN> WRITE ACTIVE

 SYSGEN> SET PE1 %XFFFFFFFF ( TO SET THE PE1 TO LOCKMATER TO THIS NODE)
 SYSGEN> WRITE ACTIVE

3
Open VMS System Mgmt. Essentials Training

8. How to analyst hardware error count:-


 How to check hardware error number count.
 OVMS1system > sh er
 Device Error Count
 $1$MUA0: (HSJ010, HSJ011) 163
 How to analyst the error.
 OVMS1system > ANAL/ERROR/SUMMARY/SIN=YESTERDAY/OUT=LEE.T
 OVMS1system > ANAL/ERROR/SUMMARY/INCLUDE=DISK/SIN=YESTERDAY/OUT=LEE.T
 OVMS1system > TY LEE.T
 ******************************* ENTRY 7861. *******************************
 ERROR SEQUENCE 21488. LOGGED ON: SID 17000201
 DATE/TIME 17-JAN-2000 10:06:30.12 SYS_TYPE 01430201
 SYSTEM UPTIME: 13 DAYS 14:13:05
 SCS NODE: OVMS1 VAX/VMS V7.1

 TIME STAMP KA7AA-AA CPU FW REV# 1. CONSOLE FW REV# 4.3

 V A X / V M S SYSTEM ERROR REPORT COMPILED 17-JAN-2000 10:16:00
 PAGE 1.


 SUMMARY OF ALL ENTRIES LOGGED BY SID 17000201

 TIME-STAMP 1.

 DATE OF EARLIEST ENTRY 17-JAN-2000 10:06:30.12
 DATE OF LATEST ENTRY 17-JAN-2000 10:06:30.12

 V A X / V M S SYSTEM ERROR REPORT COMPILED 17-JAN-2000 10:16:00
 PAGE 2.
 PROCESSED ENTRIES HOUR-OF-DAY HISTOGRAM LOGGED BY SID 17000201

 00:00 0.
 01:00 0.
 02:00 0.
 03:00 0.
 04:00 0.
 05:00 0.
 06:00 0.
 07:00 0.
 08:00 0.
 09:00 0.
 10:00 1. *
 11:00 0.
 12:00 0.
 13:00 0.
 14:00 0.
 15:00 0.
 16:00 0.
 17:00 0.
 18:00 0.
 19:00 0.
 20:00 0.
 21:00 0.
 22:00 0.
 23:00 0.
 ANAL/ERROR/SUMMARY/SIN=16-JAN-2000 00:00:00.00/OUT=LEE.T

9. How to analyst system crash:-


 OVMS1system > anal/crash sys$system:sysdump.dmp

 OpenVMS (TM) VAX System dump analyzer

 %SDA-W-VAXDUMP, dump file FLAGS2 DMP$V_VAXDUMP should be set
 %SDA-E-DUMPEMPTY, dump file contains no valid dump
 OVMS1system > ANAL/SYSTEM

4
Open VMS System Mgmt. Essentials Training

SDA> SHOW CRASH

10. How to CHECK whether a image installed in the memory :-


 $ install list sys$system:delete.exeXXXX
 DISK$VMS071AXP-G:<SYS0.SYSCOMMON.SYSEXE>.EXE
 DELETE;1 Open Hdr Shar
 To install a image to the memory
 $ install create sys$system:ucx$ftp.exe /header/shared/open/priv=(oper,pswapm)


11. How to BOOT MINIMUM VAX system to change system password:-


 BOOT the system to SYSBOOT prompt.
 SYSBOOT> SHOW STARTUP_P1
 SYSBOOT> SET STARTUP_P1 “MIN”
 SYSBOOT> CONT
AFTER CHANGE THE SYSTEM PASSWORD.
 $ MC SYSGEN
 SYSGEN> SH STARTUP_P1
 Parameter Name Current Default Min. Max. Unit Dynamic
 -------------- ------- ------- ------- ------- ---- -------
 STARTUP_P1 " " " " " " "zzzz" Ascii
 SYSGEN> SET . “ “
 SYSGEN> WRITE CURRENT
 SYSGEN> EXIT
 $ SYS$SYSTEM:SHUTDOWN

USER
12. Users unable to login to system.
- Telnet services were not up to serve:-
 $ UCX SH SERV

 Service Port Proto Process Address State

 BIND 53 TCP,UDP UCX$BIND 0.0.0.0 Enabled
 FTP 21 TCP UCX$FTPD 0.0.0.0 Enabled
 REXEC 512 TCP UCX$REXECD 0.0.0.0 Enabled
 RSH 514 TCP UCX$RSHD 0.0.0.0 Enabled
 SMSRV5 1405 TCP SMSRV5 0.0.0.0 Disabled
 SMSRV7 1407 TCP SMSRV7 0.0.0.0 Disabled
 TELNET 23 TCP not defined 0.0.0.0 Disabled
 $ UCX ENABLE SERVICE TELNET

- Login was disabled from user to login manually.


 $ SET LOGIN/INTERACTIVE
 %SET-I-INTSET, login interactive limit = 0, current interactive value = 1
 $ SET LOGIN/INTERACTIVE=500

- User account was already disabled


 $ set def sys$system
 $ mc authorize
 UAF> sh /br [*,*]
 UAF> sh /br [IT,*]
 UAF> sh jsummers

 Username: JSUMMERS Owner: Jeff Summers
 Account: UIC: [7,2] ([JSUMMERS])
 CLI: DCL Tables: DCLTABLES
 Default: USERS:[JSUMMERS]
 LGICMD: LOGIN
 Flags: DisUser
 Primary days: Mon Tue Wed Thu Fri
 Secondary days: Sat Sun
 No access restrictions
 Expiration: (none) Pwdminimum: 6 Login Fails: 0
 Pwdlifetime: 90 00:00 Pwdchange: 24-MAR-1998 18:37
 Last Login: 24-MAR-1998 20:07 (interactive), 23-JAN-1997 07:16 (non-interactive)

5
Open VMS System Mgmt. Essentials Training

 Maxjobs: 0 Fillm: 300 Bytlm: 32768


 Maxacctjobs: 0 Shrfillm: 0 Pbytlm: 0
 Maxdetach: 0 BIOlm: 40 JTquota: 0
 Prclm: 2 DIOlm: 40 OVMSdef: 256
 Prio: 4 ASTlm: 40 OVMSquo: 512
 Queprio: 0 TQElm: 40 OVMSextent: 1024
 CPU: (none) Enqlm: 200 Pgflquo: 32768
 Authorized Privileges:
 NETMBX SETPRV TMPMBX
 Default Privileges:
 NETMBX OPER TMPMBX
 $ UAF>
 $ UAF> mod jsummers/flag=nodisuser
 %UAF-I-MDFYMSG, user record(s) updated

- User forgot his login password.


 $ UAF > mod jsummers/pass=12345678/pwdexp
 %UAF-I-MDFYMSG, user record(s) updated

- User trying the password more than 3 times. INTRUSION occurred.


 $ KMRTR1system > show intrusion
 Intrusion Type Count Expiration Source
 -------------- --------- ----- ----------------------- --------------------
 TERM_USER SUSPECT 1 13-JAN-2000 16:52:09.20 mylee-desk2.kssm.inte
 l.com:CSM
 NETWORK INTRUDER 6 13-JAN-2000 16:51:36.69 LOCAL:.OVMS2::SYSTEM
 NETWORK INTRUDER 6 13-JAN-2000 16:48:06.44 LOCAL:.OVMS1::SYSTEM
 NETWORK INTRUDER 7876 13-JAN-2000 16:52:12.38 LOCAL:.KMRTR2::SYSTEM
 $ DEL/INTRU LOCAL:.KMRTR2::SYSTEM
 $ DEL/INTRU "mylee-desk2.kssm.intel.com:CSM"

13. User did not have privilege to access to certain File :-


 File protection need to change
 $ SET FILE /PROT=(S:RWED, O:RWED, G:RWED, W:RE) MYLEE.DIR;1
 $ SET FILE /PROT=(S:RWED, O:RWED, G:RWED, W:RE) YONG.TXT;1

QUEUE
14. NT printer queue in VAX cannot work.
- Re-initialize the print queue.
 Initialize/queue km1f1it1l/processor = UCX$TELNETSYM /start/on=”172.21.23.20:9100”
 $ print/queue=km1f1it1l /notify filename

15. How to start queue in VAX


 OVMS1system > show queue/all
 Printer queue A1LPS2, stopped, on OVMS1::A1LPS2, mounted form DCPS$DEFAULT
 (stock=DEFAULT)

 Batch queue CE$OVMS1, idle, on OVMS1::

 Batch queue CE$OVMS2, idle, on OVMS2::

 Batch queue FTP_DELIVERY, idle, on OVMS2::

 Server queue FTP_ROUTING, idle, on OVMS2::, mounted form DEFAULT

 Batch queue FTP_SENDS, idle, on OVMS2::

 Batch queue FTP_USER_QUEUE, idle, on OVMS2::

 Batch queue FTP_OVMSDS, stopped, on OVMS1::

 Printer queue KM1F1PS10L, idle, on OVMS1::"172.21.60.234:9100",
 mounted form DEFAULT

 Printer queue KM1F1PS3L, idle, on OVMS1::"172.21.42.237:9100",
 mounted form DEFAULT

6
Open VMS System Mgmt. Essentials Training


 Printer queue KM1F1PS9L, idle, on OVMS1::"172.21.60.233:9100",
 mounted form DEFAULT

 Printer queue KM1FCPGA3L, idle, on OVMS1::"172.21.112.150:9100",
 mounted form DEFAULT

 Printer queue KM2F1DCA3L, idle, on OVMS1::"172.21.99.103:9100",
 mounted form DEFAULT

 Printer queue KM2F1IT1L, idle, on OVMS1::"172.21.67.237:9100",
 mounted form DEFAULT

 Printer queue KM2F1SFGI1L, idle, on OVMS2::"172.21.74.243:9100",
 mounted form DEFAULT

 Printer queue KM2F2PS2L, idle, on OVMS2::"172.21.70.234:9100",
 mounted form DEFAULT

 Printer queue KM2MAT1L, idle, on OVMS2::"172.21.68.233:9100",
 mounted form DEFAULT

 Printer queue KM2PLAN1L, idle, on OVMS2::"172.21.68.235:9100",
 mounted form DEFAULT

 Generic batch queue OVMS$ACCESS_EXTRACT

 Generic batch queue OVMS$AUTO

 Generic batch queue OVMS$BATCH

 Entry Jobname Username Status
 ----- ------- -------- ------
 793 KM_DEL_TEMP_FILES
 SYSTEM Holding until 17-JAN-2000 16:55:54

 Generic batch queue OVMS$CORP

 Generic batch queue OVMS$FAST

 Entry Jobname Username Status
 ----- ------- -------- ------
 565 CISNAP_LOCK SYSTEM Holding until 18-JAN-2000 00:09:17

 Generic batch queue OVMS$FCACCESS_EXTRACT

 Generic batch queue OVMS$FCCORP

 Generic batch queue OVMS$FCFAST

 Generic batch queue OVMS$FCLOCAL_INIT

 Generic batch queue OVMS$FCREPORT

 Generic batch queue OVMS$FCOVMS_BACKUP

 Generic batch queue OVMS$FTP_MARS

 Generic batch queue OVMS$FTP_OVMSDS

 Generic batch queue OVMS$LOCAL_INT

 Generic batch queue OVMS$REPORT

 Generic batch queue OVMS$OVMS_BACKUP

 Batch queue OVMS1$ACCESS_EXTRACT, stopped, on OVMS1::

7
Open VMS System Mgmt. Essentials Training


 Batch queue OVMS1$AUTO, stopped, autostart inactive, on OVMS1::

 Batch queue OVMS1$BATCH, idle, on OVMS1::

 Batch queue OVMS1$CORP, stopped, on OVMS1::

 Batch queue OVMS1$FAST, stopped, on OVMS1::

 Batch queue OVMS1$FCACCESS_EXTRACT, stopped, on OVMS1::

 Batch queue OVMS1$FCREPORT, stopped, autostart inactive, on OVMS1::

 Batch queue OVMS1$FTP_MARS, stopped, on OVMS1::

 Batch queue OVMS1$FTP_OVMSDS, stopped, on OVMS1::

 Batch queue OVMS1$LOCAL_INT, stopped, on OVMS1::

 Batch queue OVMS1$REPORT, stopped, autostart inactive, on OVMS1::

 Batch queue OVMS1$SPECIFIC, idle, on OVMS1::

 Batch queue OVMS1$OVMS_BACKUP, stopped, on OVMS1::

 Batch queue OVMS2$ACCESS_EXTRACT, idle, on OVMS2::

 Batch queue OVMS2$AUTO, idle, on OVMS2::

 Batch queue OVMS2$BATCH, idle, on OVMS2::

 Batch queue OVMS2$CORP, idle, on OVMS2::

 Batch queue OVMS2$FAST, idle, on OVMS2::

 Batch queue OVMS2$FCACCESS_EXTRACT, idle, on OVMS2::

 Batch queue OVMS2$FCREPORT, idle, on OVMS2::

 Batch queue OVMS2$FTP_MARS, idle, on OVMS2::

 Batch queue OVMS2$FTP_OVMSDS, idle, on OVMS2::

 Batch queue OVMS2$LOCAL_INT, idle, on OVMS2::

 Batch queue OVMS2$REPORT, idle, on OVMS2::

 Batch queue OVMS2$SPECIFIC, idle, on OVMS2::

 Batch queue OVMS2$OVMS_BACKUP, idle, on OVMS2::

 Printer queue KMLPS1, stopped, on OVMS1::KMLPS1, mounted form DCPS$DEFAULT
 (stock=DEFAULT)

 Printer queue TEMP$PRINT, stopped, mounted form DEFAULT

 Entry Jobname Username Blocks Status
 ----- ------- -------- ------ ------
 587 TBATCH_586 CSM 2 Pending
 780 T20222891 FCPROD 2 Pending
 781 T20222C93 FCPROD 2 Pending
 782 T2021D896 FCPROD 2 Pending
 783 T2022309D FCPROD 2 Pending
 683 OPST539107552000117133257
 FCTRAIN 40 Pending
 592 CHK_CIBR SENSYS 109 Pending
 686 CHK_CIBR SENSYS 109 Pending

8
Open VMS System Mgmt. Essentials Training

 760 CHK_CIBR SENSYS 109 Pending


 891 CHK_CIBR SENSYS 109 Pending
 541 DAILY_I_TAPE_BACKUP
 OVMS 142 Pending
 738 OPST599 SECCPROD 186 Pending

 Generic server queue UCX$SMTP_OVMS1_00

 Server queue UCX$SMTP_OVMS1_01, idle, on OVMS1::, mounted form DEFAULT

 Generic server queue UCX$SMTP_OVMS2_00

 Server queue UCX$SMTP_OVMS2_01, idle, on OVMS2::, mounted form DEFAULT

 SOME OF THE QUEUE STARTED AND SOME OF THE QUEUE STOP.
 Example : OVMS1system > START OVMS2$REPORT

16. Some queue/entry modifications :-


 OVMS1system > SET ENTRY 172/REQUEUE=OVMS1$FAST
 OVMS1system > SHOW ENTRY 172/FULL
 OVMS1systen > DEL/ENT=172

HARD-DISK
17. Hard Disk maintenance:-
 High level format a hard disk:-
 $ INIT $1$DUA1043: OVMS_KMUSER3 /NOHIGH/OWNER=SYSTEM
 Mount a hard disk.
 $ MOUNT/SYSTEM/REBUILD/CLU $1$DUA1043: OVMS_KMUSER3 OVMS_KMUSER3
 Dismount a hard disk.
 $ DISMOUNT/CLUSTER $1$DUA1043:
 Mount a hard disk with shadow set.
 OVMS2system > MOUNT/SYSTEM/CLUSTER DSA614:/SHADOW=($1$DUA614: ) OVMS_KMUSER2
OVMS_KMUSER2
 OVMS2system > SH DEV DSA614

 Device Device Error Volume Free Trans Mnt
 Name Status Count Label Blocks Count Cnt
 DSA614: Mounted 0 OVMS_KMUSER2 2945079 6 2
 $1$DUA614: (HSJ006) ShadoOVMSetMember 0 (member of DSA614:)
 Mount a hard disk add to the above shadow set.
 OVMS2system> MOUNT/SYSTEM/CLUSTER DSA614:/SHADOW=($1$DUA1014: ) OVMS_KMUSER2
OVMS_KMUSER2
 OVMS2system > SH DEV DSA614

 Device Device Error Volume Free Trans Mnt
 Name Status Count Label Blocks Count Cnt
 DSA614: Mounted 0 OVMS_KMUSER2 2945079 6 2
 $1$DUA614: (HSJ006) ShadoOVMSetMember 0 (member of DSA614:)
 $1$DUA1014: (HSJ010) ShadoOVMSetMember 0 (member of DSA614:)
 Dismount a hard disk from a shadow set.
 OVMS2system > DISMOUNT/CLUSTER $1$DUA1014:

18. How to repair a disk:-


 OVMS1system > ANAL/DISK/REPAIR OVMS_KMARCHIV
 OVMS1system > SET VOLUME/REBUILD=FORCE OVMS_KMARCHIV

19. How to add third shadow set :-


 OVMS1system > SH DEV DPA431

 Device Device Error Volume Free Trans Mnt
 Name Status Count Label Blocks Count Cnt
 DPA431: (OVMS1) Mounted 0 OVMS_KMDB1 8910975 1920 2
 OVMS1system > SH DEV DSA431

 Device Device Error Volume Free Trans Mnt

9
Open VMS System Mgmt. Essentials Training

 Name Status Count Label Blocks Count Cnt


 DSA431: Mounted 0 OVMS_KMDB10000 32 2 2
 $1$DUA431: (HSJ004) ShadoOVMSetMember 0 (member of DSA431:)
 $1$DUA831: (HSJ008) ShadoOVMSetMember 0 (member of DSA431:)
 OVMS1system > SH DEV DSA441

 Device Device Error Volume Free Trans Mnt
 Name Status Count Label Blocks Count Cnt
 DSA441: Mounted 0 OVMS_KMDB10001 32 2 2
 $1$DUA441: (HSJ004) ShadoOVMSetMember 0 (member of DSA441:)
 $1$DUA841: (HSJ008) ShadoOVMSetMember 0 (member of DSA441:)
 OVMS1system > RAID ADD/SHADOW_MEMBER/DEVICE=DSA431 OVMS_KMDB1 $1$DUA412:
 OVMS1system > RAID ADD/SHADOW_MEMBER/DEVICE=DSA441 OVMS_KMDB1 $1$DUA422:

20. How to break third shadow set and clone become another database copy:-
 OVMS1system > WRITE SYS$OUTPUT F$GETDVI(“DSA431”,”SHDW_NEXT_MBR_NAME”)
 $1$DUA412:
 OVMS1system > WRITE SYS$OUTPUT F$GETDVI(“DSA441”,”SHDW_NEXT_MBR_NAME”)
 $1$DUA422:
 OVMS1system > RAID CLONE OVMS_KMDB1 OVMS_KMDB1A/OVERRIDE=OVER
 OVMS1system >RAID BIND OVMS_KMDB1A /SHADOW/USE_SHADOW_DEVICE=(DSA412:,DSA422: )
$1$DUA412: -
 _OVMS1system > , $1$DUA422: DPA412:
 OVMS1system > MOUNT/CLUSTER/SYSTEM/NOASSIST DPA412: OVMS_KMDB1 OVMS_KMDB1

21. How to UNBIND a raid 0+1 disk.


 OVMS1system > DISMOUNT/CLUSTER DPA412:
 OVMS1system > RAID UNBIND DPA412:

22. How to find the root cause of the file causing disk full:-
 OVMS1system > set def dosd_dump:[000000]
 OVMS1system > dir [...]*.*;*/since/size/date

 Directory DOSD_DUMP:[000000]

 LEE.T;1 1 17-JAN-2000 15:49:11.88

 Total of 1 file, 1 block.
 FIND WHAT FILE IT IS AND INFORM THE OWNER OF THE FILE OR COPY TO OTHER DISK BEFORE DELETE
THE FILE.

23. Hard disk controller maintenance :-


 Check the hard disk controller numbering.
 OVMS2system > show cluster
 View of Cluster from system ID 31756 node: OVMS2 13-JAN-2000 17:04:58
 ┌───────────────────┬─────────┐
 │ SYSTEMS │ MEMBERS │
 ├────────┬──────────┼─────────┤
 │ NODE │ SOFTWARE │ STATUS │
 ├────────┼──────────┼─────────┤
 │ OVMS2 │ VMS V7.1 │ MEMBER │
 │ HSJ004 │ HSJ V54J │ │
 │ HSJ005 │ HSJ V54J │ │
 │ HSJ006 │ HSJ V54J │ │
 │ HSJ007 │ HSJ V54J │ │
 │ OVMS1 │ VMS V7.1 │ MEMBER │
 │ HSJ009 │ HSJ V54J │ │
 │ HSJ008 │ HSJ V54J │ │
 │ HSJ011 │ HSJ V54J │ │
 │ HSJ010 │ HSJ V54J │ │
 └────────┴──────────┴─────────┘
 Set host to the HSJ/HSD controller. ( Same as plugging into the Console of the HSJ/HSD)
 OVMS2system > SET H /DUP/SERVER=MSCP$DUP/TASK=CLI HSJ010
 %HSCPAD-I-LOCPROGEXE, Local program executing - type ^\ to exit

 Copyright Compaq Computer Corporation 1993, 1998. All rights reserved.
 HSJ50-AX Firmware version V54J-0, Hardware version B01

10
Open VMS System Mgmt. Essentials Training


 Last fail code: 010E0110

 Press " ?" at any time for help.


 HSJ10> SHOW DEVICE
 Name Type Port Targ Lun Used by
 ------------------------------------------------------------------------------

 DISK100 disk 1 0 0 D1010
 DISK110 disk 1 1 0 D1011
 DISK120 disk 1 2 0 D1012
 DISK130 disk 1 3 0 D1013
 DISK140 disk 1 4 0 D1014
 DISK200 disk 2 0 0 D1020
 DISK210 disk 2 1 0 D1021
 DISK230 disk 2 3 0 D1023
 DISK250 disk 2 5 0 D1025
 DISK300 disk 3 0 0 D1030
 DISK310 disk 3 1 0 D1031
 DISK330 disk 3 3 0 D1033
 DISK350 disk 3 5 0 D1035
 DISK400 disk 4 0 0 D1040
 DISK410 disk 4 1 0 D1041
 DISK430 disk 4 3 0 D1043
 DISK500 disk 5 0 0 D1050
 DISK510 disk 5 1 0 D1051
 DISK530 disk 5 3 0 D1053
 TAPE650 tape 6 5 0 T0
 HSJ10>SHOW THIS
 Controller:
 HSJ50-AX ZG72604482 Firmware V54J-0, Hardware B01
 Configured for dual-redundancy with ZG72503953
 In dual-redundant configuration
 SCSI address 6
 Time: 13-JAN-2000 17:08:53
 Host port:
 Node name: HSJ010, valid CI node 10, 16 max nodes
 System ID 4200100A1122
 Path A is ON
 Path B is ON
 MSCP allocation class 1
 TMSCP allocation class 1
 CI_ARBITRATION = ASYNCHRONOUS
 MAXIMUM_HOSTS = 15
 NOCI_4K_PACKET_CAPABILITY
 NOREMOTE_DISK_COPY_DATA
 Cache:
 128 megabyte write cache, version 3
 Cache is GOOD
 Battery is GOOD
 No unflushed data in cache
 CACHE_FLUSH_TIMER = DEFAULT (10 seconds)
 CACHE_POLICY = A
 NOCACHE_UPS
 ADD new hard disk.
 HSJ10> ADD DISK DISK550 5 5 0
 HSJ10> INIT DISK550
 HSJ10> ADD UNIT D855 DISK550
 ADD new tape drive.
 HSJ10> ADD TAPE TAPE650 6 5 0
 HSJ10> INIT TAPE650
 HSJ10> ADD UNIT T0 TAPE650
 Del disk and tape.
 HSJ10> DEL D855
 HSJ10> DEL DISK550

11
Open VMS System Mgmt. Essentials Training

 HSJ10> DEL T0
 LOCATE the hard disk if location miss matched.
 HSJ10> CLEAR CLI
 HSJ10> LOCATE DISK550
 HSJ10> LOCATE CANCEL
 HSJ10> CLEAR UNKNOWN DISK550

MEMORY
24. How to add a PAGEFILE to a slow system:-
 OVMS1system > MC SYSGEN
 SYSGEN> CREATE PAGE_SWAP4:[SYS0]PAGEFILE4.SYS /SIZE=1000000/CONTI
 SYSGEN> INSTALL PAGE_SWAP4:[SYS0]PAGEFILE4.SYS /PAGEFILE
 SYSGEN> EXIT

25. How to check memory :-


 OVMS1system > sh me
 System Memory Resources on 17-JAN-2000 14:38:46.76

 Physical Memory Usage (pages): Total Free In Use Modified
 Main Memory (2048.00Mb) 4194304 2176625 1974460 43219

 Virtual I/O Cache Usage (pages): Total Free In Use Maximum
 Cache Memory 48480 48 48432 728715

 Slot Usage (slots): Total Free Resident Swapped
 Process Entry Slots 700 486 214 0
 Balance Set Slots 600 388 212 0

 Dynamic Memory Usage (bytes): Total Free In Use Largest
 Nonpaged Dynamic Memory 72000000 49328832 22671168 42472064
 Paged Dynamic Memory 32000000 26075200 5924800 26052368

 Paging File Usage (pages): Free Reservable Total
 PAGE_SWAP1:[SYS0]SWAPFILE.SYS;1 39992 39992 39992
 PAGE_SWAP1:[SYS0]PAGEFILE1.SYS;1 957339 374362 999992
 PAGE_SWAP2:[SYS0]PAGEFILE2.SYS;1 941490 374367 999992
 PAGE_SWAP3:[SYS0]PAGEFILE3.SYS;1 936367 376692 999992
 Of the physical pages in use, 387606 pages are permanently allocated to OpenVMS.

UCX

26. How to check UCX network error:-


 OVMS1system > ucx
 UCX> show comm/mem
 MBUF Summary
 Small_static Large_static Small_dynamic Large_dynamic
 Total buffers 127 31 508 62
 Free 0 0 60 38
 Busy
 Data 0 31 0 24
 Header 13 0 149 0
 Socket 58 0 148 0
 Prot. control 47 0 151 0
 Route 3 0 0 0
 Socket name 0 0 0 0
 Socket options 0 0 0 0
 Fragment reassembly 0 0 0 0
 IP address 3 0 0 0
 Size of cluster 32768 58784 256 52160

 Free Current Peak Waits Drops

12
Open VMS System Mgmt. Essentials Training

 Small Buffers 575 888 0 0


 Large Buffers 55 156 0 0
 IRPs 1 112 195 0 0

 Small clusters Large clusters Non UCX buffers
 Free 2 1 0
 DROPS Colume should have 0 drops.

27. How to check UCX OBJECT error:-


 $ UCX SH SERV SGSRVS2/FULL

 Service: SGSRVS2
 State: Enabled
 Port: 1412 Protocol: TCP Address: 0.0.0.0
 Inactivity: 5 User_name: SUMMIT Process: SGSRVS2
 Limit: 64 Active: 0 Peak: 0

 File: SUM_SYS:[SIGMA.SIGSRV.COMFILES]SIGMA$SERVER$SLOT1AUTO.COM
 Flags: Listen

 Socket Opts: Keepalive Rcheck Scheck
 Receive: 0 Send: 0

 Log Opts: None
 File: not defined

 Security
 Reject msg: not defined
 Accept host: 0.0.0.0
 Accept netw: 0.0.0.0
 IF PEAK NUMBER SAME AS THE LIMIT NUMBER, BE EXPECTED THAT THIS OBJECT HAS HIT IT’S HIGHER
LIMIT AND HANG. INCREASE THIS OBJECT LIMIT AND RESTART.

28. How to check UCX OBJECT’S device whether still active:-


 $ UCX SH DEVICE
 $ UCX SH DEV bg4909/CONTI
 Device_socket: bg4909 Type: STREAM LOCAL REMOTE
 Port: 1027 55812
 Host: kmsum 172.21.102.21
 Service: STRMT$1_9T

 RECEIVE SEND
 Queued I/O 0 0
 Q0LEN 0 Socket buffer bytes 0 0
 QLEN 0 Socket buffer quota 4096 4096
 QLIMIT 0 Total buffer alloc 0 0
 TIMEO 0 Total buffer limit 16384 16384
 ERROR 0 Buffer or I/O waits 0 0
 OOBMARK 0 Buffer or I/O drops 0 0
 I/O completed 1832 2513
 Bytes transferred 36710 134846

 Options: REUSEADR
 State: ISCONNECTED PRIV
 RCV Buff: WAIT
 SND Buff: None

 STATE: MUST BE CONNECTED. ELSE CLIENT ALREADY RESET.

DECNET
29. How to check DECNET network error:-
 OVMS1system > MC NCL

13
Open VMS System Mgmt. Essentials Training

 NCL>SHOW NODE 0 ALL COUNTERS



 Node 0
 at 2000-01-17-12:03:53.370+08:00Iinf

 Counters

 Creation Time = 1998-12-01-19:09:32.950+08:00Iinf
 Renames = 2
 Changes of ID = 19
 IDROM Check Failures = 0
 Changes of Address = 0

 NCL>SHOW NODE 0 SESS CONT ALL COUNTERS

 Node 0 Session Control
 at 2000-01-17-12:04:06.320+08:00Iinf

 Counters

 Creation Time = 2000-01-03-19:56:50.190+08:00Iinf
 Access Control Violations = 7
 Backtranslation Deletions = 0
 Deleted Maintained Objects = 0
 Dangling Links = 0
 Verification Failures = 0

 NCL>SHOW NODE 0 ROUTING ALL COUNTERS

 Node 0 Routing
 at 2000-01-17-12:04:20.470+08:00Iinf

 Counters

 PhaseIV Translation Failures = 0
 Address Unreachable PDUs Discarded = 0
 PDU Format Errors = 0
 Unsupported Options = 0
 Error Reports Generated = 0
 Creation Time = 2000-01-03-19:57:25.990+08:00Iinf

 NCL>SHOW NODE 0 CSMA-CD STATION * ALL COUNTERS

 Node 0 CSMA-CD Station MNA-0
 at 2000-01-17-12:04:37.260+08:00Iinf

 Counters

 Creation Time = 2000-01-03-19:57:21.740+08:00Iinf
 Octets Received = 3981048002
 Octets Sent = 602696752
 PDUs Received = 19132132
 PDUs Sent = 13463693
 Multicast Octets Received = 241927462
 Multicast Octets Sent = 2231957290
 Multicast PDUs Received = 2861663
 Multicast PDUs Sent = 2497216
 Initially Deferred PDUs Sent = 91414
 Single Collision PDUs Sent = 530048
 Multiple Collisions PDUs Sent = 395448
 Excessive Collisions = 0
 Carrier Check Failures = 0
 Late Collisions = 0
 Collision Detect Check Failures = 9301102
 Frame Check Errors = 0
 Frame Size Errors = 0
 Send Data Length Errors = 0

14
Open VMS System Mgmt. Essentials Training

 Alignment Errors = 0
 Frames Too Long = 0
 Receive Data Length Errors = 0
 Unrecognized Individual Destination PDUs = 0
 Unrecognized Multicast Destination PDUs = 0
 Data Overruns = 0
 Unavailable Station Buffers = 0
 Unavailable User Buffers = 0
 Station Failures = 0

 NCL>SHOW NODE 0 ROUTING CIRCUIT * ALL COUNTERS

 Node 0 Routing Circuit MNA-0
 at 2000-01-17-12:04:52.290+08:00Iinf

 Counters

 Data PDUs Received = 6880932
 Data PDUs Fragmented = 0
 Data PDUs Transmitted = 3621142
 Segmentation Failure Discards = 0
 Circuit Changes = 1
 Initialization Failures = 0
 Control PDUs Sent = 136468
 Control PDUs Received = 2468681
 Corrupted Hello PDUs Received = 0
 Creation Time = 2000-01-03-19:57:26.260+08:00Iinf


 Node 0 Routing Circuit MFA-0
 at 2000-01-17-12:04:52.290+08:00Iinf

 Counters

 Data PDUs Received = 0
 Data PDUs Fragmented = 0
 Data PDUs Transmitted = 0
 Segmentation Failure Discards = 0
 Circuit Changes = 0
 Initialization Failures = 0
 Control PDUs Sent = 0
 Control PDUs Received = 0
 Corrupted Hello PDUs Received = 0
 Creation Time = 2000-01-03-19:57:28.220+08:00Iinf

 NCL>

30. How to show DECNET OBJECT :-


 OVMS1system > mc ncl
 NCL>show sess cont app *

 Node 0 Session Control Application 86
 at 2000-01-17-16:37:38.930+08:00Iinf

 Identifiers

 Name = 86


 Node 0 Session Control Application 23
 at 2000-01-17-16:37:38.930+08:00Iinf

 Identifiers

 Name = 23



15
Open VMS System Mgmt. Essentials Training

 Node 0 Session Control Application 42


 at 2000-01-17-16:37:38.930+08:00Iinf

 Identifiers

 Name = 42


 Node 0 Session Control Application 82
 at 2000-01-17-16:37:38.930+08:00Iinf

 Identifiers

 Name = 82


 Node 0 Session Control Application 26
 at 2000-01-17-16:37:38.930+08:00Iinf

 Identifiers

 Name = 26


 Node 0 Session Control Application $IPCACP
 at 2000-01-17-16:37:38.930+08:00Iinf

 Identifiers

 Name = $IPCACP


 Node 0 Session Control Application FAL
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = FAL


 Node 0 Session Control Application CML
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = CML


 Node 0 Session Control Application MAIL
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = MAIL


 Node 0 Session Control Application VPM
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = VPM


 Node 0 Session Control Application MIRROR
 at 2000-01-17-16:37:38.940+08:00Iinf


16
Open VMS System Mgmt. Essentials Training

 Identifiers

 Name = MIRROR


 Node 0 Session Control Application PHONE
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = PHONE


 Node 0 Session Control Application DTR
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = DTR


 Node 0 Session Control Application TASK
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = TASK


 Node 0 Session Control Application CALCOMETS
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = CALCOMETS


 Node 0 Session Control Application PCMB
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = PCMB


 Node 0 Session Control Application PCMBSTOP
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = PCMBSTOP


 Node 0 Session Control Application PCMSHOSYS
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = PCMSHOSYS


 Node 0 Session Control Application SCI_STARTUP
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = SCI_STARTUP

17
Open VMS System Mgmt. Essentials Training



 Node 0 Session Control Application SMR
 at 2000-01-17-16:37:38.940+08:00Iinf

 Identifiers

 Name = SMR


 Node 0 Session Control Application SMR_SEC
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = SMR_SEC


 Node 0 Session Control Application HLD
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = HLD


 Node 0 Session Control Application NML
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = NML


 Node 0 Session Control Application REMACP
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = REMACP


 Node 0 Session Control Application EVL
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = EVL


 Node 0 Session Control Application DBMSERVER
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = DBMSERVER


 Node 0 Session Control Application TARGETNET
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = TARGETNET


 Node 0 Session Control Application JSTARGET

18
Open VMS System Mgmt. Essentials Training

 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = JSTARGET


 Node 0 Session Control Application SMISERVER
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = SMISERVER


 Node 0 Session Control Application RDBSERVER
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = RDBSERVER


 Node 0 Session Control Application DDMF
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = DDMF


 Node 0 Session Control Application BBNEXEC
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = BBNEXEC


 Node 0 Session Control Application RS1SERV
 at 2000-01-17-16:37:39.180+08:00Iinf

 Identifiers

 Name = RS1SERV


 Node 0 Session Control Application DMQ001600001
 at 2000-01-17-16:37:39.190+08:00Iinf

 Identifiers

 Name = DMQ001600001


 Node 0 Session Control Application DMQ_00100001
 at 2000-01-17-16:37:39.190+08:00Iinf

 Identifiers

 Name = DMQ_00100001


 Node 0 Session Control Application DMQ008800001
 at 2000-01-17-16:37:39.190+08:00Iinf

 Identifiers

19
Open VMS System Mgmt. Essentials Training


 Name = DMQ008800001


 Node 0 Session Control Application DMQ_00580001
 at 2000-01-17-16:37:39.190+08:00Iinf

 Identifiers

 Name = DMQ_00580001


 Node 0 Session Control Application 81
 at 2000-01-17-16:37:39.190+08:00Iinf

 Identifiers

 Name = 81


 Node 0 Session Control Application NODE_SERVER
 at 2000-01-17-16:37:39.190+08:00Iinf

 Identifiers

 Name = NODE_SERVER
 ANYONE OF THIS MISSING WILL CAUSE SYSTEM PROBLEM.

31. How to show DECNET Object in full :-


 NCL>show session control app JSTARGET all attribute

 Node 0 Session Control Application JSTARGET
 at 2000-01-17-16:39:57.030+08:00Iinf

 Identifiers

 Name = JSTARGET

 Status

 Process Identifiers =
 {
 }
 UID = 097D8120-C218-11D3-8007-AA0004000B7C

 Characteristics

 Client = <Default value>
 Addresses =
 {
 number = 123
 }
 Outgoing Proxy = True
 Incoming Proxy = True
 Outgoing Alias = True
 Incoming Alias = True
 Node Synonym = True
 Image Name = JS$SYSTEM:JSTARGET.COM
 User Name = "JSS$SERVER"
 Incoming OSI TSEL = <Default value>
 OutgoingAlias Name = <Default value>
 Network Priority = 0

 Counters

 Creation Time = 2000-01-03-19:57:41.810+08:00Iinf

20
Open VMS System Mgmt. Essentials Training

SYSTEM LOGFILE
32. How to start system troubleshooting :-
 1. OPERATOR.LOG
 OVMS1system > set def sys$manager
 OVMS1system > dir operator.log/dat/siz
 Directory SYS$SYSROOT:[SYSMGR]

 OPERATOR.LOG;49 19888 3-JAN-2000 19:56:31.47
 OVMS1system > type/tail OPERATOR.LOG;49
 2. DBMMON.LOG
 OVMS1system > dir/dat/siz

 Directory OVMS_KMSEN:[SYS0]

 DBMMON.LOG;1 52353 3-JAN-2000 23:11:07.07
 OVMS1system > type/tail OVMS_KMSEN:[SYS0]DBMMON.LOG;1 – FOR OVMS1 and
 OVMS2system > type/tail OVMS_KMSEN:[SYS1]DBMMON.LOG;1 – FOR OVMS2
 3. CONSOLE MESSAGE
 $ CONS EXTRACT/SIN=17-JAN-2000:11:00:00.00/OUT=KMSUM1_TEST.TXT KMSUM1
 POLYCENTER Console Manager
 Extract facility Version V1.6-400
 Copyright (C) 1996, Computer Associates International, Inc. All Rights Reserved

 $ Working... done.
 $ TY KMSUM1_TEST.TXT
 %%%%%%%%%%% OPCOM 17-JAN-2000 11:09:24.99 %%%%%%%%%%%
 Message from user INTERnet on KMSUM1
 TELNET Logout Request from Remote Host: samohd-desk.kssm.intel.com Port: 2514

33. How to recycle OPERATOR.LOG, DBMMON.LOG and ACCOUNTING.DAT file :-


 1. ACCOUNTING .DAT
 $ SET DEF SYS$MANAGER
 $ DIR ACC*.DAT
 $ SET ACC/NEW
 $ PURGE.LOG ACCOUNTNG.DAT/KEEP=2
 2. DBMMON.LOG
 $ SET DEF OVMS_KMSEN:[SYS0]
 $ DIR DBMMON.LOG
 $ DBO/MONITOR REOPEN_LOG
 $ DIR
 $ PURGE/LOG/KEEP=2 DBMMON.LOG
 3. OPERATOR.LOG
 $ REPLY/ENABLE
 $ REPLY/LOG
 $ REPLY/DISABLE
 $ PURGE SYS$MANAGER:OPERATOR.LOG/KEEP=2

BACKUP/RESTORE
34. User request to restore disk or file from tape :-

Steps for restore from backup tape for whole disk. (Total Disk Failure)
(Based on example of OVMS_KMSEN failed on 16Nov99 11:00am and whole disk need to be restore from tape.)
• Inform 24x7 to search for latest weekly backup tape and daily incremental backup tape from tape room.
• Check in OVMS_KMUSER1:[IT.OVMS.BACKUP.FBCKJOU] for the COM_date.jou for the weekly full backup
whether the saveset reside in first tape or second tape. Command to check the location of the saveset is as below:-
$ BACKUP/JOU=OVMS_KMUSER1:[IT.OVMS.BACKUP.FBCKJOU] -
SYST_16NOV99.JOU/LIST
• After find the location of the saveset whether reside in first tape or second tape. Insert the tape into the tape drive.

21
Open VMS System Mgmt. Essentials Training

• Mount the $1$DUA215: foreign to enable the restore process. Command as below:-
$ MOUNT/FOREIGN $1$DUA215:
• $ BACKUP/IMAGE/LOG $1$MUA0:SEN1_14NOV99.BCK /SAV $1$DUA215:
• After restore the Weekly full backup for the OVMS_KMSEN. Unload the Weekly backup tape and insert 15-NOV-1999
daily incremental backup tape. Total of 2 daily incremental backup need to be restore to bring the OVMS_KMSEN data
up to date
• Due to all VAXes doing daily incremental backup with parameter of /SINCE=BACKUP. So all the daily backup need to
be restore sequencially from the Weekly Backup Tape date to the current date.
• Before restore incremental backup. Dismount the $1$DUA215: and mount it again normally. Command as below:-
$ MOUNT/SYSTEM/NOASSIST $1$DUA215: OVMS_KMSEN OVMS_KMSEN
• To restore 15-NOV-1999 incremental backup. Below is the command :-
$ BACKUP/LOG $1$MUA0:SEN1_15NOV99.BCK /SAV -
/SELECT=$1$DUA215:[000000...]*.*;* -
$1$DUA215:[000000...]*.*;*
• To restore 16-NOV-1999 incremental backup to make the data up to date. Below is the command:-
$ BACKUP/LOG $1$MUA0:SEN1_16NOV99.BCK /SAV
/SELECT=$1$DUA215:[000000...]*.*;* -
$1$DUA215:[000000...]*.*;*
• After the restore process completed. Then shadow the OVMS_KMSEN disk.
Notes:: Estimated restore time per tape about 3-4 hours.
Steps for restore from backup tape for certain selected files.
• Check in the OVMS_KMUSER1:[IT.OVMS.BACKUP.iBCKLIS] or
OVMS_KMUSER1:[IT.OVMS.BACKUP.fBCKLIS] to find the latest files that can be restore.Identify the date and disk.
• Inform 24x7 to search for latest tape backup that contain the files.
• Insert the tape into the tape drive.
• Restore the data directly from the tape drive and put in the wanted directory. Command as below:-
$ BACKUP/LOG/REWIND/SELECT=[COMETS54.CMT]CMT001.EXE; -
$1$MUA0:SYS3_15NOV99.BCK/SAV OVMS_KMSYS3:[COMETS54.CMT]*.*;
Notes:: Estimated restore time per tape about 3-4 hours as well unless terminate the restore process after make sure
that data needed already been restore.
CAUTION:: Make sure the backup tape is always write protected during restore process.

22
Open VMS System Mgmt. Essentials Training

23

You might also like