Setting up irods High Availability using Pgpool in NorStore

Size: px
Start display at page:

Download "Setting up irods High Availability using Pgpool in NorStore"

Transcription

1 Setting up irods High Availability using Pgpool in NorStore This is a slightly modified version of: irods_high_avaliability Note: I call Server1 throughout the document the icat enabled, irods server running the PgPool service. This is also the master icat host for the whole zone. Suggestion for the name of the zone: NorStore Important to note that if each node uses a different username for the irods admin user (which they probably should), those usernames (and passwords) needs to be created using iadmin on the master node (Server1). I also assume that the unix username running the irods server is irods (both on the master and slave nodes, not mandatory), not to be confused with the irods admin above. I.Setting up the master Node (Server1) 1. Standard irods installation using irodssetup, below are the important configuration parameters: Zone = NorStore (this must be the same on all the slaves) Postgres Port = 5431 (notice that is not the default 5432 ) Database User = irods (I have set the same username on the slave nodes as well) irods Installation Directory = <irods_home> (full path to the irods install dir, must not be necessarily the same on all the nodes) Postgres Directory = <PSQL_HOME> (full path to the postgresql install dir, can be different on the nodes, but the online recovery scripts from the site above, assume that they are the same ) 2. Some postgresql configuration needs to be done next: 2.1 in <PSQL_HOME>/pgsql/data/postgresql.conf, uncomment and set the line as below: listen_addresses = '*' 2.2 modify <PSQL_HOME>pgsql/data/pg_hba.conf, we need to set all md5 to trust (MD5 authentication is not supported in pgpool replication mode) and also add one line for each slave node as below: host ICAT irods <node_host_ip_address>/32 trust

2 3. Take a backup of the ICAT database and then drop it, commands: pg_dump ICAT > ICAT_DUMP dropdb ICAT 4. Stop the irods server. 5. Install PgPool mkdir <PGPOOL_INSTALL_DIR> chown -R irods:irods <PGPOOL_INSTALL_DIR> su - irods cd <PGPOOL_INSTALL_DIR> mkdir pgpool mkdir logs tar -xvf pgpool-ii-xx.tar.gz cd pgpool-ii-xx./configure --prefix= <PGPOOL_INSTALL_DIR> --with-pgsql= <PSQL_HOME>/pgsql make make install 6. Configure PgPool Create the 3 configuration files from the templates in <PGPOOL_INSTALL_DIR>/pgpool: cd <PGPOOL_INSTALL_DIR>/pgpool/etc cp pcp.conf.sample pcp.conf cp pgpool.conf.sample pgpool.conf cp pool_hba.conf.sample pool_hba.conf Changes: in pcp.conf add: irods:f0cedadasdasdasdad3cf434488eec5 here the string after : is the md5 hash of the irods database user password, obtained using the pg_md5 pgtool utility.

3 in pool_hba.conf add the following line for each node: host ICAT irods <node_host_ip_address>/32 trust in pgpool.conf (main configuration), the following entries need to be modified listen_addresses = '*' ----Listen to all Network cards port = 5432 pcp_port = 9898 #Pgpool Port #Pgpool Control(admin) Port logdir = '<PGPOOL_INSTALL_DIR>/ logs' pid_file_name = '/<PGPOOL_INSTALL_DIR>/logs/pgpool.pid' replication_mode = true load_balance_mode = true insert_lock = false backend_hostname0 = 'localhost backend_port0 = 5431 backend_weight0 = 1 In addition the following lines need to be added for each slave node (increment the index accordingly): backend_hostname1 = 'Hostname of ip address of the slave node backend_port1 = 5432 backend_weight1 = 1 7. Start PgPool Make sure that the postgresql server is running on each node, then run: pgpool -d -n 2>&1 > <PGPOOL_INSTALL_DIR>/ logs/pgpool.log see the above webpage for setting up logrotation using cronolog. 8. Recreate the ICAT database on Server1 from the dump we created earlier createdb p 5432 ICAT psql ICAT < ICAT_DUMP this should replicate the database on all the slave nodes. 9. Before starting the irods server, change: port = 5432 in <PSQL_HOME>/pgsql/etc/odbc.ini

4 Port = 5432 in ~irods/.odbc.ini 10. Start the irods server and create the administrator users for each slave irods server (if they differ from the irods admin on Server1). II.Setting up a slave Node (Server2) 1. Default irods installation using irodssetup, below are the important configuration parameters: Zone = norstore-test (this must be the same on all the slaves) Postgres Port = 5432 (default ) Database User = irods irods Installation Directory = <irods_home> (full path to the irods install dir, must not be necessarily the same on all the nodes) Postgres Directory = <PSQL_HOME> (preferably the same as on the master node) 2. Stop the irods server irodsctl istop 3. Drop ICAT database using dropdb ICAT and stop postgresql irodsctl dbstop 4. Some postgresql configuration needs to be done next: 4.1 in <PSQL_HOME>/pgsql/data/postgresql.conf, uncomment and set the line as below: listen_addresses = '*' 4.2 modify <PSQL_HOME>pgsql/data/pg_hba.conf, we need to set all md5 to trust (MD5 authentication is not supported in pgpool replication mode) and also add the line to grant access from the master node as below: host ICAT irods /32 trust 5. Start Postgres with

