Presentation is loading. Please wait.

Presentation is loading. Please wait.

OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS 2002 - St Louis, MOSlide 1 Seminar 1024 OpenVMS System Management.

Similar presentations


Presentation on theme: "OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS 2002 - St Louis, MOSlide 1 Seminar 1024 OpenVMS System Management."— Presentation transcript:

1 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 1 Seminar 1024 OpenVMS System Management Techniques, Tools, and Tricks David J. Dachtera DJE Systems

2 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 2 Agenda Basic DCL Concepts Commands Command Procedures Verbs Symbols Flow Control (IF, GOTO, GOSUB, CALL) Useful Lexical Functions

3 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 3 Agenda Logical names Logical name tables Logical name table search order Modifying the search order Logical name types Single Translation Search list Rooted (Concealed) logical names Lexical Function Caveat F$TRNLNM() differs from F$LOGICAL()

4 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 4 Agenda Logical names, contd Cluster-wide logical names Caveats SYS$COMMON Notes Caveats (VMS$COMMON) Site-Specific Paths Organizing local system management code

5 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 5 Agenda Network Topics TCP/IP TCP/IP Services (fka UCX) Multinet TCPware CMU/IP (VAX only) DECnet Access control FAL logging

6 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 6 Agenda Network Topics, contd Remote procedures Types Security concerns Network Alerts OPCOM alerts for DECnet network access OPCOM alerts for FTP network access

7 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 7 Agenda System Startup STARTUP phases STARTUP parameters Site-Specific startups Logging SYSTARTUP_VMS.COM Node-specific startups Saving a crash dump at start-up time Soft-coding # of logins allowed at startup SYSMAN and STARTUP

8 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 8 Agenda System Shutdown SHUTDOWN parameters SHUTDOWN$xxxx logical names AUTOGEN Shutdowns AGEN$SHUTDOWN_TIME logical name Cluster Shutdown REMOVE_NODE Using SYSMAN

9 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 9 Agenda System/Startup File Caveats Deprecated Lexical Functions Lexical Function names misspelled AUTOGEN MODPARAMS.DAT Reports and outputs

10 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 10 Agenda OpenVMS Management Tools StorageWorks Command Console (SWCC) OpenVMS Management Station AMDS Accessibility Manager for Distributed Systems Availability Manager Like AMDS, runs on MS-Windows

11 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 11 Agenda OpenVMS Security Essentials UICs and File/Directory Protection Access Control Lists (ACLs) Access Control Entries (ACEs) Rights Identifiers and ACEs Propagating ACEs and Default Protections

12 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 12 Seminar 1024 Basic DCL Concepts

13 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 13 Basic DCL Concepts Command Elements $ verb parameter_1 parameter_2 DCL commands consist of a verb and one or more parameters.

14 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 14 DCL Command Proc.s Top level (or terminal) is DEPTH 0. Each new command procedure invoked is a new procedure DEPTH. Maximum depth is still 32.

15 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 15 DCL Command Proc.s Parameters p1 p2 p3 … p8 Notes: Only eight(8) parameters are passed from the command line, P1 through P8 Parameters with embedded spaces must be quoted strings. Parameters are separated by a space.

16 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 16 DCL Command Proc.s Parameters, contd p1 p2 p3 … p8 Notes, Contd: Reference parameters via the variable names P1 through P8. No built-in shift function. If you need it, write it as a GOSUB.

17 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 17 DCL Verbs Internal commands ASSIGN, CALL, DEFINE, GOSUB, GOTO, IF, RETURN, SET, STOP, others… External commands APPEND, BACKUP, COPY, DELETE, PRINT, RENAME, SET, SUBMIT, others...

18 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 18 DCL Verbs, Contd Foreign Commands $ symbol = value Examples: $ DIR :== DIRECTORY/SIZE=ALL/DATE $ ZIP :== $ZIP/VMS

19 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 19 Command Qualifiers $ command/qualifier $ command/qualifier=value $ command/qualifier=(value,value) $ command/qualifier=keyword=value $ command/qualifier=- (keyword=value,keyword=(value,value))

20 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 20 Non-positional Qualifiers Apply to the entire command, no matter where they appear. $ command param1/qual param2 Example: $ COPY A.DAT A.NEW/LOG $ DELETE/LOG C.TMP;

21 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 21 Positional Qualifiers Apply only to the object they qualify. $ command param1/qual=value1 - param2/qual=value2 Examples: $ PRINT/COPIES=2 RPT1.LIS,RPT2.LIS $ PRINT RPT1.LIS/COPIES=1,- RPT2.LIS/COPIES=3

22 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 22 Common Qualifiers Many commands support a set of common qualifiers: /BACKUP /BEFORE /CREATED /EXCLUDE /EXPIRED /INCLUDE /MODIFIED /OUTPUT /PAGE /SINCE See the on-line HELP for specifics.

23 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 23 DCL Statement Elements $ vbl = value DCL statements are typically assignments where a variable receives a value.

24 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 24 Assignment Statements $ vbl = F$lexical_function( params ) Examples: $ FSP = F$SEARCH(*.TXT) $ DFLT = F$ENVIRONMENT (DEFAULT) $ NODE = F$GETSYI(NODENAME)

25 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 25 Assignment Statements $ vbl = string_expression Examples: $ A = String 1 + String 2 $ B = A - String - String $ C = A Maximum string length 255 bytes (<=V7.3) 4096 bytes (>=V7.3-1)

26 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 26 Assignment Statements $ vbl = numeric_expression Examples: $ A = 1 $ B = A +1 $ C = B + A + %X7F25 $ D = %O3776

27 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 27 Assignment Statements $ vbl[start_bit,bit_count]=numeric_exp Examples: $ ESC[0,8]=%X1B $ CR[0,8]=13 $ LF[0,8]=10 $ FF[0,8]=12 $ CRLF[0,8]=13 $ CRLF[8,8]=10

28 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 28 Assignment Statements $ ESC[0,8]=%X1B $ SHOW SYMBOL ESC ESC = "." $ CR[0,8]=13 $ SHOW SYMBOL CR CR = "." $ LF[0,8]=10 $ SHOW SYMBOL LF LF = "."

29 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 29 Assignment Statements $ FF[0,8]=12 $ SHOW SYMBOL FF FF = "." $ CRLF[0,8]=13 $ SHOW SYMBOL CRLF CRLF = "." $ CRLF[8,8]=10 $ SHOW SYMBOL CRLF CRLF = ".."

30 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 30 Assignment Statements DCL provides for substring replacement. $ A := abcde $ SHOW SYMBOL A ABCDE $ A[3,2]:=XX $ SHOW SYMBOL A ABCXX

31 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 31 Assignment Statements $ vbl = boolean_expression Examples: $ MANIA = (TRUE.EQS. FALSE) $ TRUE = (1.EQ. 1) $ FALSE = (1.EQ. 0) $ YES = 1 $ NO = 0

32 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 32 Assignment Statements Local Assignment: $ vbl = value Global Assignment: $ vbl == value

33 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 33 Assignment Statements Quoted String: $ vbl = quoted string Case is preserved. Examples: $ PROMPT = Press RETURN to continue $ INVRSP = % Invalid response!

