• No results found

Pre-Installation Actions

In document 1350OMS_IG_9 6 11HPUX (Page 59-65)

2 INSTALL AND CUSTOMIZE 1350OMS

2.2 Software Package Predispose

2.2.2 Pre-Installation Actions

Hereafter there are some actions that have to be done before installing. 2.2.2.1 Create Software Depots

The installation can be executed retrieving the software from a local DVD or from a network depot. In case you choose to install from depot you have to define a system with enough disk space available, where two depots can be created, one for the third party software, that we will call “1350OMS-MW_OS Depot"; where you can store all the software layer distributed within 1350OMS-MW_OS, and one for the Alcatel- Lucent TNM software, that we will call “Alcatel-Lucent NMS Depot".

To setup the depot you need 15 Gbyte for 1350OMS-MW_OS Depot, and 19Gbyte for Alcatel-Lucent TNM.

The following paragraphs provide the instructions to create the depots. 2.2.2.1.1 Create 1350OMS-MW_OS Depot

1350OMS-MW_OS Depot can be useful when you have to install more than one system, because it allows to execute simultaneously and unattended installations. The detailed procedure to create the 1350OMS- MW_OS Depot (see “1350OMS 9.6 NMS Admin Guide" [2] “How to create a Network Depot").

2.2.2.1.2 Create Alcatel-Lucent NMS Depot

This paragraph shows how to create the depot for Alcatel-Lucent software.

The following actions must be executed on the depot machine; preferably it should be a machine in the network. It may be the same machine that you are installing, if you have sufficient free disks space. You have to login to the alcatel depot machine as “root" user, and execute the following command:

1) Extend /alu to allow the storage of Alcatel-Lucent software by entering the command:

...,sys,root # scextendfs /alu/DEPOT 19000 [Enter]

2) Change the default directory on the depot one:

...,sys,root # cd /alu/DEPOT [Enter]

You have to download all packages into /alu/DEPOT directory. You can retrieve the packages from: – A dedicated ftp site

– Optics Technical Excellence Center WEB – A set of distribution DVD

If you have a set of distribution DVD, for each distribution DVD ROM that contains the software you have to install (refer to Table 11. at page 141 for media references):

1) Insert the DVD into the driver.

2) Mount the DVD at /SD_CDROM directory:

...,sys,root # scmount /SD_CDROM [Enter]

3) Copy the entire DVD contents to /alu/DEPOT directory by entering the command:

...,sys,root # cp -p /SD_CDROM/* /alu/DEPOT [Enter]

4) Unmount the DVD:

...,sys,root # umount /SD_CDROM [Enter]

2.2.2.2 Host declaration

The network node description have to be filled in manually, for each host you have to communicate to, you must add a line with the IP Address followed by the host name in the /etc/hosts file (see “Node Name Management" paragraph 2.3.1 at page 82).

The machine you have to include are: – Hosts involved in TNM application. – Printers

– Licences management systems. – Time synchronization systems.

2.2.2.3 Authorize the Retrieval from Remote Depot Machine

This paragraph explains how to authorize the file retrieval from the remote depot machine, if you do not use a remote depot machine, or, if the depot machine is, at the same time, the target machine, skip it. For safety reasons, Remote Shell is configured so that any connections are NOT allowed, then, you must enable the rsh daemon.

– Login the system as root user.

Modify the file “/etc/inetd.conf” so that it changes from:

#shell stream tcp6 nowait root /usr/lbin/remshd remshd

to:

shell stream tcp6 nowait root /usr/lbin/remshd remshd

– execute the following command: ....,sys,root # inetd -c [Enter]

If the file “/etc/securetty” exists, then rename it in “/etc/securetty.disabled”: ....,sys,root # mv /etc/securetty /etc/securetty.disabled [Enter]

Furthermore, to be able to retrieve the Alcatel-Lucent software packages from the depot machine, the access to these files have to be granted to all the root users of all the machines that have to be installed. Then the file ~root/.rhosts located on the DEPOT machine must be created/modified so that it will contain a line with the hostname and the keyword “root" for each machine.

N.B. All the host included in ~root/.rhosts file have to be defined in /etc/hosts one.

Example: you have to install the following three systems: hosta, hostb and hostc (the depot machine itself). You have to write ~root/.rhosts file (in Depot machine) in this way:

hosta root hostb root hostc root

After your installation, remove the corresponding line from the file ~root/.rhosts, if it is the last (the file ~root/.rhost is empty) delete it.

VERY IMPORTANT!!

When you've installed all the machines, you MUST restore the files “/etc/inetd.conf” and “/etc/securetty” as were at the beginning.

2.2.3 Create local alu/DEPOT

If you're not the Network depot machine, then you must create the local DEPOT area to storage the Soft- ware Package Descriptors, Install Wizard tool and eventually manually patches, which must be present on the local machine.

Login the system as root user and then execute the following procedure ....,sys,root # scextendfs /alu/DEPOT 3000 [Enter]

...,sys,root # cd /alu/DEPOT [Enter]

...,sys,root # rcp -p <HOST>:/alu/DEPOT/Install_Wizard-R9.6.1.1.0UX . [Enter]

...,sys,root # rcp -p <HOST>:/alu/DEPOT/Install_Wizard_CMD-R9.6.1.1.0UX . [Enter]

...,sys,root # rcp -p <HOST>:/alu/DEPOT/1350OMS-MW_OS-SWPDESC-9.6.0.0.09.sdpkg . [Enter]

...,sys,root # rcp -p <FROM>:/alu/DEPOT/1350OMS-MW_OS-SCBackup327.sd . [Enter] Where <HOST> is equal to Network Depot machine IP address

2.2.4 1350OMS-MW_OS ScBackup cumulative raw patch

Install MW_OS ScBackup raw patch:

2.2.5 Upgrade Platform

Logout the root session (the next commands listed below must be executed by opening another session), then complete the MW_OS patch installation phase by executing (logged as root on the console or by a ssh remote connection) the following commands:

a) Start the upgrade procedure by entering:

...,sys,root # /SCINSTALL/etc/scupgrade [Enter]

b) The procedure will ask you if the software platform upgrade must be perform by DVD (In this case must be available all the DVD’s set and the DVD whit correct patche level upgrade must be mounted) or network depot (In this case must be available a DEPOT already updated to the correct patch level. --- LAYERED PRODUCTS Repository ---

1 - CD-ROM or DVD media 2 - Software Depot q - quit

Insert choice and press [Enter]: Update Platform from DVD

1) Reply the previous question by entering “1 [Enter]": Insert choice and press [Enter]: 1 [Enter] N.B. In this case must be available all the DVD's set.

2) The procedure asks you to enter the DVD driver file name, usually the proposed default is cor- rect.

Enter 'q' to Quit or the CD device [def=/dev/dsk/c0t0d0]: Update Platform from Network Depot

1) Reply the previous question by entering “2 [Enter]": Insert choice and press [Enter]: 2 [Enter] N.B. In this case must be a DEPOT available.

c) The procedure will check the amount of free space on the file system, and enlarge them when needed. If any enlarged file system is in use, the extension can not be complete, a reboot will be required by issuing the following message:

N.B. The file system extension can ask for new hard disk, refer to paragraph 2.1.13.3 “Disk Mirror Configuration Policy" at page 48 the rule for the hard disk choice. ___________________________________________________________________ System need reboot x complete extension of file system current ... ___________________________________________________________________

d) If one or more file system will require the system reboot the following message will be displayed: --- ATTENTION --- Upgrade 1350OMS-MW_OS install product(s) and/or Patches

System could automaticaly reboot The entire 1350OMS Application must be stopped. Do you want continue ?

Press [y] for yes or [n] for no, then press [Enter] Stop all the activity, if any, and reply with “y[Enter]".

e) If the system is configured with the "standard" security level, it will be automatically reconfigured and only the following message will be displayed:

NOTE: Check security level

Otherwise if the "trusted-base" or "trusted-advanced" security level is defined, it will be asked to con- firm the reconfiguration.

NOTE: Check security level

The security level configured on system is trusted-base. Do you want to reapply it at the end of upgrade [y/n]?: Reply with “y[Enter]"..

f) The following message will be displayed and the upgrade procedure starts.

NOTE: Executing Upgrade starting on Tue Jul 21 16:05:56 METDST 2009 ...

2.2.6 Install NMS Description and 1350OMS 9.6.11 Installation Procedure

Before starting with the NMS predispose action, you have to install the 1350OMS 9.6.11 Installation Pro- cedure and NMS description.

To install 1350OMS 9.6.11 installation procedure you have to execute the following procedure: a) Login the system as root user.

...,sys,root # cd /alu/DEPOT [Enter]

b) Install the NMS description by entering the command:

...,sys,root # swinstall -s /alu/DEPOT/1350OMS-MW_OS-SWPDESC-9.6.0.0.09.sdpkg \* [Enter]

c) Install the “Install_Wizard" software from medium by entering the command:

...,sys,root # sh ./Install_Wizard-R9.6.1.1.0UX [Enter] ...,sys,root # sh ./Install_Wizard_CMD-R9.6.1.1.0UX [Enter]

N.B. If the remote shell (remsh) fails with error: remshd: Login incorrect. check the depot machine access authorization (see paragraph 2.2.2.2 at page 58)

In document 1350OMS_IG_9 6 11HPUX (Page 59-65)