5 irodsctl dbstart 6. Edit file <irods_home>/server/config/server.config as icathost slaveicathost localhost 7. Modify the file <irods_home>/server/config/irodshost if there are any special network addresses configured for the irods host. 8. Start irods irodsctl istart 9. Notify the master node administrator to create your irods administrator username/ password. 10. Create any users, resources as normally using the iadmin command. III.Setting up online recovery 1. Setup ssh access using public keys among all the nodes. Use: ssh-keygen -t dsa (as irods) then the public key (typically in ~irods/.ssh/id_dsa.pub) should be added to ~irods/.ssh/ authorized_keys on all the nodes. 2. Enable WAL archiving We will use the directory <PSQL_HOME> section I above in the following. Create a directory pgsql_wal_archive as: mkdir <PSQL_HOME>/pgsql_wal_archive Enable WAL archiving in postgresql, edit the file <PSQL_HOME>/pgsql/data/ postgresql.conf archive_mode = on archive_command = 'test! -f <PSQL_HOME>/backup_in_progress rsync -a %p <PSQL_HOME>/pgsql_wal_archive/%f' archive_timeout = 300 wal_level = archive 3. Restart postgresql: <irods_home>/irodsctl dbrestart (node should be detached from pgpool on the master before this). 4. Setup template1 function

6 For this download and unpack the file pgpool-ii tar.gz from download.php?f=pgpool-ii tar.gz. tar zxvf pgpool-ii tar.gz cd pgpool-ii-3.1.3/sql/pgpool-recovery/ Edit Makefile (change the <PSQL_HOME> value for your setup, and comment out USE_PGXS = true as below): MODULES = pgpool-recovery DATA_built = pgpool-recovery.sql DATA = uninstall_pgpool-recovery.sql # if you are using PostgreSQL 8.0 or later, # using pg_config is recommended. # if you are not, comment out following line and... #USE_PGXS = true # set top_builddir to the PostgreSQL build source tree top. # (for example /usr/local/src/postgresql-8.4) top_builddir = <PSQL_HOME>/postgresql-9.0.3/ ifdef USE_PGXS PGXS = $(shell /home/irods/psql/pgsql/bin/pg_config --pgxs) include $(PGXS) else subdir = contrib/pgpool-recovery #top_builddir =../.. include $(top_builddir)/src/makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif then do make install <PSQL_HOME>/pgsql/bin/psql -p f pgpool-recovery.sql template1 irodsctl dbstop 5. Edit pgpool.conf file (should be done only on the master node) and add the following: health_check_period = 30 health_check_timeout = 60 failover_command = failback_command = backend_data_directory1 = '<PSQL_HOME1>/pgsql/data' backend_data_directory2 = '<PSQL_HOME2>/pgsql/data' recovery_user = 'irods' recovery_password = '****'

7 recovery_1st_stage_command = 'copy_base_backup' recovery_2nd_stage_command = 'pgpool_recovery_pitr' 6. Copy copy_base_backup, pgpool_recovery_pitr, pgpool_remote_start to <PSQL_HOME>/pgsql/data on each node. These files are listed below, the entries with <> should be replaced by the corresponding paths on each node. cat copy_base_backup!#!/bin/sh DATA=$1 RECOVERY_TARGET=$2 RECOVERY_DATA=$3 WAL_ARCHIVE= <PSQL_HOME>/pgsql_wal_archive echo "$DATA $RECOVERY_TARGET $RECOVERY_DATA " > /tmp/recovery.log rm -f $WAL_ARCHIVE/* ssh -T $RECOVERY_TARGET "find "${RECOVERY_DATA}"/pg_xlog/ -type f -exec rm -f {} \;" >> /tmp/recovery.log 2>&1 touch <PSQL_HOME>/backup_in_progress RECOVERY_LABEL=`date "+ %Y-%m-%d_%H:%M:%S"` psql -c "select pg_start_backup('${recovery_label}')" postgres >> /tmp/recovery.log 2>&1 echo "restore_command = 'rsync -pog $HOSTNAME:$WAL_ARCHIVE/%f %p'" > /tmp/ recovery.conf rsync -avh --delete -e ssh --exclude backup_label --exclude postgresql.conf --exclude pg_hba.config --exclude pg_xlog --exclude recovery.conf --exclude postmaster.pid -- exclude postmaster.opts $DATA/ $RECOVERY_TARGET:$RECOVERY_DATA/ >> /tmp/ recovery.log 2>&1 psql -c "select pg_stop_backup()" postgres >> /tmp/recovery.log 2>&1 scp /tmp/recovery.conf $RECOVERY_TARGET:$RECOVERY_DATA/. >> /tmp/recovery.log 2>&1 rm -f /tmp/recovery.conf exit 0 cat pgpool_recovery_pitr

8 #! /bin/sh psql -c 'select pg_switch_xlog()' postgres cat pgpool_remote_start #! /bin/sh if [ $# -ne 2 ] then echo "pgpool_remote_start remote_host remote_datadir" exit 1 fi DEST=$1 DESTDIR=$2 echo "$DEST $DESTDIR" >> /tmp/recovery.log PSQL_HOME= <PSQL_HOME> irodsctl=irodsctl rm -f $PSQL_HOME/backup_in_progress >> /tmp/recovery.log 2>&1 ssh -T $DEST $irodsctl dbstart >> /tmp/recovery.log 2>&1 7. chmod +x copy_base_backup pgpool_recovery_pitr pgpool_remote_start 8. Modify $PATH on each node to include the location of <irods_home>, we will use the irodsctl script to start icat remotely.

Pgpool-II for beginners

Pgpool-II for beginners Pgpool-II for beginners Table of Contents prerequisite...2 introduction...2 installation...3 configuration...3 start/stop pgpool...4 initial replication setup...4 copy database...4 starting up...4 check

More information

SLONY Replication and PG POOL II

SLONY Replication and PG POOL II SLONY Replication and PG POOL II Except where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by/3.0/ Session Topics SLONY Replication PG POOL II SLONY Replication SLONY

More information

The Magic of Hot Streaming Replication

The Magic of Hot Streaming Replication The Magic of Hot Streaming Replication BRUCE MOMJIAN POSTGRESQL 9.0 offers new facilities for maintaining a current standby server and for issuing read-only queries on the standby server. This tutorial

More information

pgbackrest User Guide Version 1.08 Open Source PostgreSQL Backup and Restore Utility

pgbackrest User Guide Version 1.08 Open Source PostgreSQL Backup and Restore Utility Version 1.08 Open Source PostgreSQL Backup and Restore Utility TABLE OF CONTENTS Table of Contents 1 INTRODUCTION 2 2 CONCEPTS 3 2.1 BACKUP.............................................. 3 2.2 RESTORE.............................................

More information

Streaming Replication. Hot Standby

Streaming Replication. Hot Standby Streaming Replication & Hot Standby v8.5~ Client Hot Standby query query Master Slave changes Streaming Replication Why Streaming Replication & Hot Standby? High Availability Load Balancing Client Client

More information

RM4GS Install Guide. version 1.0. September All Rights Reserved, Copyright (C) 2004, FUJITSU LIMITED, Hitachi, Ltd. and NEC Corporation

RM4GS Install Guide. version 1.0. September All Rights Reserved, Copyright (C) 2004, FUJITSU LIMITED, Hitachi, Ltd. and NEC Corporation RM4GS Install Guide version 1.0 September 2004 All Rights Reserved, Copyright (C) 2004, FUJITSU LIMITED, Hitachi, Ltd. and NEC Corporation Abstract This document describes how to install configure and

More information

WAL, Standbys and Postgres 9.5. Postgres Open Sept 2015, Dallas Michael Paquier / VMware

WAL, Standbys and Postgres 9.5. Postgres Open Sept 2015, Dallas Michael Paquier / VMware WAL, Standbys and Postgres 9.5 Postgres Open 2015 th 17 Sept 2015, Dallas Michael Paquier / VMware Summary About archiving And standbys Mixed with magic from Postgres 9.5 Archiving Store database crash

More information

Workshop Oracle to Postgres Migration Part 2 - Running Postgres. Chris Mair

Workshop Oracle to Postgres Migration Part 2 - Running Postgres. Chris Mair Workshop Oracle to Postgres Migration Part 2 - Running Postgres 2016-06-22 @IDM Chris Mair http://www.pgtraining.com The Workshop very quick walk through for Postgres-DBAs to-be installation, getting support,

More information

Veritas NetBackup for PostgreSQL Administrator's Guide

Veritas NetBackup for PostgreSQL Administrator's Guide Veritas NetBackup for PostgreSQL Administrator's Guide Windows and Linux Release 8.1.1 Documentation version: 8.1.1 Legal Notice Copyright 2017 Veritas Technologies LLC. All rights reserved. Veritas and

More information

Replication in Postgres

Replication in Postgres Replication in Postgres Agenda Replikasyon nedir? Neden ihtiyaç vardır? Log-Shipping nedir? High Availability'ye ve Load Balancing'e nasıl etkisi vardır? Failover anında bizi nasıl kurtarır? Core PostgreSQL

More information

GridSQL Administration Guide

GridSQL Administration Guide GridSQL Administration Guide GridSQL Version 2.0 February 2010 GridSQL Administration Guide Table of Contents Table of Contents...2 1 Introduction...4 1.1 Overview...4 1.2 References...4 2 Installation...5

More information

PGXC_CTL Primer. Configuring and operating Postgres-XC database cluster May 7th, 2014 Koichi Suzuki

PGXC_CTL Primer. Configuring and operating Postgres-XC database cluster May 7th, 2014 Koichi Suzuki PGXC_CTL Primer Configuring and operating Postgres-XC database cluster May 7th, 2014 Koichi Suzuki Change History: May 7th, 2014: Initial version. Oct 2nd, 2014: Added license condition. This article is

More information

Warm standby done right. Heikki Linnakangas / Pivotal

Warm standby done right. Heikki Linnakangas / Pivotal Warm standby done right Heikki Linnakangas / Pivotal This presentation About built-in tools Not about repmgr, WAL-e etc. You probably should use those tools though! Not about monitoring, heartbeats etc.

More information

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again:

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again: Storage Node Setup A storage node (or system as your scale) is a very important unit for an HPC cluster. The computation is often about the data it produces and keeping that data safe is important. Safe

More information

What is Secure. Authenticated I know who I am talking to. Our communication is Encrypted

What is Secure. Authenticated I know who I am talking to. Our communication is Encrypted Crypto App - SSH 1 What is Secure Authenticated I know who I am talking to Our communication is Encrypted Telnet clear text Servers Terminal clear text Routers SSH encrypted channel encrypted text Servers

More information

Postgres for MySQL DBAs

Postgres for MySQL DBAs Postgres for MySQL DBAs JOHN CESARIO RYAN LOWE PGCONFSV2015 TERMINOLOGY Schema A schema is a named collection of tables. A schema can also contain views, indexes, sequences, data types, operators, and

More information

Distributed Point-in-Time Recovery with Postgres. Eren Başak Cloud Software Engineer Citus Data

Distributed Point-in-Time Recovery with Postgres. Eren Başak Cloud Software Engineer Citus Data Distributed Point-in-Time Recovery with Postgres Eren Başak Cloud Software Engineer Citus Data PGConf.Russia 2018 Overview What is Point-in-Time Recovery How to do point-in-time recovery Distributed Point-in-time-Recovery

More information

ARCHER Data Services Service Layer

ARCHER Data Services Service Layer ARCHER 1.0 ARCHER Data Services Service Layer System Administrator s Guide ICAT & MCAText Installation Configuration Maintenance ARCHER Data Services Service Layer... 1 About ARCHER Data Services Service

More information

Streaming Replication: Switchover/Switchback in EDB Postgres Advanced Server

Streaming Replication: Switchover/Switchback in EDB Postgres Advanced Server Streaming Replication: Switchover/Switchback in EDB Postgres Advanced Server EPAS Version 9.5 July 15, 2016 by EnterpriseDB Corporation Copyright 2016 EnterpriseDB Corporation. All rights reserved. EnterpriseDB

More information

MMS Backup Manual Release 1.4

MMS Backup Manual Release 1.4 MMS Backup Manual Release 1.4 MongoDB, Inc. Jun 27, 2018 MongoDB, Inc. 2008-2016 2 Contents 1 Getting Started with MMS Backup 4 1.1 Backing up Clusters with Authentication.................................

More information

High availability and analysis of PostgreSQL

High availability and analysis of PostgreSQL High availability and analysis of PostgreSQL Sergey Kalinin 18-19 of April 2012, dcache Workshop, Zeuthen Content There is a lot you can do with PG. This talk concentrates on backup, high availability

More information

IPv6 Sauron - Quick How To

IPv6 Sauron - Quick How To IPv6 Sauron - Quick How To Padrta, A., Kostěnec, M. September 22, 2014 Contents 1 Introduction 2 2 Deployment Scheme 2 2.1 Sauron Database Operations.............................. 2 2.1.1 Data Export...................................

More information

PostgreSQL Architecture. Ágnes Kovács Budapest,

PostgreSQL Architecture. Ágnes Kovács Budapest, PostgreSQL Architecture Ágnes Kovács Budapest, 2015-01-20 Agenda Introduction Overview of architecture Process structure Shared memory Concurrency handling The Optimizer Introduction What is PostgreSQL?

More information

Pivotal Greenplum Command Center

Pivotal Greenplum Command Center Pivotal Greenplum Command Center Version 4.0 User Guide Rev: 02 2018 Pivotal Software, Inc. Table of Contents Table of Contents Pivotal Greenplum Command Center 4.0 Documentation Pivotal Greenplum Command

More information

Pivotal Greenplum Command Center

Pivotal Greenplum Command Center Pivotal Greenplum Command Center Version 4.1 Release Notes Rev: 01 2018 Pivotal Software, Inc. Table of Contents Table of Contents Pivotal Greenplum Command Center 4.1.0 Documentation Pivotal Greenplum

More information

Avaya Callback Assist Application Notes for PostgreSQL Replication

Avaya Callback Assist Application Notes for PostgreSQL Replication Avaya Callback Assist Application Notes for PostgreSQL Replication Release 4.7.0.0 July 2018 2015-2018 Avaya Inc. All Rights Reserved. Notice While reasonable efforts have been made to ensure that the

More information

Deploying Rubrik Datos IO to Protect MongoDB Database on GCP

Deploying Rubrik Datos IO to Protect MongoDB Database on GCP DEPLOYMENT GUIDE Deploying Rubrik Datos IO to Protect MongoDB Database on GCP TABLE OF CONTENTS INTRODUCTION... 1 OBJECTIVES... 1 COSTS... 2 BEFORE YOU BEGIN... 2 PROVISIONING YOUR INFRASTRUCTURE FOR THE

More information

Setting up PostgreSQL

Setting up PostgreSQL Setting up PostgreSQL 1 Introduction to PostgreSQL PostgreSQL is an object-relational database management system based on POSTGRES, which was developed at the University of California at Berkeley. PostgreSQL

More information

Postgres-XC Dynamic Cluster Management

Postgres-XC Dynamic Cluster Management Postgres-XC Dynamic Cluster Management Koichi Suzuki Postgres-XC Development Group Postgres Open 2013 September 17th, 2013 Hotel Sax, Chicago, USA Outline of the Talk Postgres-XC short review Architecture

More information

TELE301 Lab16 - The Secure Shell

TELE301 Lab16 - The Secure Shell TELE301 Lab16 - The Secure Shell Department of Telecommunications May 7, 2002 Contents 1 Introduction 2 2 OpenSSH 2 3 Replacing Telnet 2 4 Logging in without a password 2 5 SSH Agent 3 5.1 SSH Add..............................

More information

Introduction to UNIX Command Line

Introduction to UNIX Command Line Introduction to UNIX Command Line Files and directories Some useful commands (echo, cat, grep, find, diff, tar) Redirection Pipes Variables Background processes Remote connections (e.g. ssh, curl) Scripts

More information

Orca Installation Guide

Orca Installation Guide Orca Installation Guide Orca Version 1.7.1 Document Revision 4.0 May 2009 Orca Installation Guide Document Revision 4.0 May 2009 Concept Systems Limited 1 Logie Mill, BeaverBank Business Park Logie Green

More information

Log File Management Tool Deployment and User's Guide. Initializing the DBMS

Log File Management Tool Deployment and User's Guide. Initializing the DBMS Log File Management Tool Deployment and User's Guide Initializing the DBMS 12/19/2017 Contents 1 Initializing the DBMS 1.1 On Linux 1.2 On Windows Log File Management Tool Deployment and User's Guide 2

More information

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Review of the Linux File System and Linux Commands 1. Introduction Becoming adept at using the Linux OS requires gaining familiarity

More information

SAS Viya 3.3 Administration: Backup and Restore

SAS Viya 3.3 Administration: Backup and Restore SAS Viya 3.3 Administration: Backup and Restore Backup and Restore: Overview This backup and restore documentation applies to a Linux installation. The Backup and Restore service, when executed, automatically

More information

bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs

bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs Frauke Bösert, SCC, KIT 1 Material: Slides & Scripts https://indico.scc.kit.edu/indico/event/263/ @bwunicluster/forhlr I/ForHLR

More information

LifeKeeper for Linux v7.0. PostgreSQL Recovery Kit Administration Guide

LifeKeeper for Linux v7.0. PostgreSQL Recovery Kit Administration Guide LifeKeeper for Linux v7.0 PostgreSQL Recovery Kit Administration Guide October 2010 SteelEye and LifeKeeper are registered trademarks. Adobe Acrobat is a registered trademark of Adobe Systems Incorporated.

More information

HP IT Operations Compliance Community Edition

HP IT Operations Compliance Community Edition HP IT Operations Compliance Community Edition Software Version: 00.14.1200 - Getting Started Guide Document Release Date: January 2015 Software Release Date: January 2015 Legal Notices Warranty The only

More information

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala Linux Training for New Users of Cluster Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala pakala@uga.edu 1 Overview GACRC Linux Operating System Shell, Filesystem, and Common

More information

SIOS Protection Suite for Linux PostgreSQL Recovery Kit v Administration Guide

SIOS Protection Suite for Linux PostgreSQL Recovery Kit v Administration Guide SIOS Protection Suite for Linux PostgreSQL Recovery Kit v9.1.1 Administration Guide Jan 2017 This document and the information herein is the property of SIOS Technology Corp. (previously known as SteelEye

More information

Original Script. Display commands to manually creating an account. #!/bin/bash

Original Script. Display commands to manually creating an account. #!/bin/bash To show some of the basic components of shell scripting, we are going to take a common task, creating a new user, and design a script to help automate this process. Original Script Display commands to

More information

Cryptography - SSH. Network Security Workshop May 2017 Phnom Penh, Cambodia

Cryptography - SSH. Network Security Workshop May 2017 Phnom Penh, Cambodia Cryptography - SSH Network Security Workshop 29-31 May 2017 Phnom Penh, Cambodia What is Safely Authentication I know who I am talking with Our communication is Encrypted Telnet Servers Terminal Routers

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

Adding an Additional Node to an existing Oracle Applications Instance Using Rapidclone

Adding an Additional Node to an existing Oracle Applications Instance Using Rapidclone Adding an Additional Node to an existing Oracle Applications Instance Using Rapidclone This document describes, how we can add an additional node to an existing Oracle Applications Instance using rapidclone

More information

Cryptography - SSH. Network Security Workshop. 3-5 October 2017 Port Moresby, Papua New Guinea

Cryptography - SSH. Network Security Workshop. 3-5 October 2017 Port Moresby, Papua New Guinea Cryptography - SSH Network Security Workshop 3-5 October 2017 Port Moresby, Papua New Guinea 1 What is Secure Authentication I know who I am talking to Our communication is Encrypted Telnet Servers Terminal

More information

Migration of Existing NSM Server from standalone to an Extended HA environment

Migration of Existing NSM Server from standalone to an Extended HA environment Migration of Existing NSM Server from standalone to an Extended HA environment The below procedure is to migrate the existing Standalone NSM server setup to a 4 Server HA environment where the GUI Server

More information

Aliases are set manually or in a login script. Aliases that were set manually will be gone the next time you login.

Aliases are set manually or in a login script. Aliases that were set manually will be gone the next time you login. Page 1 and 2: question without commands. Page 3 7 : questions with answers. Aliases are set manually or in a login script. Aliases that were set manually will be gone the next time you login. 1. List your

More information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot

More information

Data Analytics Studio Installation

Data Analytics Studio Installation 1 Data Analytics Studio Installation Date of Publish: 2018-10-08 http://docs.hortonworks.com Contents Installation Overview... 3 Installing Data Analytics Studio Engine on Clusters...3 Prerequisites for

More information

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

CS615 - Aspects of System Administration. Configuration Management

CS615 - Aspects of System Administration. Configuration Management CS615 - Aspects of System Administration Slide 1 CS615 - Aspects of System Administration Configuration Management Department of Computer Science Stevens Institute of Technology Jan Schaumann jschauma@stevens-tech.edu

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Linux Administration

Linux Administration Linux Administration This course will cover all aspects of Linux Certification. At the end of the course delegates will have the skills required to administer a Linux System. It is designed for professionals

More information

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim.

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim. Head Node Make sure that you have completed the section on Precursor Steps and Storage. Key parts of that are necessary for you to continue on this. If you have issues, please let an instructor know to

More information

Repository Management

Repository Management APPENDIX A Repository management tools are handled through any Web browser, as shown in Chapter 4, VPN Console: File Menu. Additionally, you can do the following: Run dbbackup from the command line to

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

WAL for DBAs Everything you want to know

WAL for DBAs Everything you want to know Everything you want to know Devrim Gündüz Principal Systems Engineer @ EnterpriseDB devrim.gunduz@enterprisedb.com Twitter : @DevrimGunduz 2013 EnterpriseDB Corporation. All rights reserved. 1 About me

More information

IT341 Introduction to System Administration. Project 4 - Backup Strategies with rsync and crontab

IT341 Introduction to System Administration. Project 4 - Backup Strategies with rsync and crontab IT341 Introduction to System Administration Project 4 - Backup Strategies with rsync and crontab Backup is one of the most important things a system administrator does. It is important to decide what data

More information

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1 1 UNIX... 1-2 1.1 USER-ENVIRONMENT... 1-2 1.1.1 User-environment... 1-3 1.1.2 Basic commands... 1-3 1.1.3 SCO Unix specific commands... 1-4 1.1.4 HP Unix specific commands... 1-4 1.2 FILE SYSTEM... 1-5

More information

Contingency Planning and Backups: SSH/SCP, Deltas, and Rsync

Contingency Planning and Backups: SSH/SCP, Deltas, and Rsync License Contingency Planning and Backups: SSH/SCP, Deltas, and Rsync This work by Z. Cliffe Schreuders at Leeds Metropolitan University is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported

More information

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one] Data and Computer Security (CMPD414) Lab II Topics: secure login, moving into HOME-directory, navigation on Unix, basic commands for vi, Message Digest This lab exercise is to be submitted at the end of

More information

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2 Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working

More information

User Inputs for Installation, Reinstallation, and Upgrade

User Inputs for Installation, Reinstallation, and Upgrade APPENDIXA User Inputs for Installation, Reinstallation, and Upgrade This appendix provides information on the user inputs during Service Monitor installation, reinstallation, and upgrade. This appendix

More information

PostgreSQL in the Enterprise

PostgreSQL in the Enterprise PostgreSQL in the Enterprise 11:35 St.John's Room II Wed 19 Nov 2005 Simon Riggs simon@2ndquadrant.com Magnus Hagander mha@sollentuna.net PostgreSQL Global Development Group PostgreSQL Stack Mature platform

More information

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

Setting up a Chaincoin Masternode

Setting up a Chaincoin Masternode Setting up a Chaincoin Masternode Introduction So you want to set up your own Chaincoin Masternode? You ve come to the right place! These instructions are correct as of April, 2017, and relate to version

More information

To stop. Server#service postgresql stop

To stop. Server#service postgresql stop PostgreSQL is required as Database for OpenNMS. While I was playing with OpenNMS, I need to have a tool in order to empty all testing data and information. Unfortuately, OpenNMS admin console doesn't provide

More information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS Fundamentals of Programming II Fall Very Basic UNIX CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)

More information

Step 1 - Install Apache and PostgreSQL

Step 1 - Install Apache and PostgreSQL How to install OTRS (Open Source Trouble Ticket System) on Ubuntu 16.04 Prerequisites Ubuntu 16.04. Min 2GB of Memory. Root privileges. Step 1 - Install Apache and PostgreSQL In this first step, we will

More information

IT Services Security. The Dark Arts Of SSH. Author: John Curran Version: 0.1

IT Services Security. The Dark Arts Of SSH. Author: John Curran Version: 0.1 IT Services Security The Dark Arts Of SSH Author: John Curran Version: 0.1 STATUS\ REVISION HISTORY Date Version Description 0.1-0.9 Review preparation 1.0 Presented to business & retained by Information

More information

Administrating TeamForge 6.1 on CentOS

Administrating TeamForge 6.1 on CentOS Administrating TeamForge 6.1 on CentOS 2 OpenTopic TOC Contents Help for system administrators...7 Install CollabNet TeamForge 6.1 on CentOS...7 Plan your CollabNet TeamForge 6.1 installation...7 Install

More information

Housekeeping for SAP HANA Platform

Housekeeping for SAP HANA Platform RollOut Guide SAP Business One, version for SAP HANA Document Version: 1.0 2018-11-07 Typographic Conventions Type Style Example Example EXAMPLE Example Example Description Words or characters

More information

Lab #1 Installing a System Due Friday, September 6, 2002

Lab #1 Installing a System Due Friday, September 6, 2002 Lab #1 Installing a System Due Friday, September 6, 2002 Name: Lab Time: Grade: /10 The Steps of Installing a System Today you will install a software package. Implementing a software system is only part

More information

Adobe Marketing Cloud Using FTP and sftp with the Adobe Marketing Cloud

Adobe Marketing Cloud Using FTP and sftp with the Adobe Marketing Cloud Adobe Marketing Using FTP and sftp with the Adobe Marketing Contents Using FTP and sftp with the Adobe Marketing...3 Setting Up FTP Accounts Hosted by Adobe...3 Classifications...3 Data Sources...4 Data

More information

Vendor: PostgreSQL. Exam Code: PGCES-02. Exam Name: PostgreSQL CE 8 Silver. Version: Demo

Vendor: PostgreSQL. Exam Code: PGCES-02. Exam Name: PostgreSQL CE 8 Silver. Version: Demo Vendor: PostgreSQL Exam Code: PGCES-02 Exam Name: PostgreSQL CE 8 Silver Version: Demo QUESTION: 1 Select two suitable statements regarding the following SQL statement: CREATE TRIGGER trigger_1 AFTER UPDATE

More information

PostgreSQL 8.1 on Solaris 10 Deployment Guidelines

PostgreSQL 8.1 on Solaris 10 Deployment Guidelines Author : Chris Drawater Date : 20/01/2006 Version : 1.1 PostgreSQL 8.1 on Solaris 10 Deployment Guidelines Abstract Advance planning enables PostgreSQL 8.1 to be quickly deployed in a basic but resilient

More information

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical

More information

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN<

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< MPILMAN@INF.ETHZ.CH> ORGANIZATION Tutorials on Tuesdays - Sometimes, will be announced In General: no exercise sessions (unless you get an email

More information

CSCM98 Lab Class #5 Getting familiar with the command line

CSCM98 Lab Class #5 Getting familiar with the command line CSCM98 Lab Class #5 Getting familiar with the command line Lab Class Description. Unix has some powerful commands that can be combined inside shell scripts. Today we will have a look at various commands

More information

RSA NetWitness Logs. EMC Ionix Unified Infrastructure Manager. Event Source Log Configuration Guide

RSA NetWitness Logs. EMC Ionix Unified Infrastructure Manager. Event Source Log Configuration Guide RSA NetWitness Logs Event Source Log Configuration Guide EMC Ionix Unified Infrastructure Manager Last Modified: Monday, March 06, 2017 Event Source Product Information: Vendor: EMC Event Source: EMC Ionix

More information

bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs

bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs Frauke Bösert, SCC, KIT 1 Material: Slides & Scripts https://indico.scc.kit.edu/indico/event/263/ @bwunicluster/forhlr I/ForHLR

More information

Converting from a synchronization server deployment to a streaming server deployment

Converting from a synchronization server deployment to a streaming server deployment Tivoli Application Dependency Discovery Manager Version 7 Release 2.1 Converting from a synchronization server deployment to a streaming server deployment Tivoli Application Dependency Discovery Manager

More information

Bitnami HHVM for Huawei Enterprise Cloud

Bitnami HHVM for Huawei Enterprise Cloud Bitnami HHVM for Huawei Enterprise Cloud Description HHVM is an open source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach

More information

EDB Postgres Containers and Integration with OpenShift. Version 1.0

EDB Postgres Containers and Integration with OpenShift. Version 1.0 EDB Postgres Containers and Integration with OpenShift Version 1.0 October 17, 2017 EDB Postgres Containers and Integration with OpenShift, Version 1.0 by EnterpriseDB Corporation Copyright 2017 EnterpriseDB

More information

John the Ripper on a Ubuntu MPI Cluster

John the Ripper on a Ubuntu MPI Cluster John the Ripper on a Ubuntu 10.04 MPI Cluster Pétur Ingi Egilsson petur [at] petur [.] eu 1 Table of Contents Foreword...3 History...3 Requirements...3 Configuring the Server...3 Requirements...3 Required

More information

Unix basics exercise MBV-INFX410

Unix basics exercise MBV-INFX410 Unix basics exercise MBV-INFX410 In order to start this exercise, you need to be logged in on a UNIX computer with a terminal window open on your computer. It is best if you are logged in on freebee.abel.uio.no.

More information

Booting a Galaxy Instance

Booting a Galaxy Instance Booting a Galaxy Instance Create Security Groups First time Only Create Security Group for Galaxy Name the group galaxy Click Manage Rules for galaxy Click Add Rule Choose HTTPS and Click Add Repeat Security

More information

Introduction to the UNIX command line

Introduction to the UNIX command line Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands

More information

Copyright 2018 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved.

Copyright 2018 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved. ThingWorx Foundation Docker Installation Guide 1.4 ThingWorx Foundation Docker Installer February 2018 Copyright 2018 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved. User and training guides

More information

2) Edit /etc/mysql/my.cnf and comment (to enable client communications) # bind-address =

2) Edit /etc/mysql/my.cnf and comment (to enable client communications) # bind-address = Installation: MySQL database server 1) Install server packages on server computer: Enable ubuntu universe reposity and install server packages $ sudo apt-get install mysql-server Enable mariadb reposity

More information

Logical Decoding : - Amit Khandekar. Replicate or do anything you want EnterpriseDB Corporation. All rights reserved. 1

Logical Decoding : - Amit Khandekar. Replicate or do anything you want EnterpriseDB Corporation. All rights reserved. 1 Logical Decoding : Replicate or do anything you want - Amit Khandekar 2014 EnterpriseDB Corporation. All rights reserved. 1 Agenda Background Logical decoding Architecture Configuration Use cases 2016

More information

Unix Shell scripting. Dr Alun Moon 7th October Introduction. Notation. Spaces

Unix Shell scripting. Dr Alun Moon 7th October Introduction. Notation. Spaces Unix Shell scripting Dr Alun Moon 7th October 2017 Introduction Shell scripts in Unix are a very powerfull tool, they form much of the standard system as installed. What are these good for? So many file

More information

irods hands-on tutorial

irods hands-on tutorial irods hands-on tutorial WORKSHOP 28 TH /29 TH APRIL 2015 Christine Staiger Contents The Basics Installation Tools for administration Adding data and metadata Complex storage systems Federations between

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,

More information

LECTURE 7. Readings: - SSH: The Definitive Guide; D.J. Barret et al.; O Reilly Lecture outline: - SSH. Marco Spaziani Brunella, Manuel Campo

LECTURE 7. Readings: - SSH: The Definitive Guide; D.J. Barret et al.; O Reilly Lecture outline: - SSH. Marco Spaziani Brunella, Manuel Campo LECTURE 7 Readings: - SSH: The Definitive Guide; D.J. Barret et al.; O Reilly Lecture outline: - SSH Remote Managing In real life, physical access to network nodes is not always an option. Often, we need

More information

Performing Administrative Tasks

Performing Administrative Tasks This chapter describes how to perform administrative tasks using Cisco CMX. Users who are assigned administration privileges can perform administrative tasks. Cisco CMX User Accounts, page 1 Backing Up

More information

Ubuntu LTS Install Guide

Ubuntu LTS Install Guide Ubuntu 16.04.5 LTS Install Guide Sirenia September 17, 2018 Contents 1 Content 2 2 Login to server 2 3 Ensure access to repositories 3 4 Install Docker 3 5 Install Docker Compose 4 6 Pull software 4 7

More information

SAS Viya 3.2 Administration: SAS Infrastructure Data Server

SAS Viya 3.2 Administration: SAS Infrastructure Data Server SAS Viya 3.2 Administration: SAS Infrastructure Data Server SAS Infrastructure Data Server: Overview SAS Infrastructure Data Server is based on PostgreSQL version 9 and is configured specifically to support

More information

vrealize Hyperic Installation and Configuration Guide

vrealize Hyperic Installation and Configuration Guide vrealize Hyperic Installation and Configuration Guide vrealize Hyperic 5.8.4 This document supports the version of each product listed and supports all subsequent versions until the document is replaced

More information