Stop / Start Backup Server

 

 

 

 

Fehlermeldung:

 

$ more  /var/opt/sybase/log/AC_BS.log

Oct 30 04:15:00 2007: A00: SYBMULTBUF WARNING: Sybmultbuf created the error log '/var/opt/sybase/log/AC_BS.log' because it did not exist. Either the error 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 ?       15:41 /opt/sybase/V12.0/ASE-12_0/bin/backupserver -e/var/opt/sybase/log/AC_BS.log -N2

  sybase  1689     1  0   Apr 21 ?        0:00 /bin/sh /opt/sybase/sybtbx/setup/RUN_AC_BS

  sybase 18246 18221  0   Aug 06 pts/5    0:00 -csh

 

 

 

 

root@rmx145 # su - sybase

 

Zur Info:

Immer den BackupServerSYS_BACKUP” als erstes Stoppen, anschließend wenn nötig auch den DatenServerAC“.

 

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 14:45:01 ?        0:00 /opt/sybase/V12.0/OCS-12_0/bin/isql -SAC -Ubatchsa

  sybase  8051  8046  0 14:45:00 ?        0:00 /usr/bin/ksh /opt/sybase/sybtbx/mon_engine.sh

  sybase  8046  1912  0 14:45:00 ?        0:00 sh -c /opt/sybase/sybtbx/mon_engine.sh

 

 

 

 

-- 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/Sun Nov  9 07:45:00 2003

Confidential property of Sybase, Inc.

Copyright 1987, 2003

Sybase, Inc.  All rights reserved.

Unpublished rights reserved under U.S. copyright laws.

 

This software contains confidential and trade secret information of Sybase,

Inc.   Use,  duplication or disclosure of the software and documentation by

the  U.S.  Government  is  subject  to  restrictions set forth in a license

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. One Sybase Drive, Dublin, CA 94568, USA

 

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 15:37:58 pts/14   0:00 grep sybase

  sybase 11424 11423  0 14:49:27 pts/14   0:00 /opt/sybase/V12.0/ASE-12_0/bin/backupserver -e/var/opt/sybase/log/AC_BS.log -N2

  sybase 11423     1  0 14:49:27 pts/14   0:00 /bin/sh /opt/sybase/sybtbx/setup/RUN_AC_BS