34 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 34 Assignment Statements Unquoted string: $ vbl := unquoted string Case is NOT preserved, becomes uppercase. Leading/trailing spaces are trimmed off. Examples: $ SAY := Write Sys$Output $ SYSMAN :== $SYSMAN ! Comment

35 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 35 Foreign Commands $ vbl := $filespec[ param[ param[ …]]] filespec defaults to SYS$SYSTEM:.EXE Maximum string length: 510 bytes (<=V7.3) 4096 bytes (>=V7.3-1)

36 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 36 Symbol Scope SET SYMBOL/SCOPE= NOLOCAL All outer level local symbols are invisible LOCAL Undoes NOLOCAL NOGLOBAL All outer level global symbols are invisible GLOBAL Undoes NOGLOBAL

37 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 37 Symbol Scope SET SYMBOL/GENERAL/SCOPE=xxxx Specifies that the values of the /SCOPE qualifier pertain to the translation of all symbols except the first token on a command line. /GENERAL is incompatible with /ALL or /VERB.

38 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 38 Symbol Scope SET SYMBOL/VERB/SCOPE=xxxx Specifies that the values of the /SCOPE qualifier pertain to the translation of the first token on a command line as a symbol before processing only. It does not affect general symbol substitution. /VERB is incompatible with /ALL or /GENERAL.

39 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 39 Symbol Scope SET SYMBOL/ALL/SCOPE=xxxx Specifies that the values of the /SCOPE qualifier pertain both to the translation of the first token on a command line and to general symbol substitution. /ALL is incompatible with /GENERAL or /VERB.

40 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 40 Conditional Expressions $ IF condition THEN statement Variations: $ IF condition THEN $ statement $ IF condition THEN - $ statement

41 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 41 Conditional Expressions $ IF condition $ THEN $statement(s) $ ENDIF

42 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 42 Conditional Expressions $ IF condition $ THEN $IF condition $THEN $statement(s) $ENDIF

43 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 43 Conditional Expressions $ IF condition $ THEN $IF condition $THEN $statement(s) $ENDIF $statement(s) $ ENDIF

44 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 44 Conditional Expressions $ IF condition $ THEN statement(s) $IF condition $THEN $statement(s) $ENDIF This may not work in pre-V6 VMS!

45 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 45 Conditional Expressions $ IF condition $ THEN $ statement(s) $ ELSE $statement(s) $ ENDIF

46 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 46 Labels, GOTO $ GOTO label_1. $label_1:

47 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 47 GOSUB, RETURN $ GOSUB label_1. $label_1: $ statement(s) $ RETURN

48 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 48 GOSUB, RETURN Emulate UN*X/DOS shell SHIFT: $SHIFT: $ P1 = P2 $ P2 = P3 $ P3 = P4 $ P4 = P5 $ P5 = P6 $ P6 = P7 $ P7 = P8 $ P8 = "" $ RETURN

