Overview, Script concepts, Overview script concepts – Visara Master Console Center Scripting Guide User Manual
Page 12
![background image](https://www.manualsdir.com/files/808700/content/doc012.png)
Chapter 1 Script Overview
Scripting Guide
12
Overview
The Master Console Center Global Control Language (MCC GCL) is a
powerful high-level programming language that can be used to automate
and monitor events on systems attached to the MCC. This guide provides
reference information on writing scripts in GCL.
Script Concepts
The Master Console Center (MCC) can automate the monitoring,
operating, and alerting of processes performed in the data center.
Additionally, the MCC can monitor multiple consoles simultaneously with
the same accuracy as monitoring only one console.
An operator or administrator can manually control the system IPL/boot,
task/software startup, operations, and shutdown by interacting with the
system console and/or OS console. All of the operations (such as entering
commands, monitoring for special messages, and entering responses) are
generally based on rules. These rules can be explicitly written as a
detailed set of procedures. Each procedure can then be written as one or
more MCC scripts in the Global Command Language (GCL). GCL is a
powerful, flexible, easy-to-use programming language similar to other
structured, high-level, common programming languages such as BASIC.
Automation is accomplished using steps stored in scripts.
IPL
Procedure
Document
IPL
Procedure
Script
Procedures that were traditionally performed manually can be automated
on the MCC. Before designing scripts for automation, create a detailed
list of repetitive operations. MCC scripts can then be written to
automatically perform repetitive operations.
Scripts are coded in the MCC Script Editor. After saving a script source
from within the script editor, the script is automatically compiled and the
user is informed of the nature and location of any errors.
A dialog box indicates if there are errors. Check the MCC Execution Log
Window after saving a script to see the specific errors and the line
numbers in which they occur.
Note: Normally, scripts are automatically compiled when saved.
It is also possible to manually compile a script using the
/usr/ics/bin/gclcomp
S
c
r
i
p
t
S
o
u
r
c
e
T
e
x
t
F
i
e
l
d
s
t
h
a
t
d
e
s
c
r
i
b
e
p
r
o
c
e
d
u
r
e
s
t
o
f
o
l
l
o
w
i
n
s
e
q
u
e
n
c
e
.
F
i
l
e
N
a
m
e
:
x
x
x
x
x
x
x
x
.
s
c
r
C
o
m
p
i
l
e
d
S
c
r
i
p
t
M
C
C
e
x
e
c
u
t
a
b
l
e
f
i
l
e
s
.
F
i
l
e
N
a
m
e
:
x
x
x
x
x
x
x
x
.
s
c
x
C
o
m
p
i
l
e
d