CONFIG_COM
2.3.3 CMD installation 1 User configuration
Depending on the system it is necessary create users that are going to access to the application. This procedure configures the user allowed to access to each system, and it could be different for each component.
User configuration is located in /etc/passwd file, so it is necessary edit this file and adds the corresponding line or lines.
The user line syntax is the following:
user_name:x:uid:gid:comment folder_access:login_shell This is a description of each parameter:
user_name It is a user name in the system.
x It indicates that the user has a password (the user has an entry in the /etc/shadow file).
uid It is the user identifier number.
gid It is group identifier number (See file). /etc/group
comment This string is used to include additional information.
folder_access This parameter includes the path of the application.
login_shell INDRA application always uses /usr/bin/ksh shell.
Line that user must add to the /etc/passwd file to configure the user for CMD component.
user:x:0:1:User india:/local/india/spv/exec:/usr/bin/ksh
After adding a user, it is necessary to confirm this step using “pwconv” command, and then enter the password for that user with the command “passwd xxx” where xxx is the user name.
S
SyysstteemmAAddmmiinniissttrraattoorr
U
UsseerrMMaannuuaal l
Use or Disclosure of this information is subject to the restrictions on the tile page of this document
Page A-28 #vi /etc/passwd
Add corresponding line.
#pwconv
#passwd <user>
New Password: < password>
Re-enter new Password: < password>
passwd: password successfully changed for <user>
Where “user” is the user name for who we want change the password and “password” is the new password for the user.
2.3.3.2 Folders configuration
Creation of the /local folder with all the permissions: # mkdir –m 777 /local
Alternatively, create a copy of the application from the other CMD: # rsh hostname
#cd /local
# tar -cvf CMDx.indiax.tar india
Where “x” is the CMD number and the computer hostname where the application has been created.
# gzip -9 -v CMDx.indiax.tar (It will compress the file to CMDx.indiax.tar.gz) # rcp CMDx.indiax.tar.gz <host_name>:/local
Where host_name is the hostname corresponding to the computer on which the application must be installed.
#exit
Decompression and extraction of the application in the computer: # cd /local
# gunzip CMDx.indiax.tar.gz # tar -xvf CMDx.indiax.tar The application will be installed.
Modification and distribution of CONFIG_COM if it is necessary.
REMARK: Please, be sure that all the parameters corresponding to the executables are sent
correctly to the /local/india/spv/exec/startup.cmd file.
2.3.4 Application configuration
The execution folder corresponding to the CMD is /local/india/spv/exec.
Attention should be written to the parameters corresponding to the configuration and boot. File /local/india/spv/exec/startup.cmd.
cd /local/india/spv/exec
NODO_COM=tsp1 export NODO_COM
S
SyysstteemmAAddmmiinniissttrraattoorr
U
UsseerrMMaannuuaal l
Use or Disclosure of this information is subject to the restrictions on the tile page of this document
Page A-29 PID_APLICATION=$!
./supervision_central N 1 O > spv.log 2>$1 & export PID_APLICATION
sleep 5
cd /local/india/ctr_lan
./m_control_lan tsp1 lan_controler1 > /dev/null &
sleep 2
cd /local/india/ctr_prn
./p_printer_status prn_controler1 > /dev/null &
Parameters that go with the boot of the executable pssh file will be modified (if it is considerate as convenient).
“OPERATIVO” -> it indicates the environment for starting up “OPERATIVO” for OPERATIVE. The parameters corresponding to the supervision_central line are:
“N” -> for the Gonios control, “N” NO or “S” YES. “O”-> It indicate the string, “O” OPERATIONAL.
To configure the CMD number corresponding to the computer:
<hostname># su – india
<hostname>$ vi startup.cmd
Go to the “NODO_COM” line and change the node for tsp1 or tsp2.
Go to the “./pssh OPERATIVO” line and change 1 or 2 and “OPERATIVO”. Go to the “./supervision_central N” line and change 1 or 2 and O.
Go to the “./p_printer_status prn_controller” line (1 or 2). Go to the “./m_control_lan_tsp_controler” line (1 or 2).
These changes are NOT necessary. It will be enough to link startup.cmd1.ope, startup.cmd2.ope to startup.cmd.
Example:
# ln –sf /local/india/spv/exec/dir_macros/startup.cmd1.ope /local/india/spv/exec/startup.cmd
NOTE: The folder dir_macros, contents every script related to different environment to start-up CMD software.
2.3.5 Backup creation
Creation of the Backup file:
# cd /local
S
SyysstteemmAAddmmiinniissttrraattoorr
U
UsseerrMMaannuuaal l
Use or Disclosure of this information is subject to the restrictions on the tile page of this document
Page A-30
Where “x” is the CMD number and the computer hostname where the application has been created.
# gzip -9 -v CMDx.indiax.tar (It will compress the file to CMDx.indiax.tar.gz) # rcp CMDx.indiax.tar.gz <host_name>:/../FOLDER_BACKUP
Where host_name is the computer where the application is going to be installed or saved
S
SyysstteemmAAddmmiinniissttrraattoorr
U
UsseerrMMaannuuaal l
Use or Disclosure of this information is subject to the restrictions on the tile page of this document
Page A-31
2.4 SDD
The SDD is based on powerful workstations where the data, radar data, and flight plans presentations are provided. These data are shown on the controller screens and it can show additional information like geographical maps, airways, meteorological data, etc.
2.4.1 Files layout
The following diagram shows the location of the folders needed by the system:
Figure 2-4: SDD Files Layout.
The most relevant files are:
Folder /local/sdd/exec.
FILE DESCRIPTION
.mwmrc UNIX file for the definition of Windows parameters. .openwin-init UNIX file for the definition of Windows parameters. .openwin-sys UNIX file for the definition of Windows parameters.
/local/india/ sdd/exec/ pos/exec/ auxfonts/ bin/ bitmaps/ bpt/ datos/ fonts/ grabacion/ pendientes/ reproduccion/ macros/ mapas/ files/ online/ reprod/ print/ screen_files/ config/ adap/ fonts/ printer/ AIP/
S
SyysstteemmAAddmmiinniissttrraattoorr
U
UsseerrMMaannuuaal l
Use or Disclosure of this information is subject to the restrictions on the tile page of this document
Page A-32
FILE DESCRIPTION
.profile
This UNIX file contains start up characteristics concerning the position. It is a link to /local/india/sdd/exec/macros.
.xinitrc
This UNIX file contains start up characteristics concerning the position. It is a link to /local/india/sdd/exec/macros.
auxfonts This folder contains auxiliary set of fonts used by the SDD.
bin This folder contains executables related to the SDD
application.
bitmaps This folder contains bitmap files relative to the pictures by the SDD.
bpt
This folder contains executables concerning monoradar processing (BYPASS) and the necessary adaptation tables.
datos This Folder contains colour parameters concerning the SDD display.
fonts This folder contains the set of fonts used by the SDD. grabacion This folder carries out the SDD 24 h. recordings.
inictab
File that contains entries with an action: process format. It is used as a parameter when the SDD starts up.
remote_startup This script starts up the application in a remote mode.
LC_TIME Hour format file
mapas This folder contains the maps to be visualized at the SDD.
Mwm X-Windows resources file.
online This folder contains all the parameters concerning the SDDs configurations.
reprod/reprod24h
This folder is used when the SDD operates in PLAYBACK mode.
The Aplicacion.gen and Aplicacion.24h files are equivalent to the Aplicacion.pos file when normal mode is active.
sh-env This file contains the MOTIF environment.
tabla_* These tables are generated starting from adaptation tables.
S
SyysstteemmAAddmmiinniissttrraattoorr
U
UsseerrMMaannuuaal l
Use or Disclosure of this information is subject to the restrictions on the tile page of this document
Page A-33