FOLDER DESCRIPTION
2.2.3 SDP 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 /etc/group file).
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-20 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.
Table 2-5: FDP User configuration parameters
Line that user must add to the /etc/passwd file to configure the user for SDP component.
user:x:0:1:User india:/local/india/rdp/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.
This is the summary of the necessary steps to add a user:
#vi /etc/passwd
Add the 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.2.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 SDP:
# rsh hotname # cd /local
# tar -cvf SDPx.indiax.tar india
Where “x” is the SDP number and the computer hostname where the application has been created.
# gzip -9 -v SDPx.indiax.tar
# rcp SDPx.indiax.tar.gz <host_name>:/local
Where host_name is the hostname corresponding to the computer on which the application must be installed.
#exit
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-21 # cd /local
# gunzip SDPx.indiax.tar.gz # tar -xvf SDPx.indiax.tar The application will be installed.
Modification and distribution of CONFIG_COM if it is necessary.
2.2.4 Application configuration
The SDP execution folder is /local/india/rdp/exec.
The SDP number (1 o 2) must be indicated in the boot file: Changing the variable:
File /local/india/rdp/exec/fich_config
ROLE_SUBSYSTEM: SDP1
In the /local/india/rdp/exec/, there is a link named startup.sdp; which, depending of start- up SDP mode, it must point the one that starts in OPERATIONAL or SIMULATION mode.
For OPERATIONAL mode:
<HOSTNAME>3$ ln -fs startup.sdp.ope startup.sdp <HOSTNAME>3$ ls -al st*
lrwxrwxrwx 1 root root 15 Mar 31 10:03 startup.sdp -> startup.sdp.ope -rwxr-xr-x 1 root root 469 Feb 11 18:03 startup.sdp.ope
-rwxr-xr-x 1 root root 466 Feb 11 18:01 startup.sdp.sim For SIMULATION mode:
<HOSTNAME>32$ ln -fs startup.sdp.sim startup.sdp <HOSTNAME>32$ ls -al st*
lrwxrwxrwx 1 root root 15 Mar 31 10:11 startup.sdp -> startup.sdp.sim -rwxr-xr-x 1 root root 469 Feb 11 18:03 startup.sdp.ope
-rwxr-xr-x 1 root root 466 Feb 11 18:01 startup.sdp.sim
Note: In simulation mode, only a SDP position is required.
Modification and distribution of CONFIG_COM.
2.2.5 Backup creation
Creation of the Backup file:
# cd /local
# tar -cvf SDPx.indiax.tar india
Where “x” is the SDP number and the computer hostname where the application has been created.
# gzip -9 -v SDPx.indiax.tar (It will compress the file to SDPx.indiax.tar.gz) # rcp SDPx.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-22
2.3 CMD
It continuously monitors the whole system and shows its status in real time. When a components fails or is not working correctly, an operator can take the appropriate actions on the CMD console. Some system parameters can be changed trough the CMD to adequate the system configuration to the actual working conditions, as they can be the VSP parameters or active sectorization.
2.3.1 Files layout
The following diagram shows the location of the folders needed by the system:
Figure 2-3: CMD Files Layout.
The most relevant files are:
Folder /local/india/spv/exec:
FILE DESCRIPTION
.mwmrc
UNIX file for the definition of Windows parameters. It also defines the kind of keyboard and function keys.
.profile UNIX file containing start up characteristics for the position.
.xinitrc UNIX file containing start up characteristics for the position.
CONFIG_COM This file defines network communications between the processes that configure the components. dir_adap This folder contains adaptation files.
/local/ india
/local/ india /spv/exec
/local/india/ctr_lan /local/india/ctr_prn
/local/ india /spv/exec/dir_adap /local/india/spv/exec/dir_aux_file s
/local/india/spv/exec/dir_config /local/ india /spv/exec/dir_exec /local/ india /spv/exec/dir_history /local/india/spv/exec/dir_macros /local/india/spv/exec/dir_resourc es /local/india/spv/exec/dir_sectors /local/india/spv/exec/dir_updated _tables /local/india/spv/exec/dir_users /local/india/spv/exec/fonts /local/india/spv/exec/printer
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-23
FILE DESCRIPTION
dir_aux_files This folder contains auxiliary files generated by the application. dir_config This folder contains CMD configuration files. dir_exec This folder contains CMD executable files. dir_history This folder contains CMD historic files. dir_macros This folder contains scripts.
dir_resources This file contains resources files. dir_sectors This file contains sectorization files.
dir_updated_tables This file contains tables starting from adaptation files.
dir_users This file contains files concerning user information.
fonts This folder contains the type of fonts used by the CMD.
startup.cmd
This is a link with one of these two files: startup.cmd1.ope, startup.cmd2.ope. The choice depends of the CMD to be started up.
remote_startup This is a link with remote_startup file belonging to the dir_macros folder.
PSSH Link to the PSSH file pertaining to the dir_resources folder.
pssh Link to the pssh file pertaining to the dir_exec folder.
sh-env This file contains the MOTIF environment. supervision_central Link to a CMD process.
Table 2-6: CMD relevant folders.
Folder /local/india/spv/exec/dir_adap:
FILE DESCRIPTION
FICH_* ASCII adaptation files.
user_passwords.fdp.adap
This encrypted adaptation file contains information concerning users, alias, roles, and passwords.
Folder /local/india/spv/exec/dir_aux_files: This Folder contains internal tools for the CMD.
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-24
FILE DESCRIPTION
f_used_paths.cfg
Configuration file containing all PATH related to configuration files and executable files used by the CMD.
Folder /local/india/spv/exec/dir_exec
FILE DESCRIPTION
pssh.00.00 CMD process. It is the graphical part of the application.
supervision_central.00.00 CMD process. It is the non-graphical part of the application.
Folder /local/india/spv/exec/dir_history.
This folder contains the historic files corresponding to the CMD of the last 30 days.
They contain the set of warnings, configuration changes and the STCA and RAW alarms produced by the system.
The format of these files is: dd_mm_yy_h
Where "dd" represents the day, "mm" the month, "yy" the year and "h" the locations for historical.
Folder /local/india/spv/exec/dir_macros.
FILE DESCRIPTION
aux_comandos This file sends to the printer the content of the aux_alarmas file.
startup.cmd1.ope This script starts up the CMD1 for the OPERATIONAL string
startup.cmd2.ope This script starts up the CMD2 for the OPERATIONAL string
remote_startup This script starts up the application from a remote position.
shutdown_system This script shut down all the applications of the system
start_system This script starts up all the applications of the system.
termproc This script cancels any process. The process must be indicated as a parameter.
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-25
Folder /local/india/spv/exec/dir_resources.
FILE DESCRIPTION
ding.au This file contains the CMD sound alarm.
plaser_*.pix Laser printer pictures for screen designing at the CMD.
*.pix Pixmap files devoted to graphical icons. printer*.pix Printer pictures.
PSSH Resources application on the screen. file (MOTIF) to display the CMD
Folder /local/india/spv/exec/dir_sectors.
FILE DESCRIPTION
SECTORIZATION*_1…10 ASCII files containing predefined sectorizations.
Folder /local/india/spv/exec/dir_updated_tables.
FILE DESCRIPTION
tabla_* Data files generated from adaptation.
Folder /local/india/spv/exec/dir_users.
FILE DESCRIPTION
USER_*
These ASCII files contain all the users who used the system. The information about the users disappears when a new day starts, except for the last user.
Folder /local/india/spv/exec/printer.
FILE DESCRIPTION
ps_lp Postscript file concerning to laser printers. tabla_ps.sh Postscript file concerning to tables printing.
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-26
Folder /local/india/ctr_lan.
The most relevant files pertaining to the ctr_lan folder are:
FILE DESCRIPTION