资讯专栏INFORMATION COLUMN

Fastore数据库部署安装

IT那活儿 / 684人阅读
Fastore数据库部署安装

点击上方“IT那活儿”,关注后了解更多精彩内容!!!


双机部署



1. 创建用户密码


userdel gmdb1

mkdir -p /home/gmdb1

groupadd -g 1005 onip

useradd -d /home/gmdb1 -g onip -s /bin/bash -u 1001 gmdb1

chown -R gmdb1:onip /home/gmdb1

chmod 750 /home/gmdb1

chown -R gmdb1:onip /gmdb1

chmod 750 /gmdb1

passwd gmdb@V3r5

2. 配置host文件

vi /etc/hosts

192.168.**.10 fastore11

192.168.**.11 fastore21

192.168.**.12 share_ip


3. 配置互信


ssh-keygen -t rsa

ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.**.10

ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.**.11 

##上传包

scp GMDB* gmdb1@192.168.**.10:/home/gmdb1/ 

4. 解压安装

tar -zxf GMDB_V200R005C52SPC230_SERVER_20200410_SUSE12.tar.gz 

cd install

./install.sh

192.168.**.10

192.168.**.11

172.50.**.10

172.50.**.11

Please input to config the MAX_CURSORS, range[4096, 8388608], [default: 32768]

131072

fastore11 gmdb1/install% ./install.sh

copy config file server.ini.default to server.ini success.

======================begin install gmdb=============================

install in basic mode, config the basic item

please input an absolute path for GMDB_DATA,length range:[1,256].[default: /home/gmdb1/data]

->/gmdb1/data

/gmdb1/data

please input an absolute path for GMDB_REDO_PATH,length range:[1,256].[default: /home/gmdb1/redo]

->/gmdb1/redo

/gmdb1/redo

Do you want to config SERVER_IP [Y/N]

->Y

Y

Please input the SERVER_IP ip, [default: ]

->192.168.**.10

192.168.**.10

Do you want to config STANDBY_SERVER_IP [Y/N]

->172.50.**.10

Your input is invalid, please input right one, [Y/N]

->Y

Y

Please input the STANDBY_SERVER_IP ip, [default: ]

->172.50.**.10

172.50.**.10

Please input to config the SERVER_PORT, range[1025, 65000], [default: 8500]

->

8500

Please input to config the MAX_LOCKS, range[65536, 16777216], [default: 120000]

->

120000

Please input to config the REDO_FILE_NUM, range[10, 1000], [default: 10]

->100

100

Please input to config the MAX_CURSORS, range[4096, 8388608], [default: 32768]

->134^H1ccc

Your input is invalid, please input to config MAX_CURSORS, range[4096, 8388608]

->131072

131072

====================================================

Current config is following:

DATA_PATH = /gmdb1/data

REDO_PATH = /gmdb1/redo

SERVER_IP = 192.168.**.10

STANDBY_SERVER_IP = 172.50.**.10

SERVER_PORT = 8500

MAX_LOCKS = 120000

REDO_FILE_NUM = 100

MAX_CURSORS = 131072

====================================================

Are you sure to modify?:[Y/N]

->Y

do you want to install the OMA now ? [Y/N]

->N

which mode you want to install  [single/replication]

->

please input the right answer [single/replication]

->replication

in install_replication

Do you want to config HA replicaion,[Y/N]

->Y

Please input the HA_LOCAL_IP1 ip, [default: ]

->192.168.**.10

192.168.**.10

Please input the HA_PEER_IP1 ip, [default: ]

->192.168.**.11

192.168.**.11

Please input the HA_LOCAL_IP2 ip, [default: ]

->172.50.**.10

172.50.**.10

Please input the HA_PEER_IP2 ip, [default: ]

->172.50.**.11

172.50.**.11

Do you want to config DR replicaion,[Y/N]

->N

Please input to config the REP_BUF_SIZE, range[32, 1024], [default: 300]

->

300

Please input to config the DR_MODE, range[0, 2], [default: 0]

->

0

Please input to config the ENABLE_DR_COMPRESS, range[0, 1], [default: 1]

->

1

==================================================

Current config is following:

HA_LOCAL_IP1 = 192.168.**.10

HA_PEER_IP1 = 192.168.**.11

HA_LOCAL_IP2 = 172.50.**.10

HA_PEER_IP2 = 172.50.**.11

DR_LOCAL_IP1 =

DR_PEER_IP1 =

DR_LOCAL_IP2 =

DR_PEER_IP2 =

REP_BUF_SIZE = 300

DR_MODE = 0

ENABLE_DR_COMPRESS = 1

Are you sure to modify?:[Y/N]

->Y

Do you want to install in advanced mode, config the advanced items [Y/N]

->N

Do you want to install in pl mode, config the pl items [Y/N]

->N

GMDB install success, check /home/gmdb1/install/install.log for detail.


>>>>>根据以上安装备库

5. 添加环境变量

cd ~
echo "umask 027" >> .cshrc
source .cshrc


 6. 启动主节点


cd bin
startdb.sh
>>检查下进程:gmp; gmstat -m


7. 备库创建复制关系


gmbar -rnet -force

Receive device ... [100%]  Flush device ... [100%].

Receive redolog ... [100%].

Rebuild redolog ... [ 20%]


8. 启动备库


cd bin

startdb.sh


9. 检查主备状态


<37 fastore21 [gmdb1] :/home/gmdb1/bin>gmp

UID PID PPID %CPU START TTY TIME CMD

gmdb1 64109     1  1.6 16:27 pts/2    00:00:00 gmoam

gmdb1 64124     1 60.5 16:28 pts/2    00:00:01 gmserver

<38 fastore21 [gmdb1] :/home/gmdb1/bin>gmstat -m

key bytes type name create_time

0x3e90000    2262096    SHM_FIXED MEMORY_MANAGER Fri Sep 3 16:27:06 2021

0x3e90001    31457280   SHM_FIXED MEMORY_MISC Fri Sep 3 16:27:06 2021

0x3e90002    494289112  SHM_FIXED MEMORY_SYSGA Fri Sep 3 16:28:01 2021

0x3e90003    99205424   SHM_FIXED MEMORY_APPGA Fri Sep 3 16:28:01 2021

0x3e90004    163840     SHM_FIXED MEMORY_CTRLSPACE Fri Sep 3 16:27:07 2021

0x3e90005    67277016   SHM_FIXED MEMORY_APPCS Fri Sep 3 16:28:03 2021

0x3e90006    7816       SHM_FIXED MEMORY_REPSTAT Fri Sep 3 16:28:02 2021

0x3e90008    270336     SHM_FIXED MEMORY_SECURITY Fri Sep 3 16:28:03 2021

0x3e903e8    8388608    SHM_DEVICE SYSTEM_DEV Fri Sep 3 16:27:08 2021

0x3e903e9    8388608    SHM_DEVICE UNDO_DEV Fri Sep 3 16:27:08 2021

0x3e903ea    8388608    SHM_DEVICE TEMP_DEV Fri Sep 3 16:28:02 2021

0x3e903eb    8388608    SHM_DEVICE TEMP_UNDO_DEV Fri Sep 3 16:28:02 2021

0x3e903ec    8388608    SHM_DEVICE USER_DEV Fri Sep 3 16:27:08 2021

0x3e903ed    8388608    SHM_DEVICE HASH_DEV Fri Sep 3 16:27:08 2021

0x3e903ee    8388608    SHM_DEVICE HASH_TEMP_DEV Fri Sep 3 16:28:02 2021

0x3e903ef    8388608    SHM_DEVICE REP_UNDO_DEV Fri Sep 3 16:27:08 2021

0x3e903f0    8388608    SHM_DEVICE REP_DEV Fri Sep 3 16:27:08 2021

0x3e90bb8    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:27:08 2021

0x3e90bb9    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:27:08 2021

0x3e90bba    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:28:02 2021

0x3e90bbb    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:28:02 2021

0x3e90bbc    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:27:08 2021

0x3e90bbd    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:27:08 2021

0x3e90bbe    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:28:02 2021

0x3e90bbf    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:27:08 2021

0x3e90bc0    8192       SHM_PAGE_LATCH MEMORY_PAGE_LATCH Fri Sep 3 16:27:08 2021

<39 fastore21 [gmdb1] :/home/gmdb1/bin>gmstat -s

shared memory system information:

system mode:              Standby

current DCN:              183

recovery DCN:             120

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 760.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 16.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

<40 fastore21 [gmdb1] :/home/gmdb1/bin>
<31 fastore11 [gmdb1] :/home/gmdb1/bin>gmstat -rep
ha_send Connection information :
localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

172.50.**.10:35931 172.50.**.11:8501 ESTABLISHED 20.89 KB 2.37 KB 0

<32 fastore11 [gmdb1] :/home/gmdb1/bin>


10. 测试双机


<87 localhost.localdomain [fastore] /home/gmdb>gmsql

