• No se han encontrado resultados

3~5 MODULO DINAMICO DE ELASTICIDAD ( YOUNG )

# hastop -all -force ----End

1.3.5.4 Power Off the Server Safely

Before shutting down the U2000 server, stop the U2000 server processes and the database. This topic describes how to power off the Solaris HA system safely.

Prerequisites

l The U2000 server processes must have been stopped.

l The database must have been shut down.

l The VCS services must have been shut down.

Procedure

Step 1 Log in to the Solaris OS as user root.

Step 2 Run the following commands to power off the server:

# sync;sync;sync;sync

# shutdown -y -g0 -i5

Step 3 If a KVM is equipped, power off the KVM switcher.

----End

1.3.6 Shutting Down the U2000 Server in a High Availability System (PC Linux)

Four steps are required to shut down the U2000 server: stop the U2000 server processes, shut down the database, stop the VCS service, and power off the server safely.

1.3.6.1 Stopping the U2000 Server Processes

Do not stop the U2000 server processes when the U2000 server is managing NEs. Stop the U2000 server processes only for some special purposes, for example, changing the system time of the computer where the server is installed or upgrading the version. This topic describes how to stop the U2000 server processes on the SUSE Linux HA system.

Prerequisites

Exit all running U2000 clients.

Procedure

Step 1 Log in to the OS of the active site as the root user.

Step 2 Stop the U2000 server processes.

l GUI mode:

1. Open a terminal window, run the following command:

# hagui&

NOTE

If the login dialog box is not displayed and a message appears indicating that the current status is STALE_ADMIN_WAIT, run the # hasys -force host name of node command.

2. Click Connect to Cluster name.

NOTE

If you are logging in to the VCS for the first time, you need to create a new Cluster.

1. Click File > New Cluster.

2. Enter the IP address of application network.

3. Click OK.

3. Enter the user name and password for VCS login.

NOTE

The default VCS user name is admin and the default password is Changeme_123. To ensure system security, change the default password in time. If the default password has been changed, enter the new password.

4. Click OK.

5. Choose AppService from the navigation tree.

6. Click the Resources tab. Right-click NMSServer and choose Offline > Host name from the shortcut menu. In the Question dialog box, click Yes.

Wait about 1 minute. If the NMSServer icon changes to grey, the U2000 processes have been stopped.

l CLI mode:

# hares -offline NMSServer -sys hostname NOTE

hostname specifies the server name. You can run the hostname command to view the server name.

Step 3 Ensure that the U2000 is not running.

1. Log in to the OS of the active site as the ossuser user.

2. Run the following command to check the running status of the U2000 process:

$ daem_ps

Information similar to the following is displayed:

ossuser 26225 1 0 09:16:02 ? 0:00 imapwatchdog -cmd start -type standby

ossuser 26225 1 0 09:16:03 ? 0:01 ResourceMonitor -cmd start

3. Run the following commands to stop the U2000 processes:

$ su - root

Password: root user password

# hares -offline NMSServer -sys hostname

# exit

4. Run the following command to check the running status of the U2000 process:

$ daem_ps NOTE

The process is stopped if the displayed information is empty.

----End

1.3.6.2 Shutting Down the Database

The U2000 can start properly only after the database is started. Before shutting down the database, stop the U2000 server processes. This topic describes how to shut down the database on the HA system.

Prerequisites

The U2000 server processes must have been stopped.

Procedure

Step 1 Perform the following operations to disable the Sybase database service at the primary site in the HA system:

NOTE

By default, the Sybase database service at the secondary site is not running.

l GUI mode:

1. Log in to the primary site as user root.

2. Run the following command to start the VCS client at the primary site:

# hagui&

3. Choose File > New Cluster from the main menu. In the window that is displayed, enter the IP address of the server and click OK.

NOTE

If you are not logging in to the VCS client for the first time, click a server record in the information list in the Cluster Monitor window.

4. Enter the default user name admin and the initial password Changeme_123 for the VCS client. For system security, modify the default password and remember the new password. For detail, see How to Change the admin User Password for Logging In to the VCS Client. Then click OK.

5. On the VCS client of the primary site, right-click the NMSServer node and choose Offline > hostname from the shortcut menu.

6. In the confirmation dialog box, click Yes.

7. After the NMSServer node is dimmed, right-click the BackupServer node and choose Offline > hostname from the shortcut menu.

8. In the confirmation dialog box, click Yes.

9. After the BackupServer node is dimmed, right-click the DatabaseServer node and choose Offline > hostname from the shortcut menu.

10. In the confirmation dialog box, click Yes.

l CLI mode:

1. Log in to the primary site as user root.

2. Run the following command to shut down the U2000:

# hares -offline NMSServer -sys hostname

3. Run the following command to disable the Sybase database service:

# hares -offline BackupServer -sys hostname

# hares -offline DatabaseServer -sys hostname

NOTE

hostname specifies the server name. You can run the hostname command to view the server name.

Run the following command to check whether the Sybase database service is disabled:

# ps -ef | grep sybase

If the following message is displayed, the Sybase database service has been disabled:

root 9629 14603 0 07:46:52 pts/3 0:00 grep sybase

----End

1.3.6.3 Stopping the VCS Service

This topic describes how to stop the VCS service.

Prerequisites

The U2000 and database must have been shut down.

Context

Before powering off the server safely, manually stop the VCS service; otherwise, the server may fail to shut down properly.

Procedure

Step 1 Log in to the OS on the server as the root user.

Step 2 Run the following command to stop the VCS service:

# hastop -all -force ----End

1.3.6.4 Power Off the Server Safely

Before shutting down the U2000 server, stop the U2000 server processes and the database. This topic describes how to power off the U2000 HA System (SUSE Linux, PC Server).

Prerequisites

l The U2000 server processes must have been stopped.

l The database must have been shut down.

l The VCS services must have been shut down.

Procedure

Step 1 Log in to the OS as the root user.

Step 2 Run the following commands to shut down the OS.

# sync;sync;sync;sync

# shutdown -h now

----End

1.4 Using the Workbench and Favorites Folder

This topic describes how to use the workbench and the favorites folder of commonly used functions to rapidly locate the commonly used functions of the U2000.

1.4.1 Placing a Shortcut Icon on the Workbench

This topic describes how to place the shortcut icons of the commonly used functions on the workbench and create function links. You can use the shortcut icons to improve operation efficiency.

Context

If + is appended to a menu option on the main menu of the NMS, you can create the shortcut of this menu option on the workbench.

Procedure

Step 1 In the main window of the U2000, click the drop-down arrow next to and select Style of