49 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 49 SUBROUTINE - ENDSUB... $ CALL label_1[ param[ param[ …]]. $label_1: SUBROUTINE $ statement(s) $ END SUBROUTINE

50 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 50 Lexical Functions Functions built into the DCL Lexicon F$CONTEXT F$CSID F$CVSI F$CVTIME F$CVUI F$DEVICE F$DIRECTORY F$EDIT F$ELEMENT F$ENVIRONMENT F$EXTRACT F$FAO F$FILE_ATTRIBUTES F$GETDVI F$GETJPI F$GETQUI F$GETSYI F$IDENTIFIER F$INTEGER F$LENGTH F$LOCATE F$MESSAGE F$MODE F$PARSE F$PID F$PRIVILEGE F$PROCESS F$SEARCH F$SETPRV F$STRING F$TIME F$TRNLNM F$TYPE F$USER F$VERIFY

51 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 51 Common Lexical Functions $ vbl = F$CVTIME(string[, keyword[, keyword]]) string = Absolute time expression keyword = (1st instance) is one of ABSOLUTE, COMPARISION, DELTA keyword = (2nd instance) is one of DATE, DATETIME, DAY, MONTH, YEAR, HOUR, MINUTE, SECOND, HUNDREDTH, WEEKDAY

52 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 52 Common Lexical Functions F$CVTIME(), Continued… Defaults: $ vbl = F$CVTIME(string, - COMPARISON, - DATETIME ) Pre-defined date strings: TODAY, YESTERDAY, TOMORROW, BOOT

53 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 53 Common Lexical Functions F$CVTIME(), Continued… Date Formats: Comparison YYYY-MM-DD HH:MM:SS.CC Absolute DD-MMM-YYYY HH:MM:SS.CC Delta +/-DDDDD HH:MM:SS.CC

54 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 54 Common Lexical Functions $ vbl = F$GETDVI( dev_name, keyword ) dev_name is a valid device name keyword is a quoted string Examples: $ FBLK = F$GETDVI( DUA0,FREEBLOCKS) $ MNTD = F$GETDVI( DKA500,MNT) $ DVNM := DUA0: $ VLNM := VOLNAM $ VNAM = F$GETDVI( DVNM, VLNM )

55 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 55 Common Lexical Functions $ vbl = F$QETQUI( - function,- item,- value,- keyword(s)) See the on-line help for descriptions.

56 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 56 Common Lexical Functions $ VBL = F$GETJPI( pid, keyword ) Examples: $ USN = F$GETJPI( 0, USERNAME ) $ MOD = F$GETJPI( 0, MODE )

57 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 57 Common Lexical Functions $ vbl = F$GETSYI( item[, node[, csid]] ) Examples: $ NODE = F$GETSYI( NODENAME ) $ FGP = F$GETSYI( FREE_GBLPAGES ) $ FGS = F$GETSYI( FREE_GBLSECTS )

58 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 58 Common Lexical Functions $ vbl = F$ELEMENT( idx, delim, string ) Find the nth (delim) delimited element of a string. Examples: $ A = F$ELEM( 2,,, A,B,C,D,E,F ) $ B = F$ELEM( 1,, Turn it off )

59 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 59 Seminar 1024 OpenVMS Logical Names

60 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 60 Logical Names A form of symbol with limited or system-wide scope. $ show logical sys$sysroot "SYS$SYSROOT" = "DJAS01$DKA300:[SYS0.]" (LNM$SYSTEM_TABLE) = "SYS$COMMON:" 1 "SYS$COMMON" = "DJAS01$DKA300:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE)

61 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 61 Logical Name Tables LNM$SYSTEM_DIRECTORY LNM$JOB_xxxxxxxx LNM$GROUP_xxxxxx LNM$SYSTEM_TABLE DECW$LOGICAL_NAMES LNM$PROCESS_DIRECTORY

62 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 62 Logical Name Tables Search Order: $ sh log/tab=* lnm$file_dev "LNM$FILE_DEV" = "LNM$PROCESS" (LNM$SYSTEM_DIRECTORY) = "LNM$JOB" = "LNM$GROUP" = "LNM$SYSTEM" = "DECW$LOGICAL_NAMES"

63 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 63 Logical Name Tables Modifying the search order: $ DEFINE/TABLE=LNM$PROCESS_DIRECTORY - LNM$FILE_DEV LNM$PROCESS,LNM_PRIVATE,- LNM$GROUP,LNM$SYSTEM,- DECW$LOGICAL_NAMES l Defines a new search list in supervisor mode. »Some software will only use trusted logical names in certain directories or those DEFINEd in an inner (more privileged) mode.

64 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 64 Logical Names Single translation $ DEFINE lnm value Search List $ DEFINE lnm value,value[,…] Concealed Logical Names $ DEFINE lnm value/TRANS=CONCEAL Rooted Logical Names $ DEFINE lnm ddcu:[dir.]/TRANS=CONCEAL

65 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 65 Logical Names Creating $ DEFINE lnm value $ ASSIGN value lnm Deleting $ DEASSIGN lnm

66 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 66 Logical Names Access Modes UserDEFINE/USER SupervisorDEFINE (/SUPER is default) ExecutiveDEFINE/EXECUTIVE, requires CMEXEC privilege. KernelCan only be created by using the $CRELNM system service, requires CMKRNL privilege. Executive and Kernel mode logical names are trusted since privilege is required to create them.

67 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 67 Logical Names Single Translation $ DEFINE lnm value Examples: "LNM$PROCESS" = "LNM$PROCESS_TABLE" (LNM$PROCESS_DIRECTORY) "LNM$JOB" = "LNM$JOB_80D27B00" (LNM$PROCESS_DIRECTORY) "LNM$GROUP" = "LNM$GROUP_000030" (LNM$PROCESS_DIRECTORY) "LNM$SYSTEM" = "LNM$SYSTEM_TABLE" (LNM$SYSTEM_DIRECTORY) SYS$LOGIN" = "DKA0:[DDACHTERA]" (LNM$JOB_80D27B00)

68 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 68 Logical Names Search Lists $ DEFINE lnm value,value[,…] Examples: $ sh log sys$sysroot "SYS$SYSROOT" = "DJAS01$DKA300:[SYS0.]" (LNM$SYSTEM_TABLE) = "SYS$COMMON:" 1 "SYS$COMMON" = "DJAS01$DKA300:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE) $ sh log user_exe! Presenters environment, not provided by VMS. "USER_EXE" = "USER_IMG:" (LNM$JOB_80D27B00) = "USER_COM:" = "SYS$SPECIFIC:[SYSEXE]" = "SYS$COMMON:[SYSEXE]" 1 "USER_IMG" = "USER_ROOT:[EXE.ALPHA]" (LNM$JOB_80D27B00) 1 "USER_COM" = "USER_ROOT:[EXE]" (LNM$JOB_80D27B00)

69 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 69 Logical Names Concealed Logical Names $ DEFINE lnm value/TRANS=CONCEAL Example: $ sh log sys$sysdevice "SYS$SYSDEVICE" = "DJAS01$DKA300:" (LNM$SYSTEM_TABLE) $ sh log sys$sysdevice/full "SYS$SYSDEVICE" [exec] = "DJAS01$DKA300:" [concealed,terminal] (LNM$SYSTEM_TABLE)

70 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 70 Logical Names Rooted Logical Names $ DEFINE lnm ddcu:[dir.]/TRANS=CONCEAL Examples: $ show logical sys$specific,sys$common,user_root "SYS$SPECIFIC" = "DJAS01$DKA300:[SYS0.]" (LNM$SYSTEM_TABLE) "SYS$COMMON" = "DJAS01$DKA300:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE) "USER_ROOT" = "DKA0:[DDACHTERA.]" (LNM$JOB_80D27B00)

71 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 71 Logical Names Using rooted logical names Examples: $ show logical sys$sysroot,user_root,user_com,user_img "SYS$SYSROOT" = "DJAS01$DKA300:[SYS0.]" (LNM$SYSTEM_TABLE) = "SYS$COMMON:" 1 "SYS$COMMON" = "DJAS01$DKA300:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE) "USER_ROOT" = "DKA0:[DDACHTERA.]" (LNM$JOB_80D27B00) "USER_COM" = "USER_ROOT:[EXE]" (LNM$JOB_80D27B00) "USER_IMG" = "USER_ROOT:[EXE.ALPHA]" (LNM$JOB_80D27B00)

72 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 72 Logical Names & Lexicals Beware: F$LOGICAL() (deprecated) differs from F$TRNLNM(). F$LOGICAL() uses hard-coded search list internally: Process, Job, Group, System. F$TRNLNM() uses LNM$FILE_DEV

73 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 73 Cluster-Wide Logical Names l New in V7.2. l Defined in table LNM$SYSCLUSTER l LNM$SYSTEM is now a search list: $ show log/tab=* lnm$system "LNM$SYSTEM" = "LNM$SYSTEM_TABLE" (LNM$SYSTEM_DIRECTORY) = "LNM$SYSCLUSTER" 1 "LNM$SYSCLUSTER" = "LNM$SYSCLUSTER_TABLE" (LNM$SYSTEM_DIRECTORY)

74 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 74 Cluster-Wide Logical Names Caveat: l There is no /CLUSTER qualifier for DEFINE, ASSIGN or DEASSIGN. Use /TABLE= LNM$SYSCLUSTER

75 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 75 Logical Names Notes: VMS$COMMON usually not found in system logical names. It IS possible to have a system with a missing or corrupted VMS$COMMON. OpenVMS upgrades will fail. Difficult to recover. Running in this condition is not supported.

76 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 76 Logical Names Leave OpenVMS-provided logical names alone. ReDEFINE-ing things like SYS$SYSROOT can jeopardize support position or system certification (Healthcare, etc.) If any of these are reDEFINEd, do it at the /PROCESS level, not system-wide and make sure to leave the system account pristine.

77 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 77 Logical Names Leave OpenVMS-provided logical names alone. Probably okay to do this in a privileged account other than SYSTEM. If these are needed at SYSTARTUP_VMS time, invoke a proc. to do the DEFINEs, then invoke the proc.s that need the local logical names, then clean up using DEASSIGN/PROCESS.

78 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 78 Logical Names It is possible to organize your site- specific procedures and keep them separated from the OpenVMS files without reDEFINE-ing any logical names provided by OpenVMS.

79 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 79 Logical Names OpenVMS Logical Names: Usually contain a $ (dollar sign). User (Site-Specific) Logical Names Avoid $ – use underscore: SYS_MANAGER SYS_BACKUP SYS_OPERATOR SYS_HELP SYS_ROOT

80 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 80 Logical Names $ sho log sys_* (LNM$PROCESS_TABLE) (LNM$JOB_80D128C0) (LNM$GROUP_000030) (LNM$SYSTEM_TABLE) "SYS_BACKUP" = "SYS_ROOT:[BACKUP]" "SYS_HELP" = SYS_ROOT:[SYSHLP]" "SYS_MANAGER" = "SYS_ROOT:[SYSMGR]" "SYS_OPERATOR" = "SYS_ROOT:[OPERATOR] SYS_ROOT = SYS$SYSDEVICE:[XYZCORP.] = SYS$SYSROOT:

81 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 81 Logical Names Site-specific logical names for system management can be organized in their own logical name tables. User Logical name table can be added to LNM$FILE_DEV, but dont do that system- wide – DEFINE things /PROCESS. See the earlier example of how to modify the LNM$FILE_DEV search list for a process. /PROCESS is the default for DEFINE and ASSIGN if not specified.

82 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 82 Logical Names None of us is immortal. Remember to document your customizations THOROUGHLY! If you get hit by a bus today, will someone else be able to come in and understand what youve done?

83 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 83 Seminar 1024 OpenVMS Networking

84 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 84 Networking Network stacks for OpenVMS: l TCP/IP l DECnet »Phase IV »Phase V (DECnet/OSI) Utilities: LANCP (works without DECnet) SET HOST/MOP (Phase V - NET$CCR)

85 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 85 Networking - TCP/IP TCP/IP Services for OpenVMS Formerly known as UCX (Ultrix Connection) Developed, sold and supported by HP, shares code base with Tru64 TCP/IP Management interface somewhat weak. Some features (like adding secondary name server) require editing config. files manually. Access to non-volatile Database inconsistent: sometimes SET CONFIG, sometimes SET/PERMANENT.

86 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 86 Networking TCP/IP TCPware Native to and developed on OpenVMS (originally on VAX/VMS, ported to Alpha). Developed, sold and supported by Process Software, Inc. Proprietary Management Interface, now similar to Multinet in some ways. Slightly more functionality than (UCX), performs better than Multinet and *UCX).