gmsql V200R005C52SPC230 - Production on Apr 10 2020

SQL>
connect sys/Admin123 ipc;

Connected through DB ...

Successfully CONNECT to DB.(IPC)

SQL>
CREATE USER sysman IDENTIFIED BY Sysman123;

SQL Executed Successfully

SQL>


SQL>
connect sysman/Sysman123 192.168.**.3:8500;

Connected through DB ...

Successfully CONNECT to DB.(TCP without SSL:192.168.**.3)

SQL>



双机启停


1. 启动:

1.1 以安装用户登录主节点:


${GMDB_HOME}/bin/startdb.sh

注:${GMDB_HOME}为fastore安装目录


1.2 检查gmserver进程状态:


<40 fastore11 [gmdb1] /home/gmdb1/bin>gmp

UID PID PPID %CPU START TTY TIME CMD

gmdb1 6186     1  0.6 14:17 pts/1    00:00:07 gmoam

gmdb1 6202     1  3.6 14:17 pts/1    00:00:40 gmserver

1.3 检查数据库状态:

<41 fastore11 [gmdb1] /home/gmdb1/bin>gmstat -s

shared memory system information:

system mode: Active

current DCN: 1115

recovery DCN: 586

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 40.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

1.4 以安装用户登录备节点:

${GMDB_HOME}/bin/startdb.sh

注:${GMDB_HOME}为fastore安装目录

1.5 检查备节点gmserver进程状态:

<32 fastore21 [gmdb1] /home/gmdb1/bin>gmp

UID PID PPID %CPU START TTY TIME CMD

gmdb1 5569     1  0.4 14:18 pts/1    00:00:04 gmoam

gmdb1 5585     1  3.4 14:19 pts/1    00:00:38 gmserver

1.6 检查备节点数据库状态:

<33 fastore21 [gmdb1] /home/gmdb1/bin>gmstat -s

shared memory system information:

system mode: Standby

current DCN: 1240

recovery DCN: 682

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 16.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB


1.7 检查双机HA主备复制关系:

1.7.1 主节点:

<42 fastore11 [gmdb1] /home/gmdb1/bin>gmstat -rep

ha_send Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.11:59929 192.168.**.12:8501 ESTABLISHED 308.91 KB 38.65 KB 0

1.7.2 备节点:

<34 fastore21 [gmdb1] /home/gmdb1/bin>gmstat -rep

recv Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.12:8501 192.168.**.11:59929 ESTABLISHED 38.01 KB 309.85 KB 0

注:ESTABLISHED状态代表正常(确定)。

2. 停止:

2.1 以安装用户登录主节点:

${GMDB_HOME}/bin/stopdb.sh

<43 fastore11 [gmdb1] /home/gmdb1/bin>stopdb.sh

stop gmserver ...

Success to stop gmserver.

stop gmoam ...

Success to stop gmoam.

2.2 检查gmserver进程状态:

<44 fastore11 [gmdb1] /home/gmdb1/bin>gmp

UID        PID PPID %CPU START TTY TIME CMD


注:没有进程代表已经停止。

2.3 检查数据库状态:

<45 fastore11 [gmdb1] /home/gmdb1/bin>gmstat -s

shared memory system information:

system mode: Active

current DCN: 1498

recovery DCN: 1498

database status:          close

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 40.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

注:如果状态不是close则等待十秒钟左右。

2.4 以安装用户登录备节点:

${GMDB_HOME}/bin/stopdb.sh

<35 fastore21 [gmdb1] /home/gmdb1/bin>stopdb.sh

stop gmserver ...

Success to stop gmserver.

stop gmoam ...

Wait 10 seconds, and stop gmoam by gmadm again.

Success to stop gmoam.

<36 fastore21 [gmdb1] /home/gmdb1/bin>

2.5 检查进程状态:

<36 fastore21 [gmdb1] /home/gmdb1/bin>gmp

UID        PID PPID %CPU START TTY TIME CMD

注:没有进程代表已经停止。

2.6 检查数据库状态:

<37 fastore21 [gmdb1] /home/gmdb1/bin>gmstat -s

shared memory system information:

system mode: Standby

current DCN: 1498

recovery DCN: 1498

database status:          close

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 16.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB



双机切换



1. 正常手动切换

前提:双机状态正常,主备复制正常;

1.1 检查双机状态,检查主备状态:

gmstat -s

gmstat -rep


1.2 将主节点改为备节点(在主节点执行):


hatool –setmodebysql standby<56 fastore11 [gmdb1] /home/gmdb1>hatool -setmodebysql standby

