METALIB VERSION 4 How to Remove MetaLib Version 3

Similar documents
How to Install Oracle Database 10g

SYSTEM DOCUMENTATION. ALEPH 500 Installation Instructions Version 16

ALEPH VERSION Staff User s Guide - Task Manager

Requirements for Rosetta Installation. Version 5.x

Dawson Shelf Ready Best Practices

ORACLE Application Server Installation Guide for HPUX 11

Rosetta 5.4 Service Pack Installation Guide

Requirements for ALEPH 500 Installation

Product Support Notice

Requirements for Aleph Installation. Version 23

Voyager ILL 6.5 Release Notes

Staff User s Guide Task Manager. Version 22

Setting Up Oracle for Prime Fulfillment

SMS Proxy User s Guide

MetaLib+ Configuration Guide. Version 1.0

Setting Up Oracle for ISC

Installing Prime Optical

Installing and Patching Oracle

Migrating/Upgrading to Oracle Version 8.1.5: UNIX (BC-DB- ORA

TransNav Xpert Installation Guide

Lab Working with Linux Command Line

System Librarian s Guide Task Manager. Version 23

SIOS Protection Suite for Linux Oracle Recovery Kit v Administration Guide

Author A.Kishore Convert 11gR2 non-rac database to RAC database using rconfig

Obtaining and Installing the Updated TSBroadcaster Scripts

Advanced PDS Topics. Andrew Walsh Team Lead, NA Primo Support Teams

Dell Protected Workspace Management

Oracle Database Express Edition

Oracle Application Express: Administration 1-2

Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit

Grid Control Patch Set Step by Step Install On Linux

Oracle Tuxedo Mainframe Adapter for OSI TP

Maintaining an Efficient Network

EVault InfoStage 5.6 Oracle Plug-In for Solaris and Windows. Installation & Configuration Guide

BPPM Patrol Agent Installation Steps on Linux and Automation Integration

Patron Directory Services Guide. Versions 1.3 & 2.x

Installation Guide for Siebel Service Manager. For Hewlett-Packard HP-UX Operating System, BEA WebLogic Server, and Oracle Database

1 How These Notes Are Organized. 2 Certification Information

2006/8/16. EMS Quick Start Guide 1

WebReporter - Symphony Server install procedures

Oracle FLEXCUBE Direct Banking

Performing Administrative Tasks

Visara Master Console Center. Software Installation P/N

Oracle Tuxedo System and Application Monitor (TSAM)

Product Release Notes for Avaya Proactive Contact Database

ORACLE NETWORKING: CONFIGURING BASIC NET8/SQL*NET COMPONENTS

Installing, Migrating, and Uninstalling HCM Dashboard

Global Data Change. Version 8.2

How to Convert Aleph GUI Help Files from WinHelp to HTMLHelp

Oracle FLEXCUBE Core Banking

SonicWALL Global Management System Installation Guide Standard Edition

Oracle 11g R2. Installation and Configuration Guide. Abstract

IBM. Updating the Oracle database for V5.2.2

TIBCO iprocess Objects (Java) Installation. Software Release 10.4 May 2010

Oracle Utilities Data Model Installation Guide. Release 12.2

Lab 3a Using the vi editor

Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express

Abstract. This is the MySQL OS X extract from the MySQL 5.6 Reference Manual. For legal information, see the Legal Notices.

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

TJU Syllabus for Linux Fundamentals and Applications

Who Can Use the Quick Upgrade Guide?

Author A.Kishore

JRE version 1.1.6v5 (Java Runtime Environment) - please DO NOT get the JDK instead. This can be downloaded from

BEAAquaLogic. Interaction Studio. Installation and Upgrade Guide

Installing Cisco Prime Network Unit

Lecture # 2 Introduction to UNIX (Part 2)

Requirements for MetaLib V4 and SFX V4 Installation. Version 4

Oracle AD Controller

Oracle Intelligent Agent

Lab 2: Installation of Oracle XE & SOA11g

About these Release Notes

Oracle Communications Policy Management Configuring NetBackup for Upgrade Method of Procedure

TECHILA WORKER INSTALLATION GUIDE LINUX ADMINISTRATOR GUIDE

Technical Note. Restoring Dell EMC Avamar Checkpoint Backups from a Dell EMC Data Domain System After a Single Node Avamar Failure

IBM AIX Basic Operations V5.

UNIX and Linux Essentials Student Guide

Migrating from Intuity Audix R4.4 to Avaya Aura Communication Manager Messaging R6.0

LINUX VPS GUIDE. Pre-requisites: (this guide assumes you are using windows)

Configuration and Administration Guide

Space Manager with LiveReorg 8.5. Installation Guide

TotalView. Installation Guide. November 2004 version 6.6

Red Hat CloudForms 4.0

Oracle Fusion Middleware

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

GMU Specifications And Installation Procedures Page 1 04/04/08. JBM Gateway Management Utility Server Specifications And Installation Procedures

Oracle SOA Suite VirtualBox Appliance. Introduction and Readme

Lab 2A> ADDING USERS in Linux

CiscoView CD Installation Instructions for Solaris and HP-UX

Server Automation. Software Version: Install Guide

Oracle Health Sciences Information Gateway. 1 Introduction. Security Guide Release 2.0.1

Linux Nuts and Bolts

Upgrading to BAMS Release 3.30

Abstract. This is the MySQL OS X extract from the MySQL 5.5 Reference Manual. For legal information, see the Legal Notices.

Installation Instructions: Oracle XML DB XFILES Demonstration. An Oracle White Paper: November 2011

The Aleph Service Pack Mechanism- Post Release SP Version 20

Short Read Sequencing Analysis Workshop

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

Siemens PLM Software. HEEDS MDO Setting up a Windows-to- Linux Compute Resource.

Infor ERP LN 6.1 Data Converter

Transcription:

METALIB VERSION 4 How to Remove MetaLib Version 3 Last Update: July 29, 2007 Document Version 1.0 Code:M-ver3.0-HTRM

CONFIDENTIAL INFORMATION The information herein is the property of Ex Libris Ltd. or its affiliates and any misuse or abuse will result in economic loss. DO NOT COPY UNLESS YOU HAVE BEEN GIVEN SPECIFIC WRITTEN AUTHORIZATION FROM EX LIBRIS LTD. This document is provided for limited and restricted purposes in accordance with a binding contract with Ex Libris Ltd or an affiliate. The information herein includes trade secrets and is confidential. DISCLAIMER The information in this document will be subject to periodic change and updating. Please confirm that you have the most current documentation. There are no warranties of any kind, express or implied, provided in this documentation, other than those expressly agreed upon in the applicable Ex Libris contract. Any references in this document to non-ex Libris Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this Ex Libris product and Ex Libris has no liability for materials on those Web sites. Copyright Ex Libris Limited, 2007. All rights reserved. Documentation produced July 2007. Document version 1.0 Web address: http://www.exlibrisgroup.com 2

Table of Contents 1. SHUTDOWN ALL PROCESSES FOR METALIB VERSION 3...4 1.1 Shutdown Apache...4 1.2 Shutdown MetaLib...4 2. REMOVE METALIB VERSION 3 USERS FROM THE DATABASE...5 2.1 Remove Users...5 3. DELETE THE METALIB VERSION 3 DATABASE...6 3.1 Get Relevant Oracle Definitions...7 4. REMOVE THE DATABASE FILES...7 5. REMOVE THE DATABASE DEFINITIONS FROM THE ORATAB FILE....8 6. REMOVE METALIB VERSION 3 DATABASE DEFINITIONS FROM THE LISTENER...8 7. CHECK.CSHRC FILE DEFINITIONS...10 8. REMOVE THE METALIB 3 APPLICATION (M3_1 TREE)...10 8.1 Remove MetaLib Version 3 Software Directory...10 8.2 Remove MetaLib Version 3 Logbook...10 9. REMOVE THE ORACLE 920 SOFTWARE (IF REQUIRED)...10 10. REMOVE METALIB VERSION 3 FROM THE STARTUP SCRIPTS...11 11. REMOVE METALIB VERSION 3 FROM THE INITIAL LOGIN MENU.....11 3

All operations described in this document require knowledge and experience in operating systems and should be done by qualified staff only. This document describes how to remove MetaLib version 3 and Oracle 920 with the relevant database. Before removing MetaLib 3 or one of its components, perform a full backup of the other versions, products, and databases located on the same server from which the MetaLib version 3 and the relevant database will be removed. 1. Shutdown All Processes for MetaLib Version 3 1.1 Shutdown Apache Login as user metalib to the relevant instance of version 3 (for example, m3_1). To stop the Apeche server and SSL for HTTPD_PORT < 1024 If current HTTPD_PORT is lower than 1024, you need root permissions to stop the Apache server. Use command su (not su ) to get root permissions: >>cd $httpd_root/bin >>su Password: ******* >>./apachectl stop Exit from the root session; continue as user metalib: >>exit To stop the Apache server and SSL for HTTPD_PORT > 1024 >>cd $httpd_root/bin >>./apachectl stop 1.2 Shutdown MetaLib To shutdown MetaLib, perform the following commands while still being logged into the relevant instance as user metalib: >>cd $metalib_conf >>metalib_shutdown Verify that all m3_n processes have been taken down: For SUN OS: >>ps -ef grep m3_n 4

For LINUX OS: >>ps -efw grep m3_n 2. Remove MetaLib Version 3 Users from the Database This step should be performed only if the other MetaLib instances use the same database. In order to check if another instance uses the same database, perform the following commands: grep $ORACLE_SID /exlibris/metalib/m*/metalib_conf/metalib_start 2.1 Remove Users Login as user metalib to the relevant instance of version 3 and perform the following: >>sqlplus $METALIB_ADMIN >>select * from all_users; >>select * from all_users where USERNAME like 'M3N_%'; where N is the number of the instance you are removing. You get a list of the version's users. For Example: SQL-METALIB_ADMIN> select * from all_users where USERNAME like 'M31_%'; **** Hit return to continue **** USERNAME USER_ID CREATED ------------------------------ ---------- --------------- M31_DAT01 76 11-APR-05 M31_JNL01 77 11-APR-05 M31_PDS 31 05-APR-04 M31_VIR00 78 11-APR-05 M31_VIR01 79 11-APR-05 5 rows selected Run the following command for each user in order to remove the users from the database: >>drop user USERNAME cascade; For example: : >>drop user M31_JNL01 cascade; >>drop user M31_PDS cascade; >>drop user M31_VIR01 cascade; 5

3. Delete the MetaLib Version 3 Database This step should be preformed only if no other MetaLib instance uses the same database. In order to check that no other MetaLib instance is using the same database, perform the following commands: grep $ORACLE_SID /exlibris/metalib/m*/metalib_conf/metalib_start Scripts for removal of the MetaLib version 3 database can be obtained at the Ex Libris FTP server. To receive a password for the Ex Libris FTP server, contact your local support office. Download the scripts mentioned below to./exlibris/ftp_from_exlibris directory: >>cd /exlibris/ftp_from_exlibris >>ftp ftp.exlibris.co.il >>user: metal Enter username metal and the password for login on the FTP server. >>cd scripts >>bin >>get install_ora.tar.gz >>bye Open the tar files: >>gzip d install_ora.tar.gz >>tar xf install_ora.tar When this operation is finished, the relevant scripts are downloaded into /exlibris/ftp_from_exlibris/scripts. 6

3.1 Get Relevant Oracle Definitions Login as user metalib to the relevant instance of version 3 (for example, m3_1) and Get the database name, relevant Oracle owner and version definitions using the following commands: >>echo $ORACLE_SID >>echo $ORACLE_OWNER >>echo $ORACLE_HOME Check which disk contains the database files by running the following command: >>ls /exli*/oradata You will see a list of drives and the databases that are stored on them. /exlibris/oradata: meta3/ /exlibris1/oradata: meta4/ aleph1/ For example, if the database name you received when performing the echo $ORACLE_SID command, is meta3, the drive you are looking for is exlibris. The files can also reside on more then one drive. /exlibris/oradata: meta3/ /exlibris1/oradata: meta3/ meta4/ aleph1/ Check that no other MetaLib version 3 instance uses the same database. To perform this check, perform the following command: grep $ORACLE_SID /exlibris/metalib/m*/metalib_conf/metalib_start 4. Remove the Database Files Connect as user oracle (use the ORACLE_OWNER name) and remove the database (meta3 in example below): >>su oracle >>cd /exlibris/ftp_from_exlibris/scripts/920/create_db Run the following scripts. Be careful to answer the questions in the prompts correctly: >>csh -f clean0.csh (shutdown the meta3 database) 7

The script asks for the Oracle_SID and for confirmation for shutting down the database. >>su oracle >>cd /exlibris/ftp_from_exlibris/scripts/920/create_db >>csh -f clean1.csh (remove the meta3 database) The script asks for the Oracle_SID and the Oracle Software Mount Point that should be the base of the $ORACLE_HOME parameter value (usually /exlibris). The script also asks for the version of Oracle being removed. This can be found as a three digit number at the end of the $ORACLE_HOME parameter value (for MetaLib version 3 - usually 920). It also requests the names of the disks containing the database files (this is the information as that obtained in step 3.1 Get Relevant Oracle Definitions). 5. Remove the Database Definitions from the oratab File Backup the oratab file before making any changes. Login as root user: >>su For SUN OS: >>cp p /var/opt/oracle/oratab /var/opt/oracle/oratab.<date> >>vi /var/opt/oracle/oratab For LINUX OS: >>cp p /etc/oratab /etc/oratab.<date> >>vi /etc/oratab Remove the relevant line (the example below is for database name meta3, using oracle920): meta3:/exlibris/app/oracle/product/920:y 6. Remove MetaLib Version 3 Database Definitions from the Listener This step requires a restart of the Web servers for all versions existing on the server after performing the listener restart. Login as an oracle9 user (use the ORACLE_OWNER name defined in MetaLib 3 version): >>su oracle9 >>cd $ORACLE_HOME/network/admin Save the original files (listener.ora & tnsnames.ora) >>cp p listener.ora listener.ora.<date> 8

>>cp p tnsnames.ora tnsnames.ora.<date> Modify the files listener.ora and tnsnames.ora. Remove the definitions of the deleted database and save the files. The examples below are for the database named meta3 using oracle 9. Remove the following lines from the tnsnames.ora file: mldev.meta3batch=(description= (address= (protocol=ipc) (key=meta3)) (address= (protocol=tcp) (host=mldev) (port=1521)) (connect_data=(service_name=meta3)(server=dedicated))) mldev.meta3=(description= (address= (protocol=ipc) (key=meta3)) (address= (protocol=tcp) (host=mldev) (port=1521)) (connect_data=(service_name=meta3.exlibrisint.il)(server=shared))) Remove the following lines from listener.ora: (address= (protocol=ipc) (key=meta3)) (sid_desc= (global_name=meta3.mldev.exlibris-int.il) (sid_name=meta3) (oracle_home=/exlibris/app/oracle/product/920 ) Check if the listener is running and restart it. To check whether the listener is running, perform the following commands: For SUN OS: For Linux OS: >>ps -ef grep tns >>ps -efw grep tns If the server is running shut it down by performing the following command: >>lsnrctl stop 9

Restart the listener by performing the following command: >>lsnrctl start Check that the listener is running by performing the following command: >>ps -ef grep tns Login as user metalib to all other versions and restart the Web servers. Perform the following commands: >>su metalib >>start_w Connect to the Web interface of the other versions and perform a simple search to check that the system is functioning correctly. 7. Check.cshrc File Definitions In case there is another application that uses Oracle 920, login as an oracle9 user and correct the default ORACLE_SID parameter. >>su oracle9 >>cd $ORACLE_HOME >>vi.cshrc Set the ORACLE_SID to the appropriate database. 8. Remove the MetaLib 3 Application (m3_1 Tree) 8.1 Remove MetaLib Version 3 Software Directory Login as user metalib to the relevant instance of version 3 (for example, m3_1) >>su - metalib The example below is for m3_1: >>cd $ML_MOUNT >>rm rf m3_1 8.2 Remove MetaLib Version 3 Logbook Login as user metalib to the relevant instance of version 3 (for example, m3_1): >>su - metalib >>rm logbook.m3.13.m3_1 9. Remove the Oracle 920 Software (If required) Be sure that any other products installed on the server do not use Oracle 920 software. 10

Login as user oracle and remove the relevant directory: >>su oracle >>rm rf /exlibris/app/oracle/product/920 10. Remove MetaLib Version 3 from the Startup Scripts This step should only be performed by a System Administrator. Login to the relevant instance of version 3 (for example, m3_1) as user metalib: >>su - metalib Remove all m3_n and Oracle 920 (if required) occurrences from /exlibris/startup/init.dat. An example below is for m3_1. If Oracle 102 exists on the server, Oracle 920 listener should not be started. All strings to be deleted are marked in red: # oracle N:oracle:oracle:/exlibris/app/oracle/product/920 Y:oracle:oracle:/exlibris/app/oracle/product/102 # apache Y:apache:root:httpd:/exlibris/metalib/m3_1:../m3_1:apachectl_auto:apa chectl Y:apache:root:httpd:/exlibris/metalib/m3_2:../m3_2:apachectl_auto:apa chectl # metalib Y:metalib:metalib:/exlibris/metalib/m3_1:metalib_startup:metalib_shut down Y:metalib:metalib:/exlibris/metalib/m3_2:metalib_startup:metalib_shut down 11. Remove MetaLib Version 3 from the Initial Login Menu Login as metalib user to the relevant instance of version 3 (for example, m3_1). >>su - metalib Make a backup copy of the connection menu: >>cd /exlibris/metalib >>cp p def_metalib.dat def_metalib.dat.<date> Remove all m3_n related definitions. The example below is for installation using m3_1 instance. Change the highlighted value to 1. 11

Remove all definitions highlighted in red: set def=2 set list="1 2" setenv TERM vt220 ## ----- ---- ------- -------- ---- --------------------------------- -- # ## # # # # # # # 1 m3_1 3 11 8331 # # 2 m3_2 3 13 8992 # set login1="/exlibris/metalib/m3_1" set login2="/exlibris/metalib/m3_2" 12