NEC Applications Manager Installation Manual
Have a look at the manual NEC Applications Manager Installation Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1168 NEC manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
NDA-30025 Revision 4.0Page 45 APM System Installation Manual APPLICATION MANAGER INSTALLATION 14. If the installation uses TCP/IP as its OAI link, the TCP/IP services for APM must be configured. To configure the TCP/IP, type y and press Enter at the“Will this installation be using TCP/IP to communicate with the PBX” prompt, and type y and press Enter at the “Do you want to install the TCP/IP Services for the APM Platform now” prompt. The TCP/IP Addressing menu displays: 15. The default IP address is configured when the UNIX TCP/IP Runtime system was installed. This does not need to be changed unless the UAP will be used to access the Internet or if the network administrator requires that the IP address conform to the network in place. The default IP is taken from the RFC 1597 where this address will not route through the Internet and will never be assigned. To accept the default IP address, type n and press Enter at the “Do you wish to change a UAP TCP/IP Interface Address” prompt. 16. The PBX TCP/IP address must be modified to allow the OAI system to communicate with the PBX. No PBX TCP/IP address is entered into the system during the UNIX installation. If this is a fresh installation, type y and press Enter at the “Do you wish to change a PBX TCP/IP Address (y/n)” prompt. The following menu displays: 17. To add an entry, type 1 and press Enter. >53 1]UbYSQ 1@= 9^cdQ\\QdY_^ DXe >_f ! !))& . >53 1]UbYSQ D3@9@ 1TTbUccY^W 3ebbU^d D3@9@ >Udg_b[ Y^dUbVQSUc 9^dUbVQSU 9@ 1TTbUcc >Udg_b[ =Qc[ 2b_QTSQcd 1TTbUcc U#5 !)!&(!! %%%%%% !)!&(!%% 4_ i_e gYcX d_ SXQ^WU Q E1@ D3@9@ 9^dUbVQSU 1TTbUcc i^ >53 1]UbYSQ 1@= 9^cdQ\\QdY_^ DXe >_f ! !))& . ! 1TT Q @2H D3@9@ 1TTbUcc 4U\UdU Q^ UhYcdY^W @2H D3@9@ 1TTbUcc# FYUg 3ebbU^d D3@9@ 1TTbUccUc 6Y\U C CQfU Q^T 5hYd gYdX 3XQ^WUcA AeYd Q^T 4YcSQbT 3XQ^WUc 5^dUb ?`dY_^*
Page 46NDA-30025 Revision 4.0 APPLICATION MANAGER INSTALLATION APM System Installation Manual 18. Type the host name of the PBX and press Enter. 19. Type the PBX TCP/IP address and press Enter. 20. If the host name and TCP/IP address are correct, type y and press Enter. The menu redisplays. 21. Type s and press Enter to save the PBX address and exit. The following screen appears: 22. The IP addresses will be updated in the /etc/hosts file. After the installation has completed, the OAI links must be configured by the Application Platform Manager. Press Enter to continue. 23. The message “Do you wish to install the modem scripts and update the uucp files” displays. Type y and press Enter to install and program the modem that will be used for remote access. 24. The modems are normally attached to COM1 of the PC. The device that is associated with COM1 is /dev/tty1A. This option will program the modem with default values that correspond to modems used at NEC. The modem will be used for remote access in case a problem occurs. Type /dev/tty1A and press Enter when the following message displays: “Enter tty device attached to modem [/dev/tty1A]”. Information displays as the modem is being programmed, as illustrated below: >53 1]UbYSQ 1@= 9^cdQ\\QdY_^ DXe >_f ! !))& . UdSX_cdc VY\U e`TQdUT C_ebSU _TUc Q^T 4UcdY^QdY_^ _TUc ]ecd RU cUde` dXQd c`USYVi dXU @2H X_cd^Q]U U^dbYUc DXYc Yc T_^U Vb_] dXU 1``\YSQdY_^c =Q^Q^WUb 1@= Ri cU\USdY^W dXU CicdU] 3_^VYWebQdY_^ U^dbi Y^ CicdU] 1T]Y^cdbQdY_^ ]U^e Q^T dXU^ V_\\_gUT Ri cU\USdY^W dXU C_ebSU
NDA-30025 Revision 4.0Page 47 APM System Installation Manual APPLICATION MANAGER INSTALLATION 25. Press Enter to continue. Modifications made to the UNIX operating system will require the operating system to relink. The UNIX operating system will relink and create a new operating system. 26. At this point in the installation, a new UNIX operating system is recreated. Type y and press Enter at the “Do you want this kernel to boot by default?” prompt. This kernel will be the default when the system boots. 27. Rebuild the kernel environment by typing y and pressing Enter at the “Do you want the kernel environment rebuilt?” prompt. The following screen displays: >53 1]UbYSQ 1@= 9^cdQ\\QdY_^ DXe >_f ! !))& . 4YcQR\U TUfddi!1 E`TQdY^W ecb\YReeS`4UfYSUc gYdX 13E ddi!1 E`TQdY^W ecb\YReeS`4UfYSUc gYdX ddi!1 E`TQdY^W ecb\YReeS`4YQ\Ubc gYdX EC B_R_dYSc =_TU] E`TQdY^W ecb\YReeS`@Ub]YccY_^c V_b 4YQ\Y^ E`TQdY^W UdSWUddiTUVc gYdX !) ?>53 1]UbYSQ 1@= 9^cdQ\\QdY_^ DXe >_f ! !))& . E^]_e^dY^W TUf_QY DXU 1@= @\QdV_b] XQc RUU^ ceSSUccVe\\i Y^cdQ\\UT BU]_fU bU\UQcU ]UTYQ Vb_] 6\_``i 4Yc[ 4UfYSU RUV_bU bUR__dY^W @bUcc 5^dUb d_ S_^dY^eU
Page 48NDA-30025 Revision 4.0 APPLICATION MANAGER INSTALLATION APM System Installation Manual 28. After the new UNIX operating system has been created, it is necessary to reboot the system and load the new UNIX operating system. Press Enter to shut down the operating system. The installation will continue the shut down until the following screen appears: 29. To reboot the system press Enter. After the system has rebooted and enters multi-user mode, the Application Platform Manager login displays, as illustrated below. For more information about the operation of the Application Platform Manager consult the Application Platform Manager Operations Manual. 9>9D* >Ug be^ \UfU\* DXU cicdU] Yc S_]Y^W T_g^ @\UQcU gQYd CicdU] cUbfYSUc QbU ^_g RUY^W cd_``UT `c* e^Yh* ^_d dXU R__dUT cicdU] @bY^d cUbfYSUc cd_``UT D3@ CXedT_g^ Cd_``Y^W D3@9@ TQU]_^c D3@ CXedT_g^ 3_]`\UdU DXU cicdU] Yc T_g^ CQVU d_ @_gUb ?VV _b @bUcc 1^i ;Ui d_ BUR__d 1``\YSQdY_^ =Q^QWUb DXe >_f ! !))& >53 @b_`bYUdQbi 5^dUb @Qccg_bT* ,B5D. d_ QSSU`d `Qccg_bT ,5C3. d_ aeYd
NDA-30025 Revision 4.0Page 49 APM System Installation Manual BACKUP AND RESTORATION PROCEDURES Chapter 5 BACKUP AND RESTORATION PROCEDURES Creating Boot and Root Floppy Disks SCO recommends the creation of an Emergency Boot Floppy set after installation. This is the only means of attempting recovery of the root filesystem or the kernel in the event that problems occur. To create a boot and root floppy disks follow the procedure below: 1. At the “#” prompt, type mkdev fd and press Enter. The following screen appears: 2. Type 4 and press Enter. The following screen appears: 3. Type 2 and press Enter. 4. Insert a 135ds18 floppy disk into the disk drive, and press Enter. 5. At the “Would you like to format the floppy disk first? (y/n) prompt, type n and press Enter. The bootable floppy is created, and the following screen appears: 6. Type 3 and press Enter. 6\_``i 4Yc[ 6Y\UcicdU] 3bUQdY_^ @b_WbQ] 3X_YSUc V_b di`U _V V\_``i VY\UcicdU] !$(d`Y T_eR\U cYTUT ) cUSd_bc `Ub dbQS[ )&d`Y T_eR\U cYTUT !% cUSd_bc `Ub dbQS[ #!#%d`Y T_eR\U cYTUT ) cUSd_bc `Ub dbQS[ $!#%d`Y T_eR\U cYTUT !( cUSd_bc `Ub dbQS[ 5^dUb Q^ _`dY_^ _b a d_ aeYd* 3X_YSUc V_b S_^dU^dc _V V\_``i VY\UcicdU] !6Y\UcicdU] 2__dQR\U _^\i )&Tc!% Q^T !#%Tc!( _^\i #B__d VY\UcicdU] _^\i )&Tc!% Q^T !#%Tc!( _^\i 5^dUb Q^ _`dY_^ _b a d_ aeYd* 3X_YSUc V_b S_^dU^dc _V V\_``i VY\UcicdU] !6Y\UcicdU] 2__dQR\U _^\i )&Tc!% Q^T !#%Tc!( _^\i #B__d VY\UcicdU] _^\i )&Tc!% Q^T !#%Tc!( _^\i 5^dUb Q^ _`dY_^ _b a d_ aeYd*
Page 50NDA-30025 Revision 4.0 BACKUP AND RESTORATION PROCEDURES APM System Installation Manual 7. Insert a 135ds18 floppy disk into the disk drive, and press Enter. 8. At the “Would you like to format the floppy disk first? (y/n) prompt, type n and press Enter. The filesystem floppy is created, and the menu reappears. 9. Exit the menu by typing q and pressing Enter. Tape Backup and Restore The UAP system must be backed up prior to making any changes to the system. This will ensure that the system can always be restored to initial configuration in the event of hard disk corruption or failure. Both the tape backup and restore rely on a valid boot and root floppy disks. Two sets of the boot and root floppies should be made with one set reserved for backup with the write protect tab set to write protected. Note: Before using the root floppy the write protect should be set to unprotected. Another backup should be made after the final configured system and applications have been completed. BackupFor OAI applications that use INFORMIX software for databases, the INFORMIX databases must be backed up using the INFORMIX utilities. Refer to the application documentation for specific instructions. To backup the UAP, use the following steps. Step 1: Record Partition Table Information The partition table must be recorded from the hard disk in case there is a hard disk failure. Information in the partition table will vary according to the size of the hard disk. Record this information and store it with the root and boot floppy disks. To list the values of the partition table enter the following commands: 1. At the login prompt, type root and press Enter. 2. Type the root password, and press Enter. 3. At the “#” prompt, type divvy and press Enter. The partition table displays and is similar to the table below: 4. Record the information for future use. Name Type New FS # First Block Last Block b__d 516C iUc ))))) cgQ` >?> 6C ^_ ! ! !))) _QY 516C iUc !&$ ))) _QY\_W 516C iUc # &$ #))) TR >?D EC54 ^_ $ #&$ ())) >?D EC54 ^_ % bUS_fUb >?> 6C ^_ & ! # !&% ! # !$ T! %Q\\ G8?
NDA-30025 Revision 4.0Page 51 APM System Installation Manual BACKUP AND RESTORATION PROCEDURES 5. After you have recorded the information, exit the menu by typing q and pressing Enter. The following screen displays: 6. Type e and press Enter. The “#” prompt displays. 7. Type exit and press Enter. Step 2: Boot the System from the Boot and Root Floppies In order to backup the UAP, the system must be loaded from the boot and root floppies. If the system was loaded from the hard disk, it must be shut down so it can be loaded from the boot and root floppies. Perform the following steps to shutdown the system and boot it from the boot and root flopppies: 1. Terminate any initialized OAI applications and stop OAI if it has been active. 2. Exit from Application Manager (APM). 3. At the login prompt, type root and press Enter. 4. When the password prompt displays, type the root password and press Enter. 5. At the “#” prompt, type shutdown -g0 -i0 -y and press Enter. The system shuts down. 6. When the system displays the “Safe to Power Off” prompt, insert the boot floppy and press Enter. 7. When the “Boot:” prompt displays, press Enter. The UAP boots from the boot floppy and displays a prompt for the root floppy. 8. Insert the root floppy press Enter. When the system is loaded, the “#” prompt displays. Note:Do not remove the root floppy until you shut down the system. Step 3: Backup the UAP After you have booted the system from the boot and root floppies, use the following steps to backup the UAP: 1. Insert a tape into the tape drive. 2. To backup the different filesystems, each filesystem must be mounted. Type the following commands at the “#” prompt, pressing Enter after each: (a) # mount /dev/hd0root /mnt (b) # mount /mnt/dev/oai /mnt/oai (c) # mount /mnt/dev/oailog /mnt/oai/log YK^cdQ\\M 9^cdQ\\ dXU TYfYcY_^ cUde` cX_g^ bKUdeb^M BUdeb^ d_ dXU `bUfY_ec ]U^e UkhYdm 5hYd gYdX_ed Y^cdQ\\Y^W Q TYfYcY_^ dQR\U
Page 52NDA-30025 Revision 4.0 BACKUP AND RESTORATION PROCEDURES APM System Installation Manual 3. To save the drive parameters, fdisk partition information and divvy information on the root floppy and hard drive so that they can be viewed during the recovery procedure. Run the following commands pressing Enter after each line: (a) # dparam /dev/rhd00 > /dkinit.sav (b) # dparam /dev/rhd00 > /mnt/dkinit.sav (c) # fdisk -p > /fdisk.sav (d) # fdisk -p > /mnt/fdisk.sav (e) # divvy > /divvy.sav q e (f) # divvy > /mnt/divvy.sav q e 4. To begin the backup type the following commands at the “#” prompt, pressing Enter after each command. The -K525000 indicates the tape has 525000 1K blocks (525 Megabytes) . If your tape is of a different size, then change the block count accordingly. The /dev/rStp0 value specifies the tape device. If you are using a different tape device, then change the name accordingly. (a) # cd /mnt (b) # find . -depth -print | cpio -ocvB -C10240 -K525000 > /dev/rStp0 5. When the “#” prompt displays, the backup has finished. Remove the tape and label the tape UAP Backup and provide the current date. 6. To complete the backup procedure, the filesystem must be unmounted and the system shutdown. To perform this procedure type the following commands at the “#” prompt, pressing Enter after each: (a) # cd / (b) # umount /mnt/dev/oailog (c) # umount /mnt/dev/oai (d) # umount /mnt 7. To verify the data on the tape, type cpio -itv < /dev/rStp0 and press Enter. The file names stored on the tape and total block count display. 8. To shutdown the system, type the following commands at the “#” prompt, pressing Enter after each: (a) # sync (b) # sync (c) # haltsys 9. When the following “Safe to Power Off” prompt displays, remove the root floppy and press Enter to boot from the hard disk.
NDA-30025 Revision 4.0Page 53 APM System Installation Manual BACKUP AND RESTORATION PROCEDURES RestoreUse the following steps to restore the UAP: Step 1: Boot the UAP from the Boot and Root Floppies In order to restore the UAP, the system must be loaded from the boot and root floppies. If the system was loaded from the hard disk, it must be shut down so it can be loaded from the boot and root floppies. For information on booting from the boot and root floppies, see “Step 2: Boot the System from the Boot and Root Floppies” on page 51. Step 2: Procedures for a New or Reformatted Hard Drive If the system has not been severely corrupted or damaged and you want to use the filesystem as it is but you need to restore the files back to their original state, go to “Restore the UAP” on page 56. If the system has been severely corrupted or damaged, the drive should be reformatted (or possibly replaced). Use the instructions from the drive manufacturer to reformat the drive as needed. Then use the following procedures to setup the disk for restore. 1. You must set the correct drive parameters, fdisk partition information and divvy partition information for the hard drive. If the backup procedures were followed the following 3 commands can be typed to view the drive parameters, fdisk parition information and divvy partition information respectively that were saved on the root floppy. (a) # cat /dkinit.sav (b) # cat /fisk.sav (c) # cat /divvy.sav This data should be written down so that the data can be entered as needed in later steps of this Restore Procedure. 2. If the drive must have it’s cylinders, head, and sectors/track adjusted, type dkinit /dev/rhd00 and press Enter. 8QbT 4Yc[ 4bYfU 3_^VYWebQdY_^ !4Yc`\Qi SebbU^d TYc[ `QbQ]UdUbc =_TYVi SebbU^d TYc[ `QbQ]UdUbc #CU\USd TUVQe\d TYc[ `QbQ]UdUbc 5^dUb i_eb SX_YSU _b a d_ aeYd*
Page 54NDA-30025 Revision 4.0 BACKUP AND RESTORATION PROCEDURES APM System Installation Manual 3. Type 1 and press Enter. The drives parameters display. For a typical 1 Gigabyte hard drive, the parameter table would contain the following values: Disk Parameters Values 1. Cylinders 2047 2. Heads 16 3. Write Reduce 0 4. Write Precomp 0 5. Ecc 0 6. Control 8 7. Landing Zone 2048 8. Sectors/track 63 Note: The number of cylinders, sectors, and heads varies from disk to disk. These may need to be modified depending on the hard disk installed. 4. If the parameters are not correct, select option 2 ( Modify current disk parameters) and press Enter. 5. Type the number associated with the incorrect value and press Enter. 6. At the prompt, enter the replacement value and press Enter. 7. Continue this process until all values are correct, and display the parameters by typing 1 and pressing Enter at the Hard Disk Drive 0 Configuration menu. 8. If the values are correct, exit the menu by typing q and pressing Enter. 9. Enter the following command to stamp the disk geometry onto the hard disk. # dparam /dev/rhd00 ‘dparam /dev/rhd00‘ Note: The quotes in the above dparam command are back quotes which are located in the top left corner of the keyboard on most keyboards . 10. At the “#” prompt type fdisk and press Enter. The fdisk program will display a menu of selections. 11. Setup a UNIX partition as needed. If the backup procedures were followed the cat /fdisk.sav command of step 1 shows the original fdisk values used. For most installations, the entire disk is used for UNIX and therefore the 2 option can be used to use the entire disk for UNIX. 12. Type q and press Enter to exit the fdisk command. 13. At the “#” prompt, type divvy -i and press Enter. The following message displays: “Please enter the swap-space allocation, or press to get the default allocation of 15000 1K blocks.” 14. Press Enter. The following message displays: “Do you want a separate /u filesystem? (y/n)”