Aggiornamento delle connessioni per i sistemi Rational ClearQuest Client su Linux e UNIX
Utilizzare il comando cqreg refresh per aggiornare una connessione per i client di sistema Linux and UNIX ogni volta che le informazioni di connessione vengono modificate.
L'utilizzo del comando cqreg refresh è appropriato quando i database dell'utente sono creati o modificati e quando i repository di schemi e i database dell'utente sono spostati.
Utilizzare cqreg refresh per ogni area di installazione di sistema Linux e UNIX per cui è stata modificata la connessione del database. Non è necessario eseguirlo su ogni client Rational ClearQuest.
Se cqreg refresh non ristabilisce la connessione, utilizzare i comandi cqreg drop_dbset e cqreg add_dbset per eliminare e ricreare le informazioni di connessione del database.
Il seguente esempio mostra l'output dall'utilizzo di cqreg show -all.
Visualizza le informazioni su tutte le connessioni per Rational ClearQuest Client:
axon 20: cqreg show -all
::: [cqreg_main show -all]
--- Default DB path is /opt/company_xxx/clearquest/CQDB_xxxx/cqdb_registry/
--- Default version is 2003.06.13
axon 11: cqreg show -all
Database Set Name: WH0axon
Master Database: MASTR
Description: the master
Vendor: ORACLE
Server: cqxxx1
ConnectOptions: HOST=cqxxx7;SID=CQ1;LOB_TYPE=CLOB
Database: WH0axonORA
User Database: SAMPL
Description: Sample Database
Vendor: SQL_SERVER
Server: cqxxx2
ConnectOptions:
Database: WH0axonSS
Database Set Name: UCM
Master Database: MASTR
Description: the master
Vendor: SQL_SERVER
Server: cqxxx3
ConnectOptions:
Database: UCMCQ_IHD_MSTR
User Database: HIRES
Description: HR database
Vendor: ORACLE
Server: cqxxx4
ConnectOptions: HOST=cqxxx6;SID=SO322;LOB_TYPE=CLOB
Database: ABC_HR
User Database: UCMCQ
Description: Production database
Vendor: SQL_SERVER
Server: cqxxx5
ConnectOptions:
Database: UCMCQ_IHD_USERDB
::: [cqreg has finished]
Il seguente esempio mostra l'output da cqreg refresh -dbset.
axon 21: cqreg refresh -dbset UCM
::: [cqreg_main refresh -dbset UCM]
--- Default DB path is /opt/company_xxx/clearquest/CQDB_xxxx/cqdb_registry/
--- Default version is 2003.06.13
--- Refresh database set UCM
--- Db registry UCMCQ needs to be updated
+++ Db registry UCMCQ was updated successfully
--- Db registry HR needs to be updated
+++ Db registry HR was updated successfully
--- Db registry MASTR needs to be updated
+++ Db registry MASTR was updated successfully
+++ Database set UCM was refreshed successfully
::: [cqreg has finished]
Il seguente esempio mostra l'output da cqreg refresh -all.
Aggiorna tutte le connessioni per un client.
axon 22: cqreg refresh -all
::: [cqreg_main refresh -all]
--- Default DB path is /opt/company_xxx/clearquest/CQDB_xxxx/cqdb_registry/
--- Default version is 2003.06.13
--- Refresh database set WH0axonSS
--- Db registry SAMPL needs to be updated
+++ Db registry SAMPL was updated successfully
--- Db registry MASTR needs to be updated
+++ Db registry MASTR was updated successfully
+++ Database set WH0axonSS was refreshed successfully
--- Refresh database set UCM
--- Db registry TEST needs to be updated
+++ Db registry TEST was updated successfully
--- Db registry UCMCQ needs to be updated
+++ Db registry UCMCQ was updated successfully
--- Db registry HR needs to be updated
+++ Db registry HR was updated successfully
--- Db registry MASTR needs to be updated
+++ Db registry MASTR was updated successfully
+++ Database set UCM was refreshed successfully
::: [cqreg has finished]