FAQ for EMS Installation in HP-UX

In document Sjzl20090609-Unitrans ZXONM E300(V3.19R2) Maintenance Manual_516854 (Page 62-65)

//Database OID. Only the last digit can be changed, and the configuration of OID must be consistent with that of Manager.

d b O i d = i s o : o r g : d o d : i n t e r n e t : p r i v a t e : e n t e r p r i s e : z t e : d b : 8

//Parent Manager OID. Only the last digit can be changed. and the configuration of OID must be consistent with that of Manager.

m g r O i d = i s o : o r g : d o d : i n t e r n e t : p r i v a t e : e n t e r p r i s e : z t e : m a n a g e r : 8

...

2. Manager configuration file /opt/unitrans/manager/cfg:

...

//Database OID

d b O i d = i s o : o r g : d o d : i n t e r n e t : p r i v a t e : e n t e r p r i s e : z t e : d b : 8

//Parent Manager OID

p a r e n t M g r O i d = i s o : o r g : d o d : i n t e r n e t : p r i v a t e : e n t e r p r i s e : z t e : m a n a g e r : 8

...

Configuring Database Synchronization

If multiple EMSs are used for networking, and EMS DBMS is used to ensure data consistency of EMSs, database synchronization configuration must be performed. For detailed operations, refer to the Unitrans ZXONM E300 Unified EMS/SNMS of Optical Network Operation Manual (Volume VI) Database Synchronization Configuration.

FAQ

FAQ for EMS Installation in HP-UX

1. During the process of EMS installation, the system is powered off suddenly. After the system reboots, the disk space becomes insufficient. Why does this happen?

Possible causes:

i. Some temporary files are stored under the directory /tmp during installation. After the system is powered off suddenly, these files are not cleared up automatically.

ii. After the system is powered off, it saves the information which was in the buffer into lost+found folder under the operation directory.

This information is not released after the system reboots. Execute the command b d f to measure the used space. The contents of this folder are stored in the file index node. Therefore, corresponding records cannot be queried.

iii. In case of sudden power-off, the system saves the information which was in the buffer to the /var/preserve folder. This information is not released after the system reboots.

iv. Sudden power-off makes temporary files under the /var/tmp directory not released.

Solution:

i. Delete the files in the folders: /tmp, /opt/lost+found, /var/tmp, and /var/preserve.

ii. If the above operation cannot work, delete the EMS installation directory, and re-install the EMS.

2. When creating logical volume, the disk space is insufficient. How to deal with it?

Check the disk and if you find that the free space is insufficient, you should re-partition the hard disk. Because the HP platform does not provide the command to reduce the space occupied by the file system, you must back up the file system to another file system. Then, delete the original file system, re-create a smaller file system, and finally restore the data of the original file system. The detailed procedure is as follows:

i. Execute the command b d f to search the file system that can be reduced.

Usually, it is recommended to use the file system which is large, with large available space that satisfies the space requirement and low utilization ratio, as the target to be reduced. In most cases, you can select the /opt file system.

After the command # b d f is executed, the following information will be displayed:

F i l e s y s t e m indicates the file system;

k b y t e s indicates the size of the file system;

u s e d indicates the used space in unit of Kbyte;

a v a i l indicates the available space in unit of Kbyte;

% u s e d indicates the space utilization ratio;

M o u n t e d o n indicates the installation location.

According to the above result, select the /opt file system as the file system to be reduced.

ii. Select the intermediate storage file system.

The intermediate storage file system is used to store the data of the file system which is to be reduced. It must have sufficient free space. If the space is insufficient, you can delete useless files in this system or select multiple intermediate storage file systems.

For example, /opt has 72000 KB files, and /home has 213865 KB of space. Therefore, select /home as the intermediate storage file system.

iii. Reboot the system and log in as a single user. Copy the data of the file system which is to be reduced into the intermediate storage file system. The commands are:

# m o u n t *

# c p – r o p t / h o m e /

iv. Delete the logical volume where the filesystemsrc file system is located.

To delete the /opt logical volume, the commands are:

# u m o u n t / o p t //Uninstall the logical volume to be deleted.

# l v r e m o v e / d e v / v g 0 0 / l v o l 6 //Delete logical volume.

v. Re-create a logical volume smaller than the original logical volume, and then create the file system and install it to the original directory.

To add the file system volume named lvo16 whose size is 80 MB onto vg00 using the directory /opt as the mounting point, the commands are as follows:

# l v c r e a t e - L 8 0 - n l v o 1 6 / d e v / v g 0 0 //Create the logical volume lvo16

# n e w f s - F h f s / d e v / v g 0 0 / l v o 1 6

//Create a file system for the logical volume

# m o u n t / d e v / v g 0 0 / l v o 1 6 / o p t //Mount the logical volume on /opt

# b d f

//Query whether the logical volume is successfully created.

vi. Execute the following command to copy files back to the re-created file system and restore the original file system:

# c p – r / h o m e / o p t / * / o p t /

Note: The calculation methods for the free space of a volume group is as follows:

ƒ Log in the system as root user, execute the command #vgdisplay, and obtain the values of Free PE and PE Size from the displayed results.

ƒ Free PE is the free space of the volume group, in the unit of PE; PE Size is the space size of one PE, in the unit of MB.

ƒ The free space of a volume group = Free PE * PE Size (unit: MB).

3. How to deal with the failure when uninstalling the CD-ROM file system through the u m o u n t command?

After installing the EMS on the HP-UX platform using a CD and rebooting the computer, execute the u m o u n t command. However, the system reports an error, and the CD cannot be taken out. In this case, follow the procedure below to take out the CD:

i. Execute the command m o u n t to install the CD-ROM at a mounting point (suppose the device file name of CD-ROM is /dev/dsk/c3t2d0 and the installation location is /SD_CDROM).

# m o u n t / d e v / d s k / c 3 t 2 d 0 / S D _ C D R O M

ii. Execute the command u m o u n t to uninstall the CDROM.

# u m o u n t / S D _ C D R O M

During the procedure, if the system prompts error information, ignore it.

4. After the EMS is installed on HP-UNIX platform, the client cannot be started. Why does this happen?

Possible cause: The color bits of the monitor are set incorrectly.

Solution: In the graphic mode, make the following modifications to set the color bits of the monitor to 24 bits.

i. Run the sam program.

ii. Select Display, X Server Configuration, and HP VISUALIZE-FXE in sequence.

iii. Select the Actions -> Modify Default Visual menu.

iv. Set Default Visual to Image, Depth24 True Color.

In document Sjzl20090609-Unitrans ZXONM E300(V3.19R2) Maintenance Manual_516854 (Page 62-65)