Success to set GMDB rep mode to standby by sql

<57 fastore11 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Standby

current DCN: 2116

recovery DCN: 2116

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 16.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

<58 fastore11 [gmdb1] /home/gmdb1>

1.3 将备节点改为主节点(在备节点执行):

hatool –setmodebysql active

<45 fastore21 [gmdb1] /home/gmdb1>hatool -setmodebysql active

Success to set GMDB rep mode to active by sql

<46 fastore21 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Active

current DCN: 2121

recovery DCN: 2117

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 40.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

1.4 检查双机复制状态(此时主备节点已交换成功):

1.4.1 主节点:

<47 fastore21 [gmdb1] /home/gmdb1>gmstat -rep

ha_send Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.12:35091 192.168.**.11:8501 ESTABLISHED 14.52 KB 2.01 KB 0


1.4.2 备节点:


<58 fastore11 [gmdb1] /home/gmdb1>gmstat -rep

recv Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.11:8501 192.168.**.12:35091 ESTABLISHED 3.16 KB 23.71 KB 0

<59 fastore11 [gmdb1] /home/gmdb1>


2. 故障时手动切换

2.1 检查主备节点数据库状态及复制状态:

2.1.1 主节点:

<50 fastore21 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Active

current DCN: 2379

recovery DCN: 2379

database status:          close

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 40.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

<51 fastore21 [gmdb1] /home/gmdb1>gmstat -rep

ha_send Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.12:35091    192.168.**.11:8501     CLOSED 65.88 KB 8.49 KB 0


2.1.2 备节点:

<60 fastore11 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Standby

current DCN: 2379

recovery DCN: 2116

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 16.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

<60 fastore11 [gmdb1] /home/gmdb1>gmstat -rep

recv Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.11:8501     192.168.**.12:35091    CLOSED 8.49 KB 65.88 KB 0

<61 fastore11 [gmdb1] /home/gmdb1>

2.2 切换备节点为主节点:

hatool -setmodebysql active

<62 fastore11 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Active

current DCN: 2386

recovery DCN: 2380

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 40.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

<63 fastore11 [gmdb1] /home/gmdb1>gmstat -rep

ha_send Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

:0                     :0                     CLOSED 488.59 KB 53.60 KB 273

2.3 备节点状态:

注:此处是以关闭主节点数据库模拟主节点故障,故共享内存没有释放。

<55 fastore21 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Active

current DCN: 2379

recovery DCN: 2379

database status:          close

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 40.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

<56 fastore21 [gmdb1] /home/gmdb1>gmstat -rep

ha_send Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.12:35091    192.168.**.11:8501     CLOSED 65.88 KB 8.49 KB 0

2.4 恢复备节点:

注:此处是以关闭主节点数据库模拟主节点故障,故共享内存没有释放。

>>释放共享内存:

gmadm -d

<57 fastore21 [gmdb1] /home/gmdb1>gmadm -d

Shared memory will be deleted, are you sure? [y/n]y

Successfully delete shared memory.

<58 fastore21 [gmdb1] /home/gmdb1>

<58 fastore21 [gmdb1] /home/gmdb1>

<58 fastore21 [gmdb1] /home/gmdb1>gmstat -s

Share memory is not exist.

<59 fastore21 [gmdb1] /home/gmdb1>gmstat -rep

Share memory is not exist.

<60 fastore21 [gmdb1] /home/gmdb1>gmp

UID PID PPID %CPU START TTY TIME CMD

<61 fastore21 [gmdb1] /home/gmdb1>


>>创建复制关系:


<61 fastore21 [gmdb1] /home/gmdb1>gmbar -rnet -force

Receive device ... [100%] Flush device ... [100%].

Receive redolog ... [100%].

Rebuild redolog ... [100%].

Complete sync success.

<62 fastore21 [gmdb1] /home/gmdb1>


>>检查备节点状态(此时故障时的主节点已交换为备节点):


<62 fastore21 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Standby

current DCN: GA not exist

recovery DCN: 2754

database status:          close

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 0 B

rep data memory size : 16.00 MB

rep data occupied memory size : 0 B

hash memory size : 16.00 MB

hash occupied memory size : 8.01 MB

<63 fastore21 [gmdb1] /home/gmdb1>gmstat -rep

Attach rep stat shm failed.

<64 fastore21 [gmdb1] /home/gmdb1>

>>启动备节点数据库:

<65 fastore21 [gmdb1] /home/gmdb1>gmp

UID PID PPID %CPU START TTY TIME CMD

