14

Click here to load reader

Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

Embed Size (px)

Citation preview

Page 1: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

Document No. Product Name

Reader Product Version

Author Document Version

System Time Modification (for 3G)

Prepared by: Date:

Reviewed by: Date:

Reviewed by: Date:

Approved by: Date:

Huawei Technologies Co., Ltd.

All Rights Reserved

2006-07-04 All Rights Reserved Page 1 of 12

Page 2: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

Revision Record

Date Revised Version Description Author

2006-07-04 All Rights Reserved Page 2 of 12

Page 3: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

Table of Contents

System Time Modification (for 3G)...............................................................................................51 Preface................................................................................................................................... 52 Time Modification of the HLR 9820...................................................................................5

2.1 Modification Method for the Sun Platform...............................................................52.2 Modification Method for the IBM Platform...............................................................9

2006-07-04 All Rights Reserved Page 3 of 12

Page 4: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

System Time Modification (for 3G)

Keywords:

Abstract:

Abbreviations:

References:

2006-07-04 All Rights Reserved Page 4 of 12

Page 5: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

System Time Modification (for 3G)

1 Preface

Due to global time differences, it is a must to change the time zone and time to the local time zone and time. During the modification, the service is interrupted because the cluster is stopped. Thus, the time zone must be modified during the night when the traffic is low.

2 Time Modification of the HLR 9820

This chapter introduces the following contents:

Modification Method for the Sun Platform Modification Method for the IBM Platform

2.1 Modification Method for the Sun Platform

I. Modifying HDU Dual-System Time

Caution:

Before modification, ensure that the dual-system is set to the non-CLUSTER state and the TC or SC card is available. You must modify the time zone on both hosts.

1) Checking the Solaris 8 Time Zone and Time

Check the Solaris 8 time zone and time. If they are inconsistent with the actual situation, change them immediately.

To check the Solaris 8 time zone, do as follows:

Execute the following command:

root@hwhlr-phx#echo $TZ

Compare the output result with local time zone.If the output result does not match the local time zone, change the

2006-07-04 All Rights Reserved Page 5 of 12

Page 6: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

TZ value in the file TIMEZONE under the directory /etc to the standard value.

2006-07-04 All Rights Reserved Page 6 of 12

Page 7: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

Caution:

The concept of time zone is different between the Solaris 8 operating system and the Windows operating system. You must observe the following rules to set the time zone: If the time zone displayed under the Windows operating system is

GMT+3, the time zone displayed under the Solaris 8 operating system must be set to GMT–3, and so on.

For the domestic operating system, the Solaris 8 time zone must be set to GMT–8.

Otherwise, the clock synchronization system does not function well, resulting in the unpunctuality of the system clock.

To check the Solaris 8 local time, do as follows:

Execute the following command:

root@hwhlr-phx#date

Check that the local standard time matches the current output time.Otherwise, change the Solaris 8 local time.

2) Modifying Solaris 8 Time Zone and Time

If the Solaris 8 time zone is inconsistent with the local time zone, modify the time zone and then the time.

If the Solaris 8 time zone is consistent with the local time zone but the Solaris 8 time is inconsistent with the local time, only modify the Solaris 8 time.

Before modifying the Solaris time zone and time, you must close all the nodes in the Cluster at first.

To close all the nodes in the Cluster, execute the following command:

root@hwhlr-phx#scshutdown –y –g 0

To set the dual-system to the non-Cluster state, execute the following command:

ok boot –x

3) Switching the Solaris System Based on the Netro 240 Platform into the OK State

2006-07-04 All Rights Reserved Page 7 of 12

Page 8: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

To switch the Solaris system based on the Netro 240 platform into the OK state, do as follows:

Use the SC to connect the minicomputer.#telnet <sc_ip> (129.9.101.195/129.9.101.196)

The following information is displayed:

Copyright 2003 Sun Microsystems, Inc. All rights

reserved.

Use is subject to license terms.

Sun(tm) Advanced Lights Out Manager 1.3(hwhlr-ph1)

Please login: admin

Please Enter password: ***** (Default password admin)

sc>

Type #. to enter the sc> prompt mode. Execute the following command:

sc>break

Are you sure you want to send a break to the system

[y/n]? y

The host system is switched into the OpenBoot state.

4) Switching the Solaris System Based on the Netro 20 Platform into the OK State Log in to the minicomputer through the TC.

# telnet 129.9.101.197 5002/5003

Enter the command halt as user root.

The Solaris system is switched into the OK state.

Note:

You must ensure that the TC (for Netro 20) and SC (for Netro 240) are configured correctly. Refer to the HDU software installation guide for the TC and SC configurations.

5) Example

To modify the time zone of the dual-system, execute the following command:

root@hwhlr-phx#vi /etc/TIMEZONE

2006-07-04 All Rights Reserved Page 8 of 12

Page 9: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

Change the value of TZ to the right time zone, and then execute the following command to save the result and exit:

:wq

To change the time of host 1, do as follows:

Ensure that the system time zone is synchronized with the current environment.

On host 1, execute the following command:root@hwhlr-ph1# . /etc/TIMEZONE

Modify the time of host 1.root@hwhlr-ph1#date mmddHHMM[[cc]yy][.SS]

mmddHHMM[[cc]yy][.SS] indicates the standard time, where:

– mm: month

– dd: day

– HH: hour

– MM: minute

– cc: century

– yy: year

– SS: second

For example, execute the following command to change the system time to Fri 2004-03-26 14:53:43.

#date 0326145304.43

Fri Mar 26 14:53:43 GMT 2004

Execute the following command to synchronize the time of host 2 with that of host 1:

root@hwhlr-ph2#rdate hwhlr-ph1

Then restart both hosts.

Note:

The dual hosts must be started simultaneously.

root@hwhlr-phx#sync;sync;reboot

2006-07-04 All Rights Reserved Page 9 of 12

Page 10: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

II. Synchronizing BAM Time with HDU Time

To synchronize the BAM time with the HDU time, do as follows:

6) After the HDU time modification is complete, right-click the icon of the time synchronization tool at the bottom right of the BAM desktop.

7) Click the time synchronization button.

The BAM automatically synchronizes the HDU time.

8) After the time synchronization, restart the BAMSERVER process.9) After the restart is complete, query the switch time through the

command DSP EXTM at the LMT.

If the switch time is incorrect, execute the following command to change it:

SET TIME:;

2.2 Modification Method for the IBM Platform

I. Stopping the Cluster of Both Hosts

Execute the following commands:

root@hwhlr_ph1 # su - hdbtool

HLR Maintenance Tool

Version: 4.0

HW-HLR Maintenance Tool supports the following functions.

1. Database operation

2. Register data services

3. Disk operation

4. System checking

5. Cluster administration

0. Exit

Please input your selection(0-5, default: 0): 5

Cluster administration

2006-07-04 All Rights Reserved Page 10 of 12

Page 11: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

1. Start Cluster on local node: hwhlr_ph1

2. Stop Cluster on local node: hwhlr_ph1

3. Start Cluster on remote node: hwhlr_ph2

4. Stop Cluster on remote node: hwhlr_ph2

5. Start Cluster on both node

6. Stop Cluster on both node

7. Cluster status reporting

0. Return

Please input your selection(0-7,0 is default): 6

II. Modifying the Time Zone

Note:

You must modify the time zone on both hosts simultaneously.

10) Perform the following operations as user root.# smitty

--->System Environments

--->Change / Show Date and Time

--->Change Time Zone Using System Defined Values

The system displays a prompt:

Use DAYLIGHT SAVINGS TIME?

11) Select No.12) Select the time zone based on the actual situation.

Note:

If the difference between the set time and the dual-system time exceeds 35 seconds, the system starts a service process. This phenomenon is normal.

III. Modifying Time

Note:

You must modify the time on both hosts simultaneously.

2006-07-04 All Rights Reserved Page 11 of 12

Page 12: Guide to Modification for HLR9820 System Time and Timezone-20060511-A-1.0

System Time Modification (for 3G) For Internal Use

To modify the time on both hosts, do as follows:

13) Perform the following operations as user root.# smitty

--->System Environments

--->Change / Show Date and Time

--->Change / Show Date and Time

14) Type the specific time, and the press Enter.15) Press the shortcut keys Ctrl+C and exit.

IV. Restarting Both Hosts

16) Checking the Auto-Start Setting of the Cluster

Note:

Check the auto-start setting of the cluster on both hosts simultaneously.

To check the auto-start setting of the cluster, do as follows:

Check that the file /etc/inittab contains the following contents:hacmp6000:2:wait:/usr/es/sbin/cluster/etc/rc.cluster -boot -

i # Bring up Cluster

If the above contents do not exist, execute the following command:# /usr/es/sbin/cluster/etc/rc.cluster -boot -Ri

17) Restarting Both hosts

To restart both hosts, do as follows:

Execute the following command as user root.

Caution:

You must start host 1 first and then start host 2.

# shutdown -Fr

Check if the time zone and time are correctly changed.# date

2006-07-04 All Rights Reserved Page 12 of 12