Progress
Version 9
Product Update Bulletin


The isalive and looksalive Parameters

The isalive and looksalive parameters query the cluster manager software about the state of a database. With Isalive, the query is made to the active system and the check is known to be accurate. With Looksalive, on systems where the cluster manager maintains a cache of the cluster state, PROCLUSTER will query the cache instead of the active system. There is a small window of opportunity where the cache and the system could be out of sync.

To determine if a resource looks operational, enter the following command:

procluster db-name looksalive 

db-name

Specifies a database to be queried. The database must be a member of the cluster. The database name must contain the fully qualified path.

The looksalive exit status returns the following text if the database looks alive:

Resource: db-name State: Looks Alive 

The only state of the database that returns a value of Looks Alive is when the database is enabled and started. All other states will return the following:

Resource: db-name State: Not Alive 

where db-name is the fully qualified path of the database.

To determine if a resource is actually operational, enter the following command:

procluster db-name isalive 

db-name

Specifies a database to be queried. The database must be a member of the cluster. The database name must contain the fully qualified path.

The isalive exit status returns the following text if the database returns a successful query:

Resource: db-name State: Is Alive 

All other states return the following:

Resource: db-name State: Not Alive 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095