gmdb1 8589     1  2.3 15:16 pts/1    00:00:00 gmoam

gmdb1 8605     1 41.5 15:16 pts/1    00:00:01 gmserver

<66 fastore21 [gmdb1] /home/gmdb1>gmstat -s

shared memory system information:

system mode: Standby

current DCN: 2884

recovery DCN: 2755

database status:          open

total database size : 72.16 MB

device memory size : 72.00 MB

data memory size : 24.00 MB

data occupied memory size : 776.00 KB

temp data memory size : 16.00 MB

temp data occupied memory size : 16.00 KB

rep data memory size : 16.00 MB

rep data occupied memory size : 16.00 KB

hash memory size : 16.00 MB

hash occupied memory size : 16.00 KB

<67 fastore21 [gmdb1] /home/gmdb1>gmstat -rep

recv Connection information :

localip peerip state send recv pendinglog

--------------------- --------------------- ----------- ----------- ----------- -----------

192.168.**.12:8501     192.168.**.11:60031    ESTABLISHED 518 B 25.00 KB 0

<68 fastore21 [gmdb1] /home/gmdb1>


下节我们详细讲一下Fastore数据库备份恢复和日常维护。

本 文 原 创 来 源:IT那活儿微信公众号(上海新炬王翦团队)

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/129717.html

相关文章

  • 集群创建 智能大数据平台 USDP

    摘要:点击创建集群按钮开始创建集群资源点击创建集群按钮开始创建集群资源创建集群创建集群设置地域和可用区信息设置地域和可用区信息请根据您的需要,在创建集群向导中设置新集群所归属的地域及可用区信息。 集群创建本篇目录开始创建集群资源开始部署集群服务和组件智能大数据平台USDP集群的创建过程,分为两个部分,即在公有云控制台中,创建USDP的集群资源,待创建完成后,进入您独享的USDP管理服务开始规划并创...

    ernest.wang 评论1 收藏3013
  • 云服务器 ECS 建站教程:在ECS上部署据库

    摘要:在阿里云平台上,可通过自带的镜像市场实现一键部署系统的数据库,完美解决耗时长部署易出错的缺陷。操作步骤登录云服务器管理控制台。单击左侧导航中的云服务器创建实例。在ECS上部署数据库 数据库是依照某种数据模型组织起来并存放二级存储器中的数据集合。这种数据集合具有如下特点:尽可能不重复,以最优方式为某个特定组织的多种应用服务,其数据结构独立于使用它的应用程序,对数据的增、删、改和检索由统一软件进...

    stefan 评论0 收藏0
  • CentOS 5系统安装Django、Apache 、mod_wsgi部署Python环境教程

    摘要:系统安装部署环境教程第一安装依赖环境在准备安装框架部署之前,我们需要先安装依赖环境,因为可能默认的环境没有完善的最新部署包。检查最新版本的数据库,然后部署安装。到目前为止,我们已经成功的在环境中部署了应用程序,以及。 Django,是一款针对Python环境的WEB开发框架,能够帮助我们构架快捷、简单的WEB框架设置,Django框架非常适合开发内容应用环境,所以在本文中,麦子将整理基...

    褰辩话 评论0 收藏0
  • NodeJS项目迁移兼Ubuntu下NodeJS环境部署

    摘要:前言之前做的几个项目都托管在阿里云服务器,但是最近要到期了。环境部署折腾了一天,其中也遇到几个坑。项目迁移历时一天,两台服务器的系统都是位。 前言 之前做的几个项目都托管在阿里云服务器,但是最近要到期了。想着到底要不要续期,毕竟100/月。后面看着阿里云有个活动,800/三年。果断买下。环境部署折腾了一天,其中也遇到几个坑。 目录 一、安装环境 1.1 安装NodeJS环境 ...

    jlanglang 评论0 收藏0
  • NodeJS项目迁移兼Ubuntu下NodeJS环境部署

    摘要:前言之前做的几个项目都托管在阿里云服务器,但是最近要到期了。环境部署折腾了一天,其中也遇到几个坑。项目迁移历时一天,两台服务器的系统都是位。 前言 之前做的几个项目都托管在阿里云服务器,但是最近要到期了。想着到底要不要续期,毕竟100/月。后面看着阿里云有个活动,800/三年。果断买下。环境部署折腾了一天,其中也遇到几个坑。 目录 一、安装环境 1.1 安装NodeJS环境 ...

    source 评论0 收藏0

发表评论

0条评论

IT那活儿

|高级讲师

TA的文章

阅读更多
最新活动
阅读需要支付1元查看
<