87 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 87 Networking - TCP/IP Multinet Developed from BSD V4.3 code by TGV, Inc. on VAX/VMS, ported to Alpha.Now developed, sold and supported by Process Software, Inc. Proprietary Management Interface. Functionality similar to TCPware. Performance is somewhat better than (UCX), less than TCPware.

88 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 88 Networking - TCP/IP Authors opinion re: Marvel: TCP/IP Services for OpenVMS will probably be Marvel-ready sooner than Process Softwares products; however, TCPware and Multinet provide more robust functionality - should be worth waiting for on Marvel. (SMP considerations)

89 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 89 Networking - TCP/IP CMU/IP Freeware, a bit old. Originally developed by TEK, released to Carnegie Mellon Univ. C.S. department - became freeware. VAX only - no known Alpha port. TCP/IP-V4 only.

90 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 90 Networking - DECnet Developed by Digital for PDP-11, migrated to VAX and ported to Alpha. Phase-IV is in use widely. Phase V used where it is needed. Also known as DECnet-Plus or DECnet/OSI.

91 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 91 Networking - DECnet DECnet Phase IV is very SysAdmin friendly, but takes some getting used to. Set it and forget it - easily configured, does not issue a lot of OPCOM messages unless there is trouble on the line(s). Specification was published, no longer publicly available on the web.

92 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 92 Networking - DECnet DECnet Phase IV Permanent database DEFINE commands in NCP Volatile database SET commands in NCP

93 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 93 Networking - DECnet DECnet Phase IV Provides MOP Remote Console CONNECT command in NCP Provides MOP downline load, upline dump LOAD and TRIGGER commands in NCP Provides for remote management of other nodes. SET EXECUTOR NODE command in NCP, requires privilege and remote password.

94 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 94 Networking - DECnet DECnet Phase V (DECnet-Plus) More complicated to manage - management paradigm follows the OSI seven-layer model. Circuits are built from the bottom up, following the OSI seven-layer model. Management is performed using NCL (Network Control Language). Non-volatile database is.NCL files - no permanent database.

95 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 95 Networking - DECnet DECnet Phase V (DECnet-Plus) OPCOM messages are more plentiful and more verbose than Phase IV. Allows for diagnosis of trouble in each layer. Provides some features not available in Phase IV. Complete specification is not published.

96 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 96 Networking - DECnet Access Control »Set up proxy records in SYS$SYSTEM:NET$PROXY.DAT using the AUTHORIZE program. »Enable proxy access in NCP (Phase-IV): incoming, outgoing. –Incoming proxy access, if disabled, defaults to the access control info of the target object instead of the source node/user.

97 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 97 Networking - DECnet Access Control »Create the proxy database if it doesnt already exist. Use AUTHORIZE, CREATE/PROXY »Set up proxy records in Authorize. »Enable proxy access in NCL (Phase-V): See the SET SESSION CONTROL statements.

98 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 98 Networking - DECnet FAL Logging l Two Logical Names: »FAL$LOG »FAL$OUTPUT

99 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 99 Networking - DECnet FAL Logging l FAL$LOG In SYLOGIN or the DECnet object file: $ DEFINE FAL$LOG 1/disable=8 This is an unsupported feature 1: file name and file type access information disable=8 disables Poor Mans Routing: dir node1::node2::node3::

100 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 100 Networking - DECnet FAL Logging l FAL$LOG, contd Produces copious output - use with discretion. l FAL$OUTPUT Can be used to specify the name of the log file to create in place of SYS$OUTPUT $ DEFINE FAL$OUTPUT FAL.LOG

101 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 101 Networking - LAT LAT - Local Area Transport l Robust, Efficient »Can package data for multiple sessions at the same MAC address into common packets. l Not routable »No routable info in the network layer l DEC-proprietary (licensed) »Specification published under license

102 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 102 Networking - LAT LAT Control Program (LATCP) l Managememt interface for LAT l Controls services broadcast by an OpenVMS node l Used to create, manage and delete LTA devices on OpenVMS nodes.

103 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 103 Networking MOP Maintenance Operation Protocol l Not routable »No routable info in the network layer l DEC-proprietary (licensed) »Specification published under license l Remote Console facility l Downline load, upline dump.

104 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 104 Networking MOP Maintenance Operation Protocol l User interfaces - Remote Console: »NCP (DECnet Phase IV) CONNECT NODE CONNECT VIA circuit_id PHYS ADDR mac_addr »LANCP CONNECT NODE name/DEVICE=enet_dev: »SET HOST/MOP (DECnet Phase V) SET HOST/MOP node_name SET HOST/MOP/ADDR=mac_addr/CIRC=xxxx

105 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 105 Networking MOP Maintenance Operation Protocol l User interfaces - Downline Load, Upline dump: »NCP (DECnet Phase IV) DEFINE/SET NODE name - ADDRESS xx-xx-xx-xx-xx-xx - SERVICE CIRCUIT xxx-n - LOAD FILE filespec - SECONDARY LOADER filespec - DUMP FILE filespec

106 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 106 Networking MOP Maintenance Operation Protocol l User interfaces - Downline Load: »LANCP DEFINE NODE name - /ADDRESS=xx-xx-xx-xx-xx-xx- /FILE=filespec –Mostly for use in booting LAVc nodes –LANCP does not provide for upline dump

107 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 107 Networking - Remote Access Types of remote Access: l DECnet »SET HOST (CTERM) »Remote File Access »NML (NCP SET EXECUTOR NODE) l LAT »Connect (from terminal server or PC w/LAT) »SET HOST/LAT

108 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 108 Networking - Remote Access Types of remote Access, contd: l TCP/IP: »TELNET »Rshell »Rlogin

109 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 109 Networking - Remote Proc.s Types of Remote Procedures: l DECnet »DECnet objects »SUBMIT/REMOTE, PRINT/REMOTE l TCP/IP »RPC (Remote Procedure Call) »Secure Socket Layer (SSL)

110 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 110 Networking - Remote Proc.s Security Concerns l DECnet objects like TASK l Unsecured accounts by any access method. (This is not a security presentation.)

111 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 111 Network Alerts OPCOM Alerts for network access l SET AUDIT/ENABLE=CONNECTION »DECnet (Phase IV) »$IPC »SYSMAN l SET AUDIT/ENABLE=LOGIN= »ALL, BATCH, DETACHED, DIALUP, LOCAL, NETWORK, REMOTE, SUBPROCESS

112 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 112 Network Alerts Additional OPCOM Alerts for FTP l Add commands to the DCL proc. associated with the FTP service. »Example: MULTINET:FTP_SERVER.COM l Can be as general or specific needed. l See the documentation and example code for your TCP/IP stack.

113 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 113 Seminar 1024 System Startup Procedure

114 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 114 System Startup Default /STARTUP procedure: l SYS$SYSTEM:STARTUP.COM l Set using SYSBOOT, SYSGEN or SYSMAN.

115 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 115 System Startup STARTUP Phases: l In SYS$STARTUP:VMS$VMS.DAT »RMS Indexed file »Changes to this area of the startup are *NOT* supported by HP.

116 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 116 System Startup STARTUP Phases: $ TY SYS$STARTUP:VMS$VMS.DAT BASEENVIRON DVMS$BASEENVIRON-050_VMS.COM E*BASEENVIRON DVMS$BASEENVIRON-050_SMISERVER.COM E*BASEENVIRON DVMS$BASEENVIRON-050_LIB.COM E*BASEENVIRON DDECDTM$STARTUP.COM E*BASEENVIRON DLICENSE_CHECK.EXE E*CONFIG DVMS$CONFIG-050_VMS.COM E*CONFIG DVMS$CONFIG-050_ERRFMT.COM E*CONFIG DVMS$CONFIG-050_CACHE_SERVER.COM E*CONFIG DVMS$CONFIG-050_CSP.COM E*CONFIG DVMS$CONFIG-050_OPCOM.COM E*CONFIG DVMS$CONFIG-050_AUDIT_SERVER.COM E*CONFIG DVMS$CONFIG-050_JOBCTL.COM E*CONFIG DVMS$CONFIG-050_LMF.COM E*CONFIG DVMS$CONFIG-050_SHADOW_SERVER.COM E*CONFIG DVMS$CONFIG-050_SECURITY_SERVER.COM E*DEVICES DVMS$DEVICE_STARTUP.COM E*INITIAL DVMS$INITIAL-050_VMS.COM E*INITIAL DVMS$INITIAL-050_LIB.COM E*INITIAL CVMS$INITIAL-050_CONFIGURE.COM E*LPBEGIN DVMS$LPBEGIN-050_STARTUP.COM E*PRECONFIG DIPC$STARTUP.COM E*PRECONFIG DVMS$SPIRALOG_STARTUP.COM E*

117 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 117 System Startup Phases, Files INITIAL DEVICES SYCONFIG SYLOGICALS SYPAGSWPFILES PRECONFIG CONFIG SYSECURITY BASEENVIRON LPBEGIN SYSTARTUP_VMS LPMAIN LPBETA END

118 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 118 System Startup Phases, Files INITIAL DEVICES SYCONFIGThese files are always SYLOGICALSexecuted, even during a SYPAGSWPFILESMIN-imum boot. PRECONFIG CONFIG SYSECURITY BASEENVIRON LPBEGIN SYSTARTUP_VMS LPMAIN LPBETA END

119 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 119 System Startup Site-Specific STARTUPs: l SYSTARTUP_VMS.COM in SYS$MANAGER path. l SYSTARTUP_V5.COM in V5.x l SYSTARTUP.COM in V4 and earlier.

120 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 120 System Startup STARTUP Parameters: l STARTUP_P1 »blank - Normal System Startup »MIN - Minimal Startup –No SYSTARTUP_VMS but –Most of the other SY*.COM proc.s will still be run.

121 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 121 System Startup STARTUP Parameters: l STARTUP_P2 »blank - Normal System Startup »1, YES or TRUE - Verify on l STARTUP_P3 thru _P8 »Reserved for future use

122 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 122 System Startup SYSTARTUP_VMS : l Author prefers to keep procedure modular for easier maintenance, invoke modules from SYSTARTUP_VMS: $ SET NOON.

123 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 123 System Startup SYSTARTUP_VMS : l Author prefers to keep procedure modular for easier maintenance, invoke node-specific proc.s from SYSTARTUP_VMS: $ FSP = F$SEARCH( - SYS$MANAGER:SYSTARTUP.COM ) $ IF FSP.NES. »Avoids redundant, cut-and-paste code.

124 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 124 System Startup SYSTARTUP_VMS : l Logging SYSTARTUP_VMS: $ SET NOON $ DEFINE SYS$OUTPUT - SYS$MANAGER:SYSTARTUP_VMS.LOG. $ DEASSIGN SYS$OUTPUT

125 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 125 System Startup Saving/reporting a crash dump at System Startup time: $ ANALYZE/CRASH_DUMP SYS$SYSTEM:SYSDUMP.DMP COPY ddcu: :SAVEDUMP.DMP! copy to wherever is convenient. SET OUTPUT SYS$MANAGER:SYSDUMP.LIS! Set this as you like READ/EXEC ! READ SYS$SYSTEM:SYSDEF! For VAX READ SYS$LOADABLE_IMAGES:SYSDEF! For Alpha SHOW CRASH SHOW STACK /ALL SHOW SUMMARY SHOW PROCESS /PCB /PHD /REGISTERS SHOW SYMBOL /ALL EXIT

126 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 126 System Startup DEFINE-ing Group Logicals at Startup: »SET up a DCL procedure to DEFINE (or assign) the needed logicals using /GROUP and whatever access mode is appropriate. »Invoke that procedure as a detached process at system startup time.

127 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 127 System Startup DEFINE-ing Group Logicals at Startup: Example: $ RUN SYS$SYSTEM:LOGINOUT.EXE- /UIC=[300,1]- /INPUT=GROUP_300_LOGICALS.COM- /OUTPUT=GROUP_300_LOGICALS.LOG The UIC specified does not need to exist in the UAF.

128 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 128 System Startup DEFINE-ing Group Logicals at Startup: Alternate Example: $ RUN SYS$SYSTEM:LOGINOUT.EXE- /UIC=[300,1]/INPUT=NLA0:/OUTPUT=NLA0: »The UIC specified does not need to exist in the UAF. »The example creates the LNM$GROUP_ table. »Logical names can then be created in that table by any suitably privileged process.

129 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 129 System Startup Setting logins at Startup: l Global DCL symbol (STARTUP process) is set up during SYS$STARTUP:VMS$BASEENVIRON- 050_VMS.COM: $startup$interactive_logins == 64

130 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 130 System Startup Setting logins at Startup, contd: l Global DCL symbol (STARTUP process) is used in SYS$STARTUP:VMS$LPBEGIN- 050_STARTUP.COM: $set logins/interactive='startup$interactive_logins

131 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 131 System Startup Setting logins at Startup, contd: l Change the value of startup$interactive_logins during SYSTARTUP_VMS: $ startup$interactive_logins == - F$GETSYI( IJOBLIM )

132 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 132 System Startup Setting logins at Startup, contd: $ startup$interactive_logins == - F$GETSYI( IJOBLIM ) Notes: l Set the desired value for IJOBLIM in MODPARAMS and run AUTOGEN, or change the CURRENT value using SYSMAN or SYSGEN. Change takes effect on next boot.

133 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 133 System Startup Setting logins at Startup, contd: $ startup$interactive_logins == - F$GETSYI( IJOBLIM ) Notes, contd: l IJOBLIM is a dynamic parameter. The SET LOGINS/INTERACTIVE command displays or varies its value. See the HELP.

134 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 134 System Startup Setting logins at Startup, contd: SET LOGINS/INTERACTIVE caveat: l Largely undocumented, little known fact: until this command is issued for the first time after a reboot, the job controller will not create interactive processes. l If used in SYSTARTUP_VMS, it may enable logins before the system is ready for users to log in.

135 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 135 System Startup Setting logins at Startup, contd: SET LOGINS/INTERACTIVE caveat: l DO NOT USE THIS COMMAND IN SYSTARTUP_VMS!!! l …or any proc. that it invokes!!! l Use the global DCL symbol instead (STARTUP$INTERACTIVE_LOGINS).

136 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 136 System Startup - VMS Files l Must never be changed unless software documentation or VMS support instructs you to do so. l May be replaced when VMS or layered products are upgraded. l May use deprecated lexical functions (like F$LOGICAL()), or may contain misspelled function names (like F$GETSYS(), DCL sees only F$GETS).

137 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 137 System Startup - VMS Files l Site-specific startups are usually found in the SYS$MANAGER path.

138 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 138 Seminar 1024 SYSMAN and STARTUP

139 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 139 SYSMAN & STARTUP SYSMAN can be used to modify the user portion of the startup database. »Two database files used by SYSMAN: STARTUP$STARTUP_VMS Used for the VMS startup DO NOT MODIFY !!! STARTUP$STARTUP_LAYERED When you add an item using SYSMAN it goes here.

140 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 140 SYSMAN & STARTUP SYSMAN can be used to modify the user portion of the startup database. »Not as flexible the traditional method using SYSTARTUP_VMS. »Not as widely used. Incoming SysAdmins may be unware of previous modifications to the startup database using SYSMAN. »Allows for specifying that some startup procedures run in BATCH, in-line (DIRECT) or in sub-processes (SPAWN).

141 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 141 SYSMAN & STARTUP »Allows for entering startup items that run after SYSTARTUP_VMS. –SYSTARTUP_VMS is invoked during the LPBEGIN phase. –Valid phases for SYSMAN STARTUP entries are LPBEGIN, LPMAIN, LPBETA and END. –Premature logins are possible if SYSTARTUP_VMS enables logins before startups in later phases (LPMAIN, LPBETA or END) have run.

142 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 142 Seminar 1024 Conversational Boot, Minimum Startup

143 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 143 Conversational Boot Most Current Alphas, VAX 7000: >>> boot –fl x,1 VAX 6000 >>> BOOT boot_profile/R5=1 >>> BOOT boot_profile/R5=x Older small VAXes >>> B/R5:1 or B/R5:x VAX 8000s See the manual

144 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 144 Minimum Boot >>> b –fl 10,1 SYSBOOT> SET STARTUP_P1 MIN SYSBOOT> CONTINUE Use SET WRITESYSPARAMS 0 before CONTINUE for a one-time minimum boot.

145 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 145 Seminar 1024 System Shutdown Procedure

146 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 146 System Shutdown »Prompts interactively for parameters »Parameters can also be specified on the command line that invokes the procedure. –See the SHUTDOWN and REBOOT symbols in SYS$MANAGER:LOGIN.TEMPLATE

147 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 147 System Shutdown SYS$SYSTEM:SHUTDOWN.COM Parameters: P1 = Minutes to final shutdown P2 = Reason for Shutdown P3 = Spin down disk volumes? (Y/N) P4 = Invoke SYSHUTDWN.COM? (Y/N) P5 = When will system be rebooted? P6 = Should auto. reboot be performed? (Y/N) P7 = Options (SAVE_FEEDBACK, etc.) –P5 and P6 are reverse order to the prompts.

148 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 148 Site-Specific Shutdown Proc. SYSHUTDWN.COM Found in the SYS$MANAGER path.

149 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 149 System Shutdown SYS$SYSTEM:SHUTDOWN.COM Logical Names SHUTDOWN$MINIMUM_MINUTES Default value for minutes to final shutdown. AGEN$SHUTDOWN_TIME Used by AUTOGEN as minutes to final SHUTDOWN or REBOOT.

150 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 150 Shutdown Options REBOOT_CHECK SAVE_FEEDBACK DISABLE_AUTOSTART POWER_OFF

151 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 151 Shutdown Options REBOOT_CHECK l Performs a basic check for the existence of files needed to reboot the system. l Not comprehensive - cannot detect a damaged boot block, corrupted bootstrap image, etc.

152 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 152 Shutdown Options SAVE_FEEDBACK l Saves some vital statistics about the system that can be used by AUTOGEN after the system comes back up. l Same as the SAVPARAMS phase of AUTOGEN.

153 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 153 Shutdown Options DISABLE_AUTOSTART l Use this if needed to prevent AUTOSTART queues on this node from being restarted once SHUTDOWN has STOPped them.

154 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 154 Shutdown Options POWER_OFF l If the system console supports it, request that the machine power itself down once VMS has been SHUTDOWN.

155 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 155 Shutdown Options - Clusters l REMOVE_NODE for all but the last node. »Node exits the cluster gracefully. l CLUSTER_SHUTDOWN for the last cluster node to be shutdown. »If used on all nodes, each node waits for other nodes to reach the point of exiting the cluster, then proceeds to shutdown (dissolves the cluster).

156 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 156 Every Shutdown l Author recommends you always specify option REBOOT_CHECK for all nodes. l Has been helpful in preventing some nasty surprises.

157 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 157 Seminar 1024 AUTOGEN

158 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 158 AUTOGEN SYS$UPDATE:AUTOGEN.COM l DCL procedure supplied by OpenVMS as an aid in tuning the OpenVMS system. l Not a replacement for diligent system management.

159 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 159 AUTOGEN l Applies changes to the default system parameters as specified in the file SYS$SYSTEM:MODPARAMS.DAT l Is invoked during installs and upgrades, sometimes more than once. l Can be used to help size the swap and page files.

160 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 160 AUTOGEN - MODPARAMS SYS$SYSTEM:MODPARAMS.DAT l This is where changes to the default values are made so they persist from one AUTOGEN to the next. l Entries look like this: parameter_name = needed_value MIN_parameter_name = needed_value MAX_parameter_name = needed_value ADD_ parameter_name = needed_value

161 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 161 AUTOGEN - MODPARAMS parameter_name = needed_value l Provides a hard-coded value for the parameter. SCSNODE = ALPHAONE GBLPAGES = l AUTOGEN calculations do not over-ride hard-coded values.

162 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 162 AUTOGEN - MODPARAMS MIN_parameter_name = minimum_value l Provides a minimum value for the parameter. MIN_GBLPAGES = l AUTOGEN may calculate and use a higher value, but will always use the MIN_ if it calculates a lower value.

163 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 163 AUTOGEN - MODPARAMS MAX_parameter_name = maximum_value l Provides a maximum value for the parameter. MAX_GBLPAGES = l AUTOGEN may calculate and use a lower value, but will always use the MAX_ if it calculates a higher value.

164 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 164 AUTOGEN - MODPARAMS ADD_parameter_name = addtl_value l Provides an addition to the default value for the parameter. ADD_GBLPAGES = l AUTOGEN can use feedback to calculate a new value, then adds the specified value to the calculated value.

165 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 165 AUTOGEN - Phases SAVPARAMS- Collects Feedback GETDATA- Collects all other data GENPARAMS- Generates new parameters TESTFILES- Calculates new sys file sizes GENFILES- Generates new system files SETPARAMS- Creates new boot param.s SHUTDOWN- Shutdown the system REBOOT- Reboot the system HELP- Displays AUTOGEN info

166 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 166 AUTOGEN - Phases SAVPARAMS Saves dynamic feedback from the running system. Same as SAVE_FEEBACK option of SHUTDOWN.

167 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 167 AUTOGEN - Phases GETDATA Collects all data to be used in AUTOGEN calculations. Includes existing feedback data if it is not over 30 days old. Includes MODPARAMS info.

168 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 168 AUTOGEN - Phases GENPARAMS Performs calculations and generates the new system parameters (but does not yet set them into the Current parameters). Creates the new list of installed images based on the state of the currently running system.

169 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 169 AUTOGEN - Phases TESTFILES Calculates new page and swap file sizes, but does not apply any changes.

170 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 170 AUTOGEN - Phases GENFILES Generates new swap and page files based on AUTOGEN calculations. Use entries in MODPARAMS to override: DUMPFILE=0 SWAPFILE=0 PAGEFILE=0

171 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 171 AUTOGEN - Phases SETPARAMS Creates the new boot-time (current) parameters. Changes take effect on the next boot.

172 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 172 AUTOGEN - Phases SHUTDOWN Shutdown the system and leave it ready for a manual boot or other console-level operations.

173 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 173 AUTOGEN - Phases REBOOT Reboot the system using the newly generated parameters and/or system files.

174 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 174 AUTOGEN - Phases HELP Display HELP information for how to use AUTOGEN. Useful to output this to a file: /OUTPUT=AGEN_HELP.LIS HELP

175 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 175 AUTOGEN - Phases Typical uses: See if current MODPARAMS settings are suitable: - SAVPARAMS TESTFILES Generate new system parameters for next boot: - SAVPARAMS SETPARAMS AUTOGEN using previously saved feedback: - GENPARAMS SETPARAMS

176 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 176 AUTOGEN - Phases Typical uses: AUTOGEN ignoring feedback: - GENPARAMS SETPARAMS NOFEEDBACK AUTOGEN using previously saved feedback, if it is valid: - GENPARAMS SETPARAMS - CHECK_FEEDBACK

177 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 177 AUTOGEN - Report SYS$SYSTEM:AGEN$PARAMS.REPORT l Generated on each run of AUTOGEN during the GENPARAMS phase. l Indicates any MODPARAMS errors detected by AUTOGEN. l Indicates the results of AUTOGEN calculations and resulting changes to system parameters.

178 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 178 AUTOGEN - Logging AUTOGEN issues useful information on SYS$OUTPUT, also. Some SysAdmins find this useful: - start_phase end_phase

179 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 179 Seminar 1024 Useful Tips and Tricks

180 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 180 Useful Tips and Tricks An uptime command: $ SHOW SYSTEM/NOPROCESS $ UPT*TIME :== SHOW SYSTEM/NOPROCESS

181 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 181 Useful Tips and Tricks An simple command to show usage: $ SHL :== - PIPE SHOW USERS/FULL | - (READ SYS$PIPE P9 ; - WRITE SYS$OUTPUT P9 ; - READ SYS$PIPE P9 ; - WRITE SYS$OUTPUT P9 ; - SET LOGINS)

182 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 182 Seminar 1024 OpenVMS System Management Tools

183 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 183 System Management Tools Supplied as no-charge additional software, licensed with OpenVMS. l StorageWorks Command Console (SWCC) l OpenVMS Management Station (TNT or Argus) l Accessibility Manager for Distributed Systems (AMDS), Availability Manager

184 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 184 Seminar 1024 StorageWorks Command Console

185 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 185 StorageWorks Cmd Console l Provides MS/Win GUI for management of StorageWorks storage array controllers. »HSJ (CI) »HSZ (SCSI) »HSG (FC-SF) l Uses TCP/IP to communicate with server agent on OpenVMS. l Behaves like other Explorer software.

186 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 186 StorageWorks Cmd Console Limitations: l PCs IP address must back-translate »DHCP is o.k. so long as DNS is updated when address lease is obtained / renewed. l Does not work over WAN unless PCs DNS name is visible outside of firewall and firewall allows the TCP ports. l OpenVMS server agent will only run on one node of a cluster.

187 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 187 StorageWorks Cmd Console Limitations, contd: l Unit names and storage-set names are assigned randomly and arbitrarily. »Some names can be changed manually using the CLI. l Can hold onto the virtual console so that other access means are denied: »SET HOST/DUP, SET HOST/SCSI

188 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 188 StorageWorks Cmd Console Limitations, contd: l Disks falling into the Failed Set are detected and reported as warnings; however, CLI messages are not passed through to the GUI - you must still connect to the CLI to get them. »Other controller restarted »Cache battery alerts

189 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 189 StorageWorks Cmd Console Limitations, contd: l No provisions for running HSx utilities and diagnostics. l No performance data available via the GUI - use the CLI to run VTDPY.

190 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 190 StorageWorks Cmd Console Management Considerations l PCs must be authorized to access OpenVMS server agent. Use the SWCC configuration utility supplied with the OpenVMS-side software. l Controllers and/or controller pairs must be set up using the SWCC configuration utility supplied with the OpenVMS-side software.

191 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 191 StorageWorks Cmd Console Management Considerations l HSZ and HSG controller pairs present only a single virtual device for remote access - cannot connect to an individual controller by name using the CLI window. l You will still need to access the physical console terminal port from time to time, as when a controller fails out of the pair.

192 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 192 StorageWorks Cmd Console

193 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 193 StorageWorks Cmd Console

194 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 194 StorageWorks Cmd Console

195 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 195 StorageWorks Cmd Console

196 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 196 StorageWorks Cmd Console

197 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 197 StorageWorks Cmd Console

198 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 198 StorageWorks Cmd Console

199 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 199 StorageWorks Cmd Console

200 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 200 StorageWorks Cmd Console

201 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 201 StorageWorks Cmd Console

202 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 202 StorageWorks Cmd Console

203 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 203 StorageWorks Cmd Console

204 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 204 StorageWorks Cmd Console

205 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 205 StorageWorks Cmd Console

206 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 206 StorageWorks Cmd Console

207 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 207 StorageWorks Cmd Console

208 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 208 StorageWorks Cmd Console

209 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 209 StorageWorks Cmd Console

210 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 210 StorageWorks Cmd Console

211 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 211 Seminar 1024 OpenVMS Management Station

212 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 212 OpenVMS Mgt Station Provides an MS/Win GUI for management of some areas of OpenVMS: l User records and identifiers l OpenVMS storage l Printer (but not batch) queues. l Uses TCP/IP to communicate between Windows client and OpenVMS Server.

213 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 213 OpenVMS Mgt Station Considerations: l No interfaces for application-specific user setups. l Provides only for traditional OpenVMS printer queues - no provisions for TCP/IP considerations. l V3.0 is still available for Alpha/NT. Later versions are Intel only.

214 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 214 OpenVMS Mgt Station Considerations: l Runs on W/NT and W2K, W/98, and W/95, but needs Internet Explorer V3.02 or later to provide some support. l V3.2 Server needs OpenVMS V6.2 or later.

215 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 215 OpenVMS Mgt Station

216 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 216 OpenVMS Mgt Station

217 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 217 OpenVMS Mgt Station Set up Wizard

218 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 218 OpenVMS Mgt Station Set up Wizard

219 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 219 OpenVMS Mgt Station Set up Wizard

220 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 220 OpenVMS Mgt Station Set up Wizard

221 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 221 OpenVMS Mgt Station Set up Wizard

222 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 222 OpenVMS Mgt Station

223 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 223 OpenVMS Mgt Station Logon to a managed system

224 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 224 OpenVMS Mgt Station Accounts Window

225 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 225 OpenVMS Mgt Station Account Detail

226 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 226 OpenVMS Mgt Station Printers and other Symbiont Queues

227 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 227 OpenVMS Mgt Station Detail of Printers / Symbiont Queues

228 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 228 OpenVMS Mgt Station OpenVMS Storage

229 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 229 OpenVMS Mgt Station OpenVMS Storage Detail

230 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 230 OpenVMS Mgt Station l OpenVMS Server reads OMS configuration when it starts. l Storage configured in OMS and not yet MOUNTed gets MOUNTed (if enabled). l Symbiont queues configured in OMS and not yet STARTed get STARTed.

231 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 231 OpenVMS Mgt Station l OpenVMS Server builds a DCL procedure that can be used to MOUNT your storage, even if the server cannot be started for whatever reason: TNT$EMERGENCY_MOUNT.COM

232 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 232 OpenVMS Mgt Station Can be useful to ease certain system management tasks that would otherwise require the use of command-line utilities, but is not a replacement for those utilities.

233 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 233 OpenVMS Mgt Station Download URL:

234 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 234 Seminar 1024 Accessibility Manager for Distributed Systems (AMDS) and Availability Manager

235 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 235 AMDS Provides DECwindows interface for system or cluster management, some performance monitoring. l Warnings can be issued when performance metrics go out of spec. - you determine the thresholds for your environment. l Can (maybe) be used to un-hang a cluster (force quorum adjustment).

236 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 236 AMDS Considerations: l Uses a proprietary, non-routable network protocol. l For optimum availability management, needs to run on a separate OpenVMS workstation (not a cluster member). l AMDS workstation must be on same LAN segment as cluster nodes or protocol must be bridged bt segments.

237 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 237 AMDS Considerations: l AMDS workstation can be accessed remotely (X on Linux, Solaris or *BSD; Reflection/X or Exceed, etc. on MS Win; DECwindows on OpenVMS).

238 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 238 AMDS Licensing: AMDS license is now included in the OpenVMS base license (as of AMDS V7.1). Software Kit: On the OpenVMS binary CD. On the OpenVMS website.

239 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 239 AMDS Startup Procedure: Specify START as the first parameter.

240 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 240 AMDS Logical Names: Defined in AMDS$SYSTEM:AMDS$LOGICALS.COM AMDS$GROUP_NAME is the node information display group, default is DECAMDS Define a group name for each cluster AMDS$DEVICE defines the network device to use if multiple LAN connections are present.

241 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 241 Availability Mgr Availability Manager l An MS Windows tool (W/NT, W2K) l Does not require an X-server on the PC. l Uses the same non-routable protocol as AMDS - similar restrictions. l Could be accessed remotely using PCAnywhere, or maybe Citrix.

242 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 242 AMDS AMDS Screen shots follow. Many display objects can be selected to drill down for more information.

243 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 243 AMDS

244 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 244 AMDS

245 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 245 AMDS

246 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 246 AMDS

247 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 247 AMDS

248 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 248 AMDS

249 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 249 AMDS

250 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 250 Seminar 1024 OpenVMS Security Elements

251 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 251 OpenVMS Security Elements An OpenVMS system is only as secure as the SysAdmin makes it. Understanding and using the elements of OpenVMS Security is the best way to help ensure the security and integrity of an OpenVMS system.

252 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 252 OpenVMS Security Elements Points to remember: TELNET and FTP sessions are not encrypted, passwords are sent as clear text. Use Secure Shell and Secure FTP for best security. LAT and DECnet are not encrypted, passwords are sent as clear text.

253 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 253 OpenVMS Security Elements User Identification Codes [group,user] Similar to UN*X UIDs, except digits are always octal. Users belong to only one UIC group. Use Rights Identifiers to grant additional access.

254 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 254 OpenVMS Security Elements Protection Masks Based on the UIC. Four classes of permission: System Owner Group World UN*X only has Owner, Group, World

255 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 255 OpenVMS Security Elements Levels of Permission in each class: Files Read - Open read only Write - Open write only Execute - Run (if its a program/proc.) Delete - Delete the file (Requires write access to parent directory.)

256 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 256 OpenVMS Security Elements Levels of Permission in each class: Directories Read - List files Write - Create/delete files Execute - Traverse the directory (Look up files) Delete - Delete the directory (Requires Write access to parent).

257 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 257 OpenVMS Security Elements Levels of Permission in each class: Devices READ WRITE LOGICAL I/O PHYSICAL I/O

258 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 258 OpenVMS Security Elements Levels of Permission in each class: Queues READ - Display queue, jobs MODIFY - Modify queue, jobs SUBMIT - SUBMIT/PRINT jobs DELETE - Delete jobs or the queue

259 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 259 OpenVMS Security Elements Access Control Lists Specify access control beyond the UIC based protections. Consist of access control entries.

260 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 260 OpenVMS Security Elements Access Control Entries Associate access control with UICs or Rights Identifiers Levels of access: READDELETE WRITECONTROL EXECUTE Object owner always has CONTROL

261 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 261 OpenVMS Security Elements Rights Identifiers Created using AUTHORIZE. Can be associated with a resource (disk file - to control disk quotas). GRANTed to or REVOKEd from users using AUTHORIZE. Can be dynamic – non-privileged users can acquire and release using SET RIGHTS_LIST in DCL.

262 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 262 OpenVMS Security Elements Propagating ACEs, Default Protections Set an ACE on a directory with the DEFAULT attribute. Default Protection ACE is set on a directory. Will be applied to new files, or use SET SECURITY/DEFAULT to propagate to existing files.

263 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 263 OpenVMS Security Elements Set ACEs in the proper sequence First matching ACE determines access. Enter ACEs from least restrictive to most restrictive. EDIT/ACL can be helpful. ACL takes priority over UIC based protection mask.

264 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 264 Seminar 1024 Closing Comments, Q & A

265 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 265 Freeware Sources »The OpenVMS Freeware CDs are online at the OpenVMS website. »The DFWCUG DECUS CD-ROM Archive: ftp://ftp.montagar.com/decus/ »DFWCUG OVMS Freeware V3 Archive: ftp://ftp.montagar.com/freeware-v3/ »DJE Systems OpenVMS Freeware archive: »OpenVMS FAQ

266 OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS St Louis, MOSlide 266 Seminar 1024 Thanks for coming! Disclaimer: All information is correct to the best of the authors knowledge. Please fill out the evaluation forms, if available.


Download ppt "OpenVMS System Management Techniques, Tools, and Tricks Pre-Symposium Seminar 1024 HP ETS 2002 - St Louis, MOSlide 1 Seminar 1024 OpenVMS System Management."

Similar presentations


Ads by Google