Disk Array
Step 2 Start the U2000 server processes
1.2.5 Starting the U2000 Server in a SUSE Linux High Availability SystemSystem
The U2000 server can be started in three steps: power on the server safely, start the database, and start the U2000 server processes.
1.2.5.1 Powering On the Server Safely
This topic describes how to power on the server in a SUSE Linux system safely. Power on the Huawei Tecal RH2288H V2, Huawei Tecal RH5885H V3, IBM X3650 M4, IBM X3650 M3 or IBM X3850 X5 on condition that the power supply is normal.
Server
1. Power on a Huawei Tecal RH2288H V2/Huawei Tecal RH5885H V3/IBM X3650 M4/
IBM X3650 M3/IBM X3850 X5 server.
NOTICE
l Huawei Tecal RH2288H V2/Huawei Tecal RH5885H V3 server supports 100 to 240 VAC input voltage.
l IBM X3650 M4/IBM X3650 M3/IBM X3850 X5 server supports 100 to 132 VAC and 200 to 240 VAC input voltage.
l Configure power supply based on the rated system power requirement, see U2000 Hardware Installation Guide (Huawei N610E cabinet).
For the Single-Server System (SUSE Linux), if the power supply is insufficient, the server automatically stops.
For the High Availability System (SUSE Linux), if the power supply is insufficient, the server automatically stops and the high availability system fails to trigger an active/
standby switchover.
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.
NOTE
If the power button is steady on, the server has been successfully powered on. For details about IBM server indicators, see the manual for IBM servers or log in to the official IBM website. For details about Huawei server indicators, see the manual for Huawei servers or log in to the official Huawei website. For official websites of software and hardware documents, see How Do I Obtain Third-Party Software and Hardware Materials?.
The red boxes in the following figures show the positions of power buttons on Huawei Tecal RH2288H V2, Huawei Tecal RH5885H V3, IBM X3650 M4, IBM X3650 M3 and IBM X3850 X5.
Figure 1-23 Position of the power button on Huawei Tecal RH5885H V3 server
Figure 1-24 Position of the power button on Huawei Tecal RH2288H V2 server
Figure 1-25 Position of the power button on IBM X3650 M4
Figure 1-26 Position of the power button on IBM X3650 M3
Figure 1-27 Position of the power button on IBM X3850 X5
Disk Array
NOTICE
l To prevent data loss, do not remove or insert disk modules, controllers, fibers, network cables, or serial cables when powering on a disk array.
l To prevent disk damage and data loss, do not turn on or cut off the power supply when the disk is accessing data. If the power supply is cut off, wait at least 1 minute before turning it on.
Power on a disk array.
NOTE
Power supply must be provided for the two power modules of the OceanStor S3900; otherwise, the OceanStor S3900 fail to be used. Then press the power switch on the controller A / B. Wait 5 to 10 minutes until the power indicator is steady green, no longer flashing, indicating the success of the power-on.
1.2.5.2 Starting the Database
This topic describes how to start the database in a PC Linux high availability system. The U2000 can start properly only after the database is started.
Prerequisites
l The OS has been started.
l The server is properly connected to the network.
l The VCS service has started along with the OS and the disk is functioning properly.
Procedure
Step 1 Perform the following operations to start the Sybase database:
l GUI mode:
1. Log in to the active site as the root user.
2. Run the following command to start the VCS client:
# hagui&
3. Choose File > New Cluster from the main menu. In the dialog box that is displayed, enter the server IP address 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. Ensure that all Veritas resources are in Enabled state. Use the BackupServer resource as an example. Perform the following operations:
Expand the AppService node and then the SybaseBk node in the navigation tree, right-click BackupServer, and check whether Enabled has been selected in the shortcut menu. If Enabled has not been selected, select it.
6. Right-click BackupServer and choose Online > host name from the shortcut menu.
7. In the dialog box that is displayed, click Yes.
Wait until the BackupServer and DatabaseServer resource icons on the Resources tab page are bright, which indicates that the Sybase database service has started.
l CLI mode:
1. Log in to the active site as the root user.
2. Run the following commands to query Veritas resource names:
# haconf -makerw
# hares -list
Information similar to the following is displayed in a Solaris high availability system:
BackupServer Primary
Information similar to the following is displayed in a PC Linux high availability system:
3. 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:
For example, execute the following commands in a Solaris high availability system:
# hares -modify BackupServer Enabled 1
# hares -modify DataFilesystem Enabled 1
# hares -modify DatabaseServer Enabled 1
# hares -modify NMSServer Enabled 1
# hares -modify RVGPrimary Enabled 1
# hares -modify datarvg Enabled 1
# hares -modify wac Enabled 1
For example, execute the following commands in a PC Linux high availability system:
# hares -modify APPBOND Enabled 1
# hares -modify BackupServer Enabled 1
# hares -modify DatabaseServer Enabled 1
# hares -modify NMSServer Enabled 1
# hares -modify RVGPrimary Enabled 1
# hares -modify datarvg Enabled 1
# hares -modify mountRes Enabled 1
# hares -modify wac Enabled 1
4. Run the following command to start the Sybase database service:
# hares -online BackupServer -sys hostname
NOTE
hostname specifies the server name. You can run the hostname command to view the server name.
----End
Result
Run the following command to check whether the Sybase process is running:
$ ps -ef | grep sybase
Information similar to the following is displayed:
dbuser 4989 1 0 Sep20 ? 00:00:00 /bin/sh /opt/sybase/ASE-15_0/install/
RUN_DBSVR
dbuser 5003 4989 0 Sep20 ? 00:00:14 /opt/sybase/ASE-15_0/bin/dataserver -sDBSVR -d/opt/sybase/data/lv_master -e/opt/sybase/ASE-15_0/install/DBSVR.log -c/
opt/sybase/ASE-15_0/DBSVR.cfg -M/opt/sybase/ASE-15_0
dbuser 5012 1 0 Sep20 ? 00:00:00 /bin/sh /opt/sybase/ASE-15_0/install/
RUN_DBSVR_back
dbuser 5016 5012 0 Sep20 ? 00:00:00 /opt/sybase/ASE-15_0/bin/
backupserver SDBSVR_back e/opt/sybase/ASE15_0/install/DBSVR_back.log N25 C20 -M/opt/sybase/ASE-15_0/bin/sybmultbuf
...
NOTE
The database is running if the displayed information contains /opt/sybase/ASE15_0/bin/dataserver -sDBSVR and /opt/sybase/ASE-15_0/bin/backupserver -SDBSVR_back.
1.2.5.3 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.
Prerequisites
The OS on the computer on which the U2000 server processes are installed is running properly, and the database has been started.
Procedure
Step 1 Log in to the OS on the active site as the root user.
Step 2 Start the U2000 server processes.
l GUI mode:
1. Open a terminal window and 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, create a new cluster.
1. Choose File > New Cluster.
2. Enter an application network IP address.
3. Click OK.
3. Set User Name and Password.
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. In the Cluster Explorer window, select the AppService resource group in the navigation tree, right-click, and choose Online > host name from the shortcut menu to start the Sybase process and U2000 server processes.
NOTE
Click the Resources tab to view the start status of each resource.
Normally, the value of State for the active site is Online in the Group Status on Member Systems area on the Status tab page, and the value of Status is Online on host name in the Resource Status area.
NOTE
l Use the actual host name for real-world configuration.
l If a fault has occurred during the start of the AppService process, right-click AppService and choose clear fault from the shortcut menu to rectify the fault. Then choose Online > host name to start the AppService process.
6. In the dialog box that is displayed, click Yes.
l CLI mode:
# hagrp -online AppService -sys hostname
NOTE
l hostname specifies the server name. You can run the hostname command to view the server name.
l 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.
----End
Result
1. Log in to the OS of the active site as the ossuser user.
2. Run the following command to check whether the U2000 is running:
$ daem_ps
Information similar to the following is displayed:
ossuser 27069 1 0 10:31:39 ? 1:39 imapmrb
The U2000 is running if the displayed information contains imap_sysmonitor -cmd start.