Managing SX.e and TWL with MARC and Scripts Jeremiah Curtis

Slides:



Advertisements
Similar presentations
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
Advertisements

Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
SETUP AND CONFIGURATIONS WEBLOGIC SERVER. 1.Weblogic Installation 2.Creating domain through configuration wizard 3.Creating domain using existing template.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Linux Operations and Administration
SX.enterprise Architecture & Deployment Session #24 Duc Chu & Perry Jager.
Hyrax Installation and Customization Dan Holloway James Gallagher.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
1 Group Account Administration Introduction to Groups Planning a Group Strategy Creating Groups Understanding Default Groups Groups for Administrators.
INFS 752 Summer Juan Salazar Please right click the symbol in the lower right corner, and then press preview, to hear the presentation for each page.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
MARC 10.5 Update John Harvey. MARC 10.5 Changes  Backup Scripts restructured  Added a script to generate scripts outside of MARC  Generate Scripts.
Introduction to Shell Script Programming
5.1 © 2004 Pearson Education, Inc. Lesson 5: Administering User Accounts Exam Microsoft® Windows® 2000 Directory Services Infrastructure Goals 
Patches and Upgrades  Jeremiah Curtis Engineering Services
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Software Engineering 2003 Jyrki Nummenmaa 1 CASE Tools CASE = Computer-Aided Software Engineering A set of tools to (optimally) assist in each.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
SXe on Windows 2000 Installing Windows 2000 Server, Progress, and SXe.
GUI Environment Training Feb 12, 2004 Jeremiah Curtis
Customizing your own SENSORS (site) Ethan Danahy Tufts University June 7 th, 2001.
Active Directory Administration Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Creating Users, Computers, and Groups Automate creation.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
Installing Oracle9i RAC Release 2 on HP OpenVMS Systems.
SQL Server User Group Meeting Reporting Services Tips & Tricks Presented by Jason Buck of Custom Business Solutions.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Linux Operations and Administration
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Introduction to AFS IMSA Intersession 2003 AFS Servers and Clients Brian Sebby, IMSA ‘96 Copyright 2003 by Brian Sebby, Copies of these.
McNaughton-McKay Progress 9.1D Training Jeffrey A. Brown - Technical Support Consultant
Progress Database Admin Jeffrey A. Brown – Engineering Support, Technical Consultant
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
Installing of a VAULT server. Few recommendations: The Vault Server can be any dedicated server or normal PC operating under Windows 2003 server or Windows.
Chapter Two Exploring the UNIX File System and File Security.
Guide to Linux Installation and Administration, 2e1 Chapter 11 Using Advanced Administration Techniques.
Experiment Management System CSE 423 Aaron Kloc Jordan Harstad Robert Sorensen Robert Trevino Nicolas Tjioe Status Report Presentation Industry Mentor:
Core 3: Communication Systems. Network software includes the Network Operating Software (NOS) and also network based applications such as those running.
Managing SX.e and TWL with scripts and MARC 02/12/04 Jeremiah Curtis.
Administrator Training Lila Bronson Training Manager, OmniUpdate.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
Microsoft Windows XP Professional MCSE Exam
Transportation Agenda 165. Transportation About Pages Pages organize and present information Pages are files that end in.aspx 166.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
Windows NT ® Security Management: Extending Windows NT 5.0 Security Management Tools, Part 2 Praerit Garg Program Manager Windows NT Security Microsoft.
Introduction to AFS IMSA Intersession 2003 Managing AFS Services Brian Sebby, IMSA ‘96 Copyright 2003 by Brian Sebby, Copies of these slides.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
Speaker’s Name/Department (delete if not needed) Month 00, 2017
Active Directory Administration
SiteBuilder 2 Introduction.
Exploring the Power of EPDM Tasks - Working with and Developing Tasks in EPDM By: Marc Young XLM Solutions
Presentation transcript:

Managing SX.e and TWL with MARC and Scripts Jeremiah Curtis

Manager’s Administrative Resource Controller - MARC MARC is a tool that is used to assist our customers and our support personnel to manage our product environments in a Unix environment MARC is an application written in the Progress 4GL language It is a character-based application and has its own database called MARC (surprised?)

First, A Quick Review What is Progress and how does it relate to SX.enterprise? How is a Progress database managed? What operations need to be performed on a NxTrend product database?

Starting MARC MARC is started from the Unix command line –Usually, all that is needed is to type marc Often, there will also be other MARC applications on your system –TWL will have its own MARC and it is started using the twlmarc command –A test environment will have its own MARC and is usually started with testmarc All these MARCs are typically the same version, though they don’t have to be. However, they will all function basically the same Parameters that are in MARC vary depending on the product it is managing.

The Main Menu The main menu in MARC contains the following items: –Databases –Installation –Backup –System –Communications –Logs –Exit

The Database Menu The database menu contains items for managing your database and related processes –Starting and stopping your database –Starting and stopping your application brokers –Creating dump and load scripts –Application broker and TWL compiles are located here as well

Start and Stop Database Severs

Start and Stop Application Brokers

Databases->Cofigure->Generate Scripts Select the database for the scripts to include

Select the Scripts to Generate

The Installation Menu The installation menu performs installation and configure functions The environment information is entered here such as file locations This menu also contains functions to compile and library SX.enterprise

Installations->Configure

Installations->Utilities

Installation Programs

The Backup Menu The only item on this menu is a function for configuring backup scripts

Backup Script Options

The System Menu The system menu has other functions One set is for administrating the admin server There are also functions for Clippership and Taxware

Admin Server Start and Stop

The Logs Menu The logs menu is where you can view logs from various MARC functions Most of these are related to the installation process such as when the product was installed or a code compile

Viewing Specific Logs

MARC Generated Scripts NxTrend has a standard set of scripts used for Unix environment management All these scripts are generated from MARC which customizes the standard scripts to account for your local environment

The Progress Admin Server These scripts help manage the Progress Admin and Name Servers admin.start admin.shut admin.query nameserver.query

The Database These scripts help manage the database brokers dbbroker.start dbbroker.shut dbbroker.query These are database utilities dbstats truncate.bi

The Application Broker These scripts help manage the Progress Application Brokers appbroker.start appbroker.shut appbroker.query

Parameter Files The following are a new set of parameter files for client connections client.pfadmuser.pf editor.pfauditmgruser.pf batch.pfcluser.pf singleuser.pfrptmgruser.pf connect.pf

The Environment These scripts help manage this particular environment nxt.env nxtall.start nxtall.shut

Enterprise To start SX.enterprise, now use sxe sxe sxee

The Report Manager These are the Report Manager scripts rptmgr.start rptmgr.shut

Binary Dump and Load These scripts are for Dump and Loads easybdsareabd bddriver.psareabddriver.p bddumpall.pbddumparea.p bdloadall.pbdloadarea.p bdscript.psareabdscript.p

After Imaging These scripts are for AI aimage.start aimage.shut aimage.backedup aimage.list aimage.archive aimage.new aistats rollforward.ai truncate.ai

Backups These are new standard backup scripts backup.data backup.full backup.online

RxServer RxServer scripts are now generated by MARC rxsfax.sh rxsprint.sh out.sh

Other Scripts These don’t fit anywhere else rdclean sassi.sh shutuser showuser config_rpt

TWL TWL adds more scripts specific to that product Some TWL scripts are vital for the product to carry out some functions such as: –Transfer of orders to and from SX.enterprise –End Of Day processing

TWL RF Units These scripts are used to start the TWL application on RF units twlrf twlentrf twlentrf.pf

Additional TWL Environment Since TWL integrates with SX.enterprise, an additional environment is available using: twlsecondary.env

TWL End of Day These scripts are used to run TWL End of Day processing. These are usually called from the backup scripts The first script performs processing that requires a single-user connection to the DB while the second performs tasks using a normal multi-user connection to the DB twleod1 twleod2

TWL Interfaces The following scripts are used to manage the TWL interfaces twlsend.starttwlrcvpack.sh twlsend.shtwlrcv.sh twlsend.shuttwlrcv.shut twlsend.querytwlrcv.query twlrcvprint.sh

The Templates MARC generates scripts using templates These templates contain a framework of the script Dynamic portions of the script are filled in by MARC to create the final script MARC fills in the local information based on what is stored in the MARC database and user input

MARC Generate Scripts MARC Databases -> Configure -> Generate Scripts Select the database(s) to generate scripts for Select the scripts to generate

Script Template All scripts generated by MARC are stored as templates These templates contain the form of the final script Critical portions of a template contain tags These tags get substituted with real values to generate a script

MARC Generated Scripts All of the templates reside in subdirectories under /rd/marc/scripts/template All templates must end with a.tpl These subdirectories are: base dg hp ibm sco intchan taxware twl

All of the templates in base are added to the list One system directory is included based on the selected machine type in Installations -> Configure (e.g. ibm ) If optional products are setup in MARC, then those templates are also included in the list (e.g. twl ) The custom directory is always checked first and overrides a standard template of the same name MARC Generated Scripts

Script templates may also be in /rd/marc/scripts/cust in the same subdirectories Copy the template from the directory under /rd/marc/scripts/template Custom Scripts

Template Tags There are two types of template tags –System tags (defined by MARC) –Custom tags (defined by the user) Tags are names enclosed in ‘ ’ –Example: The convention is to use tag names that are all capital letters

System Tags System tags are defined during the installation of MARC System tags contain values that MARC can get from the information in its own database System Tags can not be edited directly with the tag editor

Custom Tags Users may use the Tag Editor to create and edit tags. Custom tags are created by users or may be in some delivered scripts (e.g. rxsprint.sh) Values for the tags can be assigned in two ways: –By answering the prompt when MARC finds an undefined tag –By using the tag editor in Databases -> Configure -> Tag Editor

The Tag Editor The tag editor allows the user to: –Create new custom tags –Modify existing custom tags –Delete custom tags

Example Template Here is a simple template echo “Hello, world!” Top three lines are reserved for formatting PERMISSIONS is what permissions the script will have SCRIPTNAME is what the script will be called DESTDIR tells where the script will get created

Script Naming All scripts should be prefaced with the environment name Use ENV before the script name to substitute in the environment name in the MARC that is generating the script

Destinations The destination directory can be a path The destination can be one of these predefined directories BIN OPSYS RD EXEC

Building A Script Here is a simple template “helloworld.sh.tpl” echo “Hello, world!” Should be created in the../cust/base directory Generating script to /rd/bin/ses27

Script Templates - Summary All scripts will be generated by MARC and are stored as templates Should no longer hand edit scripts Script issues will begin by regenerating all scripts New scripts are easily added and existing ones easily updated

Questions ? ? ? ? ? ? ? ? ? ? ? ?