Professional Documents
Culture Documents
U2000 Stop Start Nms-Ha
U2000 Stop Start Nms-Ha
12/19/2018
Availability System
Shutting Down and Starting SUSE LINUX HA SERVER
Contents
1. Shutting Down the U2000 Server in a High Availability System (PC Linux) ............ 2
2. Starting the U2000 Server in a SUSE Linux High Availability System ................. 6
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 HA system.
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.
Stopping the VCS Service
This topic describes how to stop the VCS service, including prerequites, context and
procedure.
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
Procedure
1. Log in to the OS of the active site as the ossuser user. Run the following command to switch to
the root user.
2. $ su - root
Password: password for the root user
NOTE:
hostname specifies the server name. You can run the hostname command to view the server name.
4. Ensure that the U2000 is not running.
b. Run the following command to check the running status of the U2000 process:
$ daem_ps
$ su - root
Password: root user password
# hares -offline NMSServer -sys hostname
# exit
d. 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.
For the high availability system, you can still view information about the imapwatchdog and
ResourceMonitor processes after the U2000 is stopped. This is because the two processes are used to
monitor high availability system alarms and will be automatically enabled after the U2000 is stopped.
Prerequisites
Procedure
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.
a. Log in to the primary site as user ossuser through Putty. Run the following command to
switch to the root user.
b. $ su - root
Password: password for the root user
NOTE:
hostname specifies the server name. You can run the hostname command to view the server name.
e. Run the following command to check whether the Sybase database service is disabled:
Prerequisites
Context
Before powering off the server safely, manually stop the VCS service; otherwise, the server may fail
to shut down properly.
Procedure
1. Log in to the OS on the server as the ossuser user. Run the following command to switch to the
root user.
2. $ su - root
Password: password for the root user
Prerequisites
Procedure
1. Log in to the OS as the ossuser user. Run the following command to switch to the root user.
2. $ su - root
Password: password for the root user
NOTE:
If you do not want to power off the server, you can run the following commands to restart the OS:
# sync;sync;sync;sync
# shutdown -r now
2. Starting the U2000 Server in a SUSE Linux
High Availability System
The U2000 server can be started in three steps: power on the server safely, start the database, and
start the U2000 server processes.
Powering On the Server Safely
Starting the Database
This topic describes how to start the database in a high availability system. The U2000 can
start properly only after the database is started.
Starting the U2000 Server Processes
This topic describes how to start the U2000 server processes in a PC Linux high availability
system. You can log in to the U2000 to manage a network only after starting the U2000
server processes on the computer on which the U2000 is installed.
Server
1. Power on a server.
2. Press the power buttons on the peripherals and monitor connected to a server.
3. Wait 2 to 3 minutes. When the green indicator on the front panel of the server blinks every 1s,
press the power button on the shelf of the server.
Prerequisites
Procedure
1. Perform the following operations to start the Sybase database:
a. Log in to the active site as the ossuser user. Run the following command to switch to the
root user.
b. $ su - root
Password: password for the root user
d. # haconf -makerw
# hares -list
e. Run the hagrp -autoenable AppService -sys hostname command to set the AppService
group to autoenable. Run the hares -modify resource name Enabled 1 command to change
the status of all Veritas resources to Enabled. Use the resource names displayed in the
previous command output as an example. Run the following commands to change the
status of all the Veritas resources to Enabled:
NOTE:
hostname specifies the server name. You can run the hostname command to view the server name.
NOTE:
hostname specifies the server name. You can run the hostname command to view the server name.
Result
Run the following command to check whether the Sybase process is running:
$ ps -ef | grep sybase
NOTE:
The database is running if the displayed information contains /opt/sybase/ASE-15_0/bin/dataserver -sDBSVR and
/opt/sybase/ASE-15_0/bin/backupserver -SDBSVR_back.
Prerequisites
The OS on the computer on which the U2000 server processes are installed is running properly, and
the database has been started.
Procedure
1. Log in to the OS on the active site as the root user.
2. Run the following command to start the U2000 server processes.
# hagrp -online AppService -sys hostname
NOTE:
hostname specifies the server name. You can run the hostname command to view the server name.
If a fault has occurred during the start of the AppService process, run the # hagrp -clear AppService -sys
hostname command to rectify the fault. Then run the # hagrp -online AppService -sys hostname command to
start the AppService process.
Result
NOTE:
The U2000 is running if the displayed information contains imapmrb, imapwatchdog -cmd start, imapsysd -cmd
start, imapeventmgr, imap_sysmonitor -cmd start, ResourceMonitor -cmd start, the U2000 processes have started.