Beruflich Dokumente
Kultur Dokumente
Training
System Administration I
Restricted © Siemens AG 2013 All rights reserved. Answers for infrastructure and cities.
Page 1
Spectrum PowerTM 7
Pre-Requisites
Understanding of Spectrum
Power Base
Distributed communications and
database
Redundancy Methods
Understanding of IT Basics
Please Match the Operation System and the server type below:
ADM (Administrator)
UI (User Interface)
Please Match the Redundancy Methods and the server type below:
running on the master as well as the standby server ) COM (Real Time Communicator/Server)
UI (User Interface)
Line redundancy (External devices are
connected via two different lines to two different servers
with assigned priorities, Automatic switch over per line UI Client/IMM (Information Model
in case of failure)
Restricted © Siemens AG 2013 All rights reserved.
Management)
Page 4
Spectrum PowerTM 7
Outlines
• Day 1
• SPC Project configuration
• Linux administration Part.1
• Day 2
• Linux administration Part.2
• Linux administration Part.3
• Day 3
• Linux administration Part.4
• Linux administration Part.5
• Day 4
• Starting and Accessing SP 7
• Troubleshooting
• Day 5
• Spectrum Power Tools and
Utilities
• Database Backup and Restore
• Day 1
• SPC Project configuration
MCC and BCC Cabinet
Configuration
MCC IP and hostname
Configuration
• Linux administration Part.1
Using the Desktop in the Red
Hat Linux OS
Using Command-Line Features
and Help Resources
Viewing Directories and Files
• Day 1
• SPC Project configuration
MCC and BCC Cabinet
Configuration
MCC IP and hostname
Configuration
• Linux administration Part.1
Using the Desktop in the Red
Hat Linux OS
Using Command-Line Features
and Help Resources
Viewing Directories and Files
172.30.10.11 ad1mcc
ADM
172.30.10.12 ad2mcc
172.30.10.13 cm1mcc
RTS
172.30.10.14 cm2mcc
172.30.10.15 if1mcc
IFS
172.30.10.16 if2mcc
172.30.10.17 u11mcc
172.30.10.18 u12mcc
172.30.10.19 u13mcc
UI - 1
172.30.10.20 u14mcc
172.30.10.21 u15mcc
172.30.10.22 u16mcc
172.30.10.23 u21mcc
172.30.10.24 u22mcc
172.30.10.25 u23mcc
UI - 2
172.30.10.26 u24mcc
172.30.10.27 u25mcc
172.30.10.28 u26mcc
172.30.10.29 PS1MCC
PSOS
172.30.10.30 PS2MCC
172.30.10.31 uc1mcc
UCS
172.30.10.32 uc2mcc
172.30.10.51 IM1MCC
IMM
……
172.30.10.101 hf1mcc
HOPF
172.30.10.102 hf2mcc
• Day 1
SPC Project configuration
MCC and BCC Cabinet
Configuration
MCC IP and hostname
Configuration
• Linux administration Part.1
Using the Desktop in the Red
Hat Linux OS
Using Command-Line Features
and Help Resources
Viewing Directories and Files
USER
Open a Terminal
Restricted © Siemens AG 2013 All rights reserved.
Page 23
Spectrum PowerTM 7
Day 1 – Linux administration Part.1
# passwd
Changing password for user root.
New password:
Retype new password:
# passwd spsy
Changing password for user spsy.
New password:
Retype new password:
Directory Hierarchy
Restricted © Siemens AG 2013 All rights reserved.
Page 27
Spectrum PowerTM 7
Day 1 – Linux administration Part.1
Directory Hierarchy
Restricted © Siemens AG 2013 All rights reserved.
Page 28
Check Point - 2
• Day 1
SPC Project configuration
MCC and BCC Cabinet
Configuration
MCC IP and hostname
Configuration
• Linux administration Part.1
Using the Desktop in the Red
Hat Linux OS
Using Command-Line Features
and Help Resources
Viewing Directories and Files
Command-Line Syntax
Restricted © Siemens AG 2013 All rights reserved.
Page 32
Spectrum PowerTM 7
Day 1 – Linux administration Part.1
Using Commands
Restricted © Siemens AG 2013 All rights reserved.
Page 33
Spectrum PowerTM 7
Day 1 – Linux administration Part.1
-s -n -r -v -m -p -i -o
Restricted © Siemens AG 2013 All rights reserved.
Page 38
Check Point - 3
• Day 1
SPC Project configuration
MCC and BCC Cabinet
Configuration
MCC IP and hostname
Configuration
• Linux administration Part.1
Using the Desktop in the Red
Hat Linux OS
Using Command-Line Features
and Help Resources
Viewing Directories and Files
Changing Directory
Restricted © Siemens AG 2013 All rights reserved.
Page 49
Spectrum PowerTM 7
Day 1 – Linux administration Part.1
Changing Directory
Restricted © Siemens AG 2013 All rights reserved.
Page 50
Spectrum PowerTM 7
Day 1 – Linux administration Part.1
• Day 1
SPC Project configuration
MCC and BCC Cabinet
Configuration
MCC IP and hostname
Configuration
Linux administration Part.1
Using the Desktop in the Red
Hat Linux OS
Using Command-Line Features
and Help Resources
Viewing Directories and Files
• Day 2
• Linux administration Part.2
Working with Files and
Directories
Using the vim Editor
Copying Files
Restricted © Siemens AG 2013 All rights reserved.
Page 58
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Copying Files
Restricted © Siemens AG 2013 All rights reserved.
Page 59
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Copying Directories
Restricted © Siemens AG 2013 All rights reserved.
Page 60
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Renaming a Directory
Restricted © Siemens AG 2013 All rights reserved.
Page 63
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Creating Directories
Restricted © Siemens AG 2013 All rights reserved.
Page 67
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Creating Directories
Restricted © Siemens AG 2013 All rights reserved.
Page 68
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Creating Directories
Restricted © Siemens AG 2013 All rights reserved.
Page 69
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Creating Directories
Restricted © Siemens AG 2013 All rights reserved.
Page 70
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Removing Files
Restricted © Siemens AG 2013 All rights reserved.
Page 71
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Removing Files
Restricted © Siemens AG 2013 All rights reserved.
Page 72
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Removing Directories
Restricted © Siemens AG 2013 All rights reserved.
Page 73
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
Removing Directories
Restricted © Siemens AG 2013 All rights reserved.
Page 74
Spectrum PowerTM 7
Day 2 – Linux administration Part.2
• Day 2
• Linux administration Part.2
Working with Files and
Directories
Using the vim Editor
The default mode for the vim editor is the command mode. When you perform an i,
o, or a command, the vim editor switches to the edit mode. After editing a file, press
Escape to return the vim editor to the command mode. When in the command
mode, you can save the file and quit the vim editor.
The following example shows how to switch modes in the vim editor:
1. Perform the vim filename command to create a file. You are automatically
in the command mode.
2. Type the i command to insert text. The i command switches the vim editor
to the edit mode.
3. Press Escape to return to the command mode.
4. Perform the :wq command to save the file and exit the vim editor.
If the system crashes while you are editing a file, you can use the
-r option to recover the file.
vim –r filename
The view command enables you to view files in the read-only mode. It
invokes the vim editor with the read-only option. Although most of the vim
commands are available, you cannot save changes to the file.
view filename
vim –R filename
Editing Files
Using the vim
Editing
Commands
Editing Files
Using the vim
Editing
Commands
# export ORACLE_SID=DOR
# echo $ORACLE_SID
DOR
# unset ORACLE_SID
# echo $ORACLE_SID
• Day 2
Linux administration Part.2
Working with Files and
Directories
Using the vim Editor
• Linux administration Part.3
Using Basic File Permissions
Permission
Characters and Sets
The read, write, and
execute permissions
are interpreted
differently when
assigned to a file than
when assigned to a
directory.
• Day 2
Linux administration Part.2
Working with Files and
Directories
Using the vim Editor
Linux administration Part.3
Using Basic File Permissions
• Day 3
• Linux administration Part.4
Configuring Access Control
Lists (ACLs)
Searching Files and Directories
• Linux administration Part.5
Creating Archives
Compressing and
Uncompressing Files
The ACL mask defines the maximum permissions that can be granted to named
users, the group-owner, and named group. It does not restrict the permissions
of the file owner or other users.
umask
The umask value affects the initial permissions for files and directories when
they are created.
The initial permission value specified by system at the time of file creation is
0666(rw-rw-rw-), and 0777(rwxrwxrwx) for directory.
• Entry-type: u/g/o/m
• UID or GID: can be name
• Perm: uppercase “X” can be used to indicate that execute permission should
only be set on directories and not regular files, unless the file already has the
relevant execute permissions.
Deleting an ACL
• Entry-type: u/g/o/m
• UID or GID: can be name
• Day 3
• Linux administration Part.4
Configuring Access Control
Lists (ACLs)
Searching Files and Directories
• Linux administration Part.5
Creating Archives
Compressing and
Uncompressing Files
The name, "grep", derives from the command used to perform a similar
peration, using the Unix/Linux text editor ed: g/re/p
Search a file
Invert match
• Day 3
Linux administration Part.4
Configuring Access Control
Lists (ACLs)
Searching Files and Directories
• Linux administration Part.5
Creating Archives
Compressing and
Uncompressing Files
• Creating Archives
The tar command
Extract one file/directory from a tar file
# pwd
/net/fiihost/FII
# tar cpf – file1 file2 dir1 dir2 | ( cd /FII && tar xpf - )
Restricted © Siemens AG 2013 All rights reserved.
Page 140
Spectrum PowerTM 7
Day 3 – Linux administration Part.5
# ls
s.tar
# tar xpf s.tar sadm
# ls
s.tar sadm/
• Day 3
Linux administration Part.4
Configuring Access Control
Lists (ACLs)
Searching Files and Directories
• Linux administration Part.5
Creating Archives
Compressing and
Uncompressing Files
# ls
s.tar
# gzip s.tar
# ls
# s.tar.gz
Uncompressing a gz file
# ls
s.tar.gz
# gunzip s.tar.gz
# ls
# s.tar
• Day 4
• Starting and Accessing SP 7
Spectrum Power 7 Runup For
Linux Based Computer
Stop Linux Based Computer
Starting IMM Part of Power 7
For Windows Based Computer
Accessing Spectrum Power 7
• Troubleshooting
System Messages
Log folders
• Day 5
• Spectrum Power Tools and
Utilities
Manual Pages MAN
UTILITIES
• Database Backup and Restore
Databases
Database Backup
Database Restore
Restricted © Siemens AG 2013 All rights reserved. Answers for infrastructure and cities.
Page 149