Sponsored Content
Operating Systems AIX hacmp 5.3 primary and standby? Post 302208917 by itik on Wednesday 25th of June 2008 09:24:44 AM
Old 06-25-2008
hacmp 5.3 primary and standby?

Hi All,

How do I determine if a hacmp 5.3 server is a primary or a standby?

Thanks in advance.
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

hdparm standby

Hi! I have a harddrive that I use in school. I allso wanna use it at home... It's built into a 5.25" rack, and is non-hotswap. My rack has a power key wich I can use to unpower the device. My question is, does the drive take damage if I just umount and run hdparm -y <dev> on it? 1.... (2 Replies)
Discussion started by: Esaia
2 Replies

2. Shell Programming and Scripting

shell script not connecting to primary from standby site

Hi All, I am using below shell script using SQL*Plus to query the MAX(SEQUENCE#) from both databases V$LOG_HISTORY view.If the STANDBY appears to be falling behind by - 2, then alert mail should be sent... How could I achieve it with improving the below script. #!/usr/bin/ksh ... (0 Replies)
Discussion started by: a1_win
0 Replies

3. Shell Programming and Scripting

shell script for primary and standby DB archive log check

Hi All, OS:AIX 5.3 64 bits I would like the below script to send alert mail with the message - "Standby logs falling behind Primary" to xyz@yahoo.com Script ===== #!/usr/bin/ksh #----------------------------------------------------------------------------- # Use SQL*Plus to query... (1 Reply)
Discussion started by: a1_win
1 Replies

4. AIX

Monitor goes into standby

On a IBM AIX 4.3.3 OS monitor goes into standby after a certain period of time. Where should i look to disable monitor power management ? (7 Replies)
Discussion started by: A_L_E_X
7 Replies

5. Solaris

ifconfig primary & standby purpose

I have two ethernet interfaces nge0 and nge1. An IP assigned on nge0 is 10.10.10.1/24 and on nge1 is 20.20.20.1/24. I want to make nge0 as primary interface. My question here is, 1. Being nge0 as primary interface, if I ping to an IP 20.20.20.5, what will happen? 2. If the answer for the... (4 Replies)
Discussion started by: nthiruvenkatam
4 Replies

6. Solaris

IPMP active-standby configuration

Hi All, Need your help to explaining why when i configure 2 interface IPMP active-standby appear, INACTIVE and DEPRECATED parameter, detail screen shoot as below : root@machine01 # ifconfig -a e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7 inet... (6 Replies)
Discussion started by: Wong_Cilacap
6 Replies

7. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

hi, when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies

8. AIX

Servers state STANDBY in HMC v7

We have 2 p520 aix6.0 installed server. Both the server in cluster. and managed by HMC v7 both servers have rebooted due to power outage. Now both server state is STANDBY in HMC. I am unable to login or ping to that servers. Please help (5 Replies)
Discussion started by: reyazan
5 Replies

9. AIX

SEA to standby

hello, what will happen if i try to move sea of my 1 vio server to standby( using chdev command), when sea of other vio server is already in standby mode? (1 Reply)
Discussion started by: amvineeth
1 Replies
PG_ARCHIVECLEANUP(1)					  PostgreSQL 9.2.7 Documentation				      PG_ARCHIVECLEANUP(1)

NAME
pg_archivecleanup - clean up PostgreSQL WAL archive files SYNOPSIS
pg_archivecleanup [option...] archivelocation oldestkeptwalfile DESCRIPTION
pg_archivecleanup is designed to be used as an archive_cleanup_command to clean up WAL file archives when running as a standby server (see Section 25.2, "Log-Shipping Standby Servers", in the documentation). pg_archivecleanup can also be used as a standalone program to clean WAL file archives. To configure a standby server to use pg_archivecleanup, put this into its recovery.conf configuration file: archive_cleanup_command = 'pg_archivecleanup archivelocation %r' where archivelocation is the directory from which WAL segment files should be removed. When used within archive_cleanup_command, all WAL files logically preceding the value of the %r argument will be removed from archivelocation. This minimizes the number of files that need to be retained, while preserving crash-restart capability. Use of this parameter is appropriate if the archivelocation is a transient staging area for this particular standby server, but not when the archivelocation is intended as a long-term WAL archive area, or when multiple standby servers are recovering from the same archive location. When used as a standalone program all WAL files logically preceding the oldestkeptwalfile will be removed from archivelocation. In this mode, if you specify a .backup file name, then only the file prefix will be used as the oldestkeptwalfile. This allows you to remove all WAL files archived prior to a specific base backup without error. For example, the following example will remove all files older than WAL file name 000000010000003700000010: pg_archivecleanup -d archive 000000010000003700000010.00000020.backup pg_archivecleanup: keep WAL file "archive/000000010000003700000010" and later pg_archivecleanup: removing file "archive/00000001000000370000000F" pg_archivecleanup: removing file "archive/00000001000000370000000E" pg_archivecleanup assumes that archivelocation is a directory readable and writable by the server-owning user. OPTIONS
pg_archivecleanup accepts the following command-line arguments: -d Print lots of debug logging output on stderr. -n Print the names of the files that would have been removed on stdout (performs a dry run). -V, --version Print the pg_archivecleanup version and exit. -x extension When using the program as a standalone utility, provide an extension that will be stripped from all file names before deciding if they should be deleted. This is typically useful for cleaning up archives that have been compressed during storage, and therefore have had an extension added by the compression program. For example: -x .gz. Note that the .backup file name passed to the program should not include the extension. -?, --help Show help about pg_archivecleanup command line arguments, and exit. NOTES
pg_archivecleanup is designed to work with PostgreSQL 8.0 and later when used as a standalone utility, or with PostgreSQL 9.0 and later when used as an archive cleanup command. pg_archivecleanup is written in C and has an easy-to-modify source code, with specifically designated sections to modify for your own needs EXAMPLES
On Linux or Unix systems, you might use: archive_cleanup_command = 'pg_archivecleanup -d /mnt/standby/archive %r 2>>cleanup.log' where the archive directory is physically located on the standby server, so that the archive_command is accessing it across NFS, but the files are local to the standby. This will: o produce debugging output in cleanup.log o remove no-longer-needed files from the archive directory AUTHOR
Simon Riggs <simon@2ndquadrant.com> SEE ALSO
pg_standby(1) PostgreSQL 9.2.7 2014-02-17 PG_ARCHIVECLEANUP(1)
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy