OpenVMS System Management A different perspective by Andy Park TrueBit b.v.

Slides:



Advertisements
Similar presentations
Lectures on File Management
Advertisements

Computer Software 3 Section A Software Basics CHAPTER PARSONS/OJA
Operating-System Structures
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Backup and Recovery Part 1.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Linux Operations and Administration
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
Booting and boot levels
FireRMS SQL Audit, Archiving & Purging Presented by Laura Small FireRMS Quality Assurance.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Chapter 13 Sequential File Processing. Master Files Set of files used to store companies data in areas like payroll, inventory Usually processed by batch.
Outcome 2 – Computer Software The Range of Software Available The Different Categories of Software System Software Programming Languages Applications Software.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
CHAPTER 2: COMPUTER-SYSTEM STRUCTURES Computer system operation Computer system operation I/O structure I/O structure Storage structure Storage structure.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Introduction to HP Availability Manager.
ServerProtect 5.58 for NT Tech Support Dep.. Table of Contents Introduction and Installation Managing ServerProtect Configuring ServerProtect Maintaining.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Module 2 Configuring Disks and Device Drivers. Module Overview Partitioning Disks in Windows® 7 Managing Disk Volumes Maintaining Disks in Windows 7 Installing.
Installing Oracle9i RAC Release 2 on HP OpenVMS Systems.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Write-through Cache System Policies discussion and A introduction to the system.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Week #3 Objectives Partition Disks in Windows® 7 Manage Disk Volumes Maintain Disks in Windows 7 Install and Configure Device Drivers.
Introduction to AFS IMSA Intersession 2003 AFS Servers and Clients Brian Sebby, IMSA ‘96 Copyright 2003 by Brian Sebby, Copies of these.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
 Manipulation of documents and data in files on a computer. One may create a new file or edit an existing file and save it; Open or load a pre-existing.
Λειτουργικά Συστήματα - Lab1 Γιάννης Πετράκης. The Operating System  Unix is a layered operating system  The innermost layer is the hardware that provides.
Microsoft Windows XP Professional MCSE Exam
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
Linux Operations and Administration
Copyright © Curt Hill Operating Systems An Introductory Overview.
Version Control and SVN ECE 297. Why Do We Need Version Control?
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
Sequential Processing to Update a File Please use speaker notes for additional information!
MINIX Presented by: Clinton Morse, Joseph Paetz, Theresa Sullivan, and Angela Volk.
Systems Software. Systems software Applications software such as word processing, spreadsheet or graphics packages Operating systems software to control.
Retele de senzori Curs 2 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
Introduction to networking (Yarnfield) Configure a router.
Lesson 9: SOFTWARE ICT Fundamentals 2nd Semester SY
WORKING OF SCHEDULER IN OS
File-System Management
SQL Database Management
DCL – Data Control Language
Welcome to Indiana University Clusters
Router Startup and Setup
Chapter 2: System Structures
Introduction to System Administration
Introduction to System Administration
Concurrent Version Control
Introduction of Week 3 Assignment Discussion
Configuring a Router Module 3 Semester 2.
Chapter 2: System Structures
TEMPDB – INTERNALS AND USAGE
Chapter 2: Operating-System Structures
Outline Chapter 2 (cont) OS Design OS structure
Modern PC operating systems
Router Startup and Setup
Periodic Processes Chapter 9.
OS Components and Structure
Chapter 2: Operating-System Structures
Sql Saturday Philadelphia
Presentation transcript:

OpenVMS System Management A different perspective by Andy Park TrueBit b.v.

Andy Park Daily life of a system manager? Installing some hardware Installing some software Adding a user Doing a backup Starting an application Booting a system Checking the network

Andy Park There is more to it than that! Sorting out incidents, and problems. Making changes. Repetitive daily tasks. Writing scripts to aid with repetitive tasks. Department meetings. Etc...

Andy Park But most of the time! A large proportion of the time of system managers goes into: –either doing repetitive daily tasks, –or maintaining scripts to do repetitive daily tasks. Usually each system has its own scripts.

Andy Park But how many systems? Just one? Two perhaps? Ten? Hundreds???

Andy Park Are you organized? Are the scripts the same on all systems? –You mean you have 10’s of procedures doing the same thing! What do you do when you get another system? What do you do when an application moves from one system to another?

Andy Park Get organized! Manage all systems as a whole, not each system individually. Scripts should be able to run on any system without any modification.

Andy Park Create flexible scripts No embedded data. Maintain the environment, on exit: –Reset privileges, –Reset messages, –Reset defaults. Keep on top of errors. Allow for different modes of operation.

Andy Park Isolate the scripts Don’t keep scripts in user directories. –Users come and go. Put them on a separate (logical) disk. –MANAGEMENT_DISK: And those that must be in SYS$MANGER? –I’ll come back on that.

Andy Park Standardize scripts Create a number of templates to use for making scripts, which include for example: –An introduction. (date, description, changes, etc.) –Code to save current environment. –Some space for the real work. –Code for error handling. –Code to restore saved environment.

Andy Park Management layers Are you aware of the ICT management layers? –User Management –Application Management –Data Management –System Management –Network Management If not, that’s a different presentation.

Andy Park Make top level directories to match [USER] [APPLICATION] [DATA] [SYSTEM] [NETWORK]

Andy Park Subdivide layers Each management layer involves many tasks for example: –User account management –Mail management –Backup –System startup –Check network counters

Andy Park Create products Group together the scripts for each function. Create products (or packages) For example –[USER.ACCOUNT_MANAGEMENT] May contain: –add_user, remove_user, modify_user...

Andy Park You modify scripts on?? Production system –Your kidding me! Test System –Surely not! Development system –Getting better but...

Andy Park Master Node Chose one system as “master node”. Keep your templates there. Make all changes to scripts there. It could be your development system. But its better if its a separate system.

Andy Park And distribution then? Done with: –UPDATE –BACKOUT –CLEAN

Andy Park UPDATE Creates [.OLD] sub-directory. Moves current version of product to [.OLD]. Copies product from master node to this node. Executes product install procedure to: –Put files is special places like sys$manager, –(Re-) start batch jobs, –Do what needs to be done.

Andy Park Note: All of the current product is moved to [.OLD] Therefor: –Keep “permanent” files in subdirectories: ›[.LOG] ›[.DAT] ›[.HISTORY] ›[.XYZ]

Andy Park BACKOUT Deletes current product. Moves [.OLD] back to current. Executes product install procedure.

Andy Park CLEAN Delete contents of [.OLD].

Andy Park DIRTY Only our minds?

Andy Park Also needed: Product.VERSION Product.RELEASE_NOTES Product.DOCUMENTATION

Andy Park Clusters In a cluster only one management_disk:. UPDATE gets new version. UPDATE runs product install on all nodes.

Andy Park On all nodes? But I only need it to run on one node in the cluster! For that matter, just specific systems out of all the systems we have! Now we come back to how to control the scripts.

Andy Park Data for the scripts Scripts must remain identical on all nodes. Use data to determine what they should do. An easy source of data is logical names.

Andy Park Logical names You can put a lot of information in logical names. You have fast access (they are in memory). Easily accessed by scripts and programs. But you will need a lot of them.

Andy Park Separate table Create a separate logical name table: –Ensures you can not interfere with others. –No one else can interfere with you. I call it the “FINGER PRINT” for a node. –Identifies exactly what the system is supposed to do, when, how….

Andy Park An example $ ASSIGN/TABLE=FPT 1,”00:30:00”,- ”VOLUME_REBUILD,SHOW_USED” - NODE_HAS_DISK_CHECK 1 = Disk check runs on this node “00:30:00” = early in the morning and of all the functions it can do just do the volume rebuild and show used disk space

Andy Park Not only your product info For each product you create there will be an entry in the table. Also for each manageable object there can be an entry: –Could be software from others. –Could be hardware. –Could be people.

Andy Park Software You need to know which software packages are on each system. –Someone will have to start them when the system boots. –The products you make will interact with layered products and applications from other sources.

Andy Park Hardware Which disks do I have? –they need mounting, backup-ing, checking, defragmenting, Which tapes do I have? –Are they used by backup? Any special I/O devices? Even something as trivial as the system serial number can be in the finger print.

Andy Park People Mail account of system manager “When you got a problem, who do you call?”

Andy Park How do you fill the table? Several possibilities: –Node specific command procedure. –Procedure that processes node specific data file. I make it using: –Site wide command procedure (sets defaults). –Then call cluster wide procedure. –Then call node specific procedure.

Andy Park When do you make it? As soon as possible. There are several call-outs in the startup of OpenVMS to site specific procedures. –SYCONFIG is currently the first. –Use it to set up your finger print i.e. your configuration.

Andy Park Which means: One of your first products will be –[SYSTEM.STARTUP] Containing: –the procedures to make the fingerprints –the site specific startup procedures which: ›use the finger print to start the system.

Andy Park Still with me? Standard directory structure. Standard style scripts. (Templates) Standard “products” created on master node. –Distributed using product “UPDATE” Each node has a finger print specifying its role in the world. –Distributed in product “STARTUP”

Andy Park One job less for the system manager Did you notice that log files were in [.LOG]? It is now easy to make a product that scans management_disk:[*.*.log]*.log for all of those “-F-” ’s and “-E-” ’s, and mail the results back to the system manager.

Andy Park Still with me? You now have standard error checking.

Andy Park Scheduling Did you notice that there were time specifications in the finger print? Your next project is to make a simple scheduler product to run the jobs of all the other products.

Andy Park I’m out of breath You have a standard environment on all of your systems. –A set of software “products” Each system has a finger print which tells the products what they should, or should not, do.

Andy Park Any Questions? The simple ones I’ll answer now. The complex ones you can take up with TrueBit.

Andy Park Thanks for listening!