
2e943425dee20da6eb6e171bd2e6dd4c.ppt
- Количество слайдов: 31
FIDS (Flight Information Display System) Technical Guide T 2 Airport 2013 Advanced Information Technology
FIDS Network Configuration Advanced Information Technology
FIDS – AAS Network Configuration Advanced Information Technology
Rack Configuration Advanced Information Technology
FIDS Software Component § POSTGRESQL § NGINGX § REDIS SERVER § SUPERVISOR – inalix-web – inalix-tasks § DRBD § COROSYNC & PACEMAKER Advanced Information Technology
FIDS Software Architecture Advanced Information Technology
Postgresql § Postgre. SQL adalah sistem database yang kuat untuk urusan relasi, open source. Memiliki lebih dari 15 tahun pengembangan aktif dan sudah terbukti segala rancangan arsitekturnya telah mendapat reputasi tentang “kuat”, “handal”, “integritas data”, dan “akurasi data”. Perintah: # /etc/init. d/ha-psql {start|stop|status} Advanced Information Technology
Ngin. X § Nginx (baca: engine x) adalah server HTTP dan Proxy dengan kode sumber terbuka yang bisa juga berfungsi sebagai proxy IMAP/POP 3. Kode sumber nginx ditlis oleh seorang warga negara Rusia yang bernama Igor Sysoev pada tahun 2002 dan dirilis ke publik pada tahun 2004. Nginx terkenal karena stabil, memiliki tingkat performansi tinggi dan minim mengonsumsi sumber daya. Perintah: # /etc/init. d/nginx {start|stop|status} Advanced Information Technology
SUPERVISOR § Supervisor adalah sebuah sistem client / server yang memungkinkan penggunanya untuk memantau dan mengontrol sejumlah proses pada sistem operasi UNIXlike. § Proses yang dikontrol adalah sbb: – inalix-tasks • modul fids untuk menambahkan, menghapus, merubah data penerbangan dan untuk melakukan scheduling otomasi dari data penerbangan – inalix-web • Modul fids yang mengatur memproses request http (fids client) dari NGINX Advanced Information Technology
Proses inalix-tasks & inalix-web Perintah: # /etc/init. d/supervisor {start|stop|status} Perintah Melihat status inalix-task & inalix-web: # supervisorctl status inalix-tasks RUNNING pid 13988, uptime 2: 18: 58 inalix-web RUNNING pid 13907, uptime 2: 19: 01 Advanced Information Technology
Start / Stop inalix-tasks & inalix-web Perintah start / stop inalix-task & inalix-web: root@fis 2: ~# supervisorctl status inalix-tasks RUNNING pid 10497, uptime 0: 00: 45 inalix-web STOPPED Nov 07 02: 51 AM root@fis 2: ~# Perintah start / stop inalix-task & inalix-web: # supervisorctl {start|stop} inalix-tasks # supervisorctl {start|stop} inalix-web Advanced Information Technology
DEBUG: inalix-tasks root@fis 2: ~# supervisorctl tail -f inalix-tasks ==> Press Ctrl-C to exit <== 12. 61: 0 /srv/http/media/capture/10. 1. 12. 61. png Fail [2013 -11 -07 01: 56: 10, 343: WARNING/Pool. Worker-9] gvnccapture 10. 1. 12. 63: 0 /srv/http/media/capture/10. 1. 12. 63. png Fail [2013 -11 -07 01: 56: 10, 347: WARNING/Pool. Worker-9] gvnccapture 10. 1. 12. 65: 0 /srv/http/media/capture/10. 1. 12. 65. png Fail [2013 -11 -07 01: 56: 10, 350: WARNING/Pool. Worker-9] gvnccapture 10. 1. 12. 67: 0 /srv/http/media/capture/10. 1. 12. 67. png Fail [2013 -11 -07 01: 56: 10, 354: WARNING/Pool. Worker-9] gvnccapture 192. 168. 72: 0 /srv/http/media/capture/192. 168. 72. png Fail [2013 -11 -07 01: 56: 10, 358: WARNING/Pool. Worker-9] gvnccapture 10. 1. 12. 23: 0 /srv/http/media/capture/10. 1. 12. 23. png Fail [2013 -11 -07 01: 56: 10, 364: WARNING/Pool. Worker-9] gvnccapture 10. 1. 12. 77: 0 /srv/http/media/capture/10. 1. 12. 77. png Fail [2013 -11 -07 01: 56: 10, 368: WARNING/Pool. Worker-9] gvnccapture 10. 1. 12. 80: 0 /srv/http/media/capture/10. 1. 12. 80. png Fail [2013 -11 -07 01: 56: 10, 369: INFO/Main. Process] Task devices. screen_capture[54 ae 5 ea 8 -ca 564 e 58 -a 882 -d 5 c 7 ae 78 d 279] succeeded in 0. 351608037949 s: None Advanced Information Technology
DEBUG: inalix-web root@fis 2: ~# supervisorctl tail -f inalix-web ==> Press Ctrl-C to exit <== efault, Jan 2 2013, 17: 14: 22) [GCC 4. 7. 2] Thu Nov 7 02: 52: 21 2013 - *** Python threads support is disabled. You can enable it with -enable-threads *** Thu Nov 7 02: 52: 21 2013 - Python main interpreter initialized at 0 x 80 c 34 d 8 Thu Nov 7 02: 52: 21 2013 - your server socket listen backlog is limited to 100 connections Thu Nov 7 02: 52: 21 2013 - *** Operational MODE: preforking *** Thu Nov 7 02: 52: 21 2013 - WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0 x 80 c 34 d 8 pid: 11383 (default app) Thu Nov 7 02: 52: 21 2013 - *** u. WSGI is running in multiple interpreter mode *** Thu Nov 7 02: 52: 21 2013 - spawned u. WSGI master process (pid: 11383) Thu Nov 7 02: 52: 21 2013 - spawned u. WSGI worker 1 (pid: 11388, cores: 1) Thu Nov 7 02: 52: 21 2013 - spawned u. WSGI worker 2 (pid: 11389, cores: 1) Thu Nov 7 02: 52: 21 2013 - spawned u. WSGI worker 3 (pid: 11390, cores: 1) Thu Nov 7 02: 52: 21 2013 - spawned u. WSGI worker 4 (pid: 11391, cores: 1) Thu Nov 7 02: 52: 21 2013 - spawned u. WSGI worker 5 (pid: 11392, cores: 1) Advanced Information Technology
REDIS Server § Redis is an open source, BSD licensed, advanced keyvalue store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets § Redis digunakan oleh inalix-task dan inalix-web untuk pemrosesan data internal sistem FIDS Perintah: # /etc/init. d/redis-server {start|stop|restart|force-reload} Advanced Information Technology
DRBD § Distributed Replicated Block Device (DRDB) merupakan software yang dirancang untuk membangun high availability (HA) cluster, pada dasarnya DRBD ini mirip dengan teknologi raid (1) mirroring hanya saja jika pada raid , mirroring dilakukan pada satu mesin yang sama dan sedangkan DRBD mampu melakukan mirroring antar network. Perintah: # /etc/init. d/drbd {start|stop|status} Advanced Information Technology
DRBD STATUS root@fis 2: ~# /etc/init. d/drbd status drbd driver loaded OK; device status: version: 8. 3. 11 (api: 88/proto: 86 -96) srcversion: F 937 DCB 2 E 5 D 83 C 6 CCE 4 A 6 C 9 m: res cs ro ds p mounted fstype 0: r 0 Connected Primary/Secondary Up. To. Date/Up. To. Date C /var/lib/postgresql ext 4 1: r 1 Connected Primary/Secondary Up. To. Date/Up. To. Date C /srv/http ext 4 root@fis 2: ~# root@fis 1: ~# /etc/init. d/drbd status drbd driver loaded OK; device status: version: 8. 3. 11 (api: 88/proto: 86 -96) srcversion: F 937 DCB 2 E 5 D 83 C 6 CCE 4 A 6 C 9 m: res cs ro ds p mounted fstype 0: r 0 Connected Secondary/Primary Up. To. Date/Up. To. Date C 1: r 1 Connected Secondary/Primary Up. To. Date/Up. To. Date C root@fis 1: ~# Advanced Information Technology
DRBD Primary Secondary Advanced Information Technology
COROSYNC § Corosync merupakan Cluster Engine yang mengatur resource / aplikasi pada tiap-tiap node yang terdapat dalam satu cluster. § Corosync menyediakan mekanisme “start” resource/aplikasi yang “failed” dalam cluster Perintah: # /etc/init. d/corosync {start|stop|status} Advanced Information Technology
PACEMAKER § Pacemaker adalah aplikasi “open source resource manager” yang digunakan untuk computer cluster sejak tahun 2004. Sampai sekitar tahun 2007, pacemaker adalah bagian dari Linux-HA Project yang kemudian terpisah dan berdiri sendiri. § Pacemaker mengimplementasikan beberapa API untuk mengontrol resources, tetapi API tersebut lebih banyak bertujuan untuk mencipatkan “Open Cluster Framework”. § Software ini menyediakan fungsi pengaturan, pengelolaan dan monitoring resource yang di cluster. Advanced Information Technology
Linux Cluster Management Console Advanced Information Technology
§ All Services / Resources are running in FIS 1 (Yellow Color) Advanced Information Technology
§ All Services / Resources are running in FIS 1 (Blue Color) Advanced Information Technology
AAS Software Architecture Advanced Information Technology
AAS Software Component § POSTGRESQL § NGINGX § REDIS SERVER § SUPERVISOR – inalix-task – inalix-web – barix-dep – barix-arr § DRBD § COROSYNC & PACEMAKER Advanced Information Technology
AAS Supervisor § Proses yang dikontrol adalah sbb: – inalix-tasks • modul aas untuk menambahkan, menghapus, merubah data penerbangan dan untuk melakukan scheduling otomasi dari data penerbangan – inalix-web • Modul aas yang mengatur memproses request http (fids server) dari NGINX – Barix-dep • Interface aas dengan barix audio streamer – Barix-arr • Interface aas dengan barix audio streamer Advanced Information Technology
AAS Supervisor Perintah start / stop inalix-task & inalix-web: # supervisorctl {start|stop|status} inalix-tasks # supervisorctl {start|stop|status} inalix-web # supervisorctl {start|stop|status} barix-arr # supervisorctl {start|stop|status} barix-dep Advanced Information Technology
Instalasi Display Controller § Aktifkan Network Boot pada BIOS Advanced Information Technology
Instalasi Display Controller § Aktifkan 1 st Boot Device melalui NIC Advanced Information Technology
Instalasi Display Controller § Booting Melalui Jaringan § Kemudian akan muncul konfirmasi untuk melakukan instalasi “Inalix thin client installer”, ketik “y” untuk melanjutkan Advanced Information Technology
Instalasi Display Controller § Pilihan Instalasi FIDS Single Display dan Dual Display § Setting Parameter Konfigurasi Thin Client. Advanced Information Technology
Instalasi Display Controller § Reboot Thin Client dengan perintah “sudo reboot” § Kembalikan setting “Boot Device” melalui Hardisk Advanced Information Technology