Stop / Start Backup Server
Fehlermeldung:
$ more /var/opt/sybase/log/AC_BS.log
has been deleted or moved after booting Backup Server. Error
messages from the backupserver process will not be
written to this error log until the next time
backupserver is rebooted. The
newly created error log will contain only messages from sybmultbuf
processes.
Lösung: Backup Server durch booten.
root@rmx145 # ps -ef |grep
sybase
sybase
1684 1625 0 Apr 21
? 20780:42 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -ONLINE:2,0,0x9e761125,
e000000, 0xf0
sybase
1625 1 2 Apr
21 ? 23144:17 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -d/dev/opt/sybase/AC/master -e/var/op
sybase
1683 1625 2 Apr 21
? 21880:13 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -ONLINE:1,0,0x9e761125,
e000000, 0xf0
sybase
1691 1689 0 Apr 21
?
sybase 1689
1 0 Apr 21 ?
sybase
18246 18221 0 Aug 06
pts/5
root@rmx145 # su - sybase
Zur Info:
Immer den BackupServer “SYS_BACKUP” als erstes Stoppen, anschließend
wenn nötig auch den DatenServer „AC“.
Begründung:
Stopt man den „AC“ Server als erstes kommt man nicht
an den „SYS_BACKUP“ ran, da beim beenden des „AC“ auch isql
down ist.
- Login auf DatenServer , von wo
man den Backup Server Stoppen kann (login aug BackupServer geht nicht).
rmx145% isql -SAC –U[sa_User]
1> sp_helpserver
2> go
name
network_name
class
status
id
---------------------------------------------------------------------------------------------------------------------------
AC
AC
local
0
SYB_BACKUP
AC_BS ASEnterprise
timeouts, no net password encryption, writable , rpc security model
1
(return status = 0)
1> shutdown SYB_BACKUP
2> go
Backup Server: 3.48.1.1: The Backup Server will go
down immediately.
Terminating sessions.
1> quit
-- backupserver Process ist nicht mehr vorhanden.
rmx145% ps -ef |grep
sybase
sybase
1684 1625 0 Apr 21
? 20780:53 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -ONLINE:2,0,0x9e761125,
e000000, 0xf0
sybase
1625 1 1 Apr
21 ? 23144:50 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -d/dev/opt/sybase/AC/master -e/var/op
sybase
1683 1625 0 Apr 21
? 21880:32 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -ONLINE:1,0,0x9e761125,
e000000, 0xf0
sybase
8106 8051 0
sybase
8051 8046 0
sybase
8046 1912 0
-- Sybase
Start des backupserver (RUN_AC_BS)
rmx145% $./opt/sybase/V12.0/ASE-12_0/install/startserver
-f /opt/sybase/sybtbx/setup/RUN_AC_BS
rmx145% $Backup Server/12.0.0.8/P/EBF 11534
IR/Sun_svr4/OS 5.6/1473/32bit/OPT/
Confidential property of
Sybase, Inc.
Copyright 1987, 2003
Sybase, Inc. All rights reserved.
Unpublished rights reserved under
This software contains confidential and trade secret
information of Sybase,
Inc. Use, duplication or
disclosure of the software and documentation by
the
agreement between
the Government and Sybase, Inc. or other written
agreement specifying
the Government's rights to use the software and any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc.
Logging Backup Server messages in file '/var/opt/sybase/log/AC_BS.log'
rmx145% ps -ef |grep
sybase
sybase
1684 1625 4 Apr 21
? 20796:46 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -ONLINE:2,0,0x9e761125,
e000000, 0xf0
sybase
1625 1 4 Apr
21 ? 23165:06 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -d/dev/opt/sybase/AC/master -e/var/op
sybase
1683 1625 4 Apr 21
? 21899:47 /opt/sybase/V12.0/ASE-12_0/bin/dataserver -ONLINE:1,0,0x9e761125,
e000000, 0xf0
sybase
23917 5858 0
sybase
11424 11423 0
sybase
11423 1 0