cancel
Showing results for 
Search instead for 
Did you mean: 

What is the "Host" in the dbbackup command?

1,764

Hello,

I am trying to launch a dbbackup (on an AWS host) but the command keeps failing. I have a High Availability system running and have the database I want to backup running with a particular server as the Primary. Here are the details:

  • I am trying to implement the instructions @ the dbbackup page on DCX.

  • This is an AWS Ubuntu 16.0.4 Host and I am connected through SSH.

  • I am launching the HA server that serves as the Primary server for the database with: dbsrv17 -n {dbservername} -x "tcpip(PORT={primaryserverport};DOBROAD=no)" -su {utilitydbpassword} -xf {pathtostatefile} -o {pathtoconsolelog} -os 256k -oe {pathtoerrorlog} {pathtodatabase}{databasename} -xp on

  • Here are the various attempts to run dbbackup. Note that what changes in each attempt is either HOST or DBN: 1) These attempts all result in: Database server not found:

    AWS Private IP w/Raw DB name:

    dbbackup -c "Host={awshostprivateip};DBN={rawdbname};UID={userid};PWD={password}" {pathtobackuplocation}

    AWS Private IP w/HA Virtual DB name:

    dbbackup -c "Host={awshostprivateip};DBN={virtualserverdbname};UID={userid};PWD={password}" {pathtobackuplocation}

    AWS Public IP w/Raw DB name:

    dbbackup -c "Host={awshostpublicip};DBN={rawdbname};UID={userid};PWD={password}" {pathtobackuplocation}

    AWS Public IP w/HA Virtual DB name:

    dbbackup -c "Host={awshostpublicip};DBN={virtualserverdbname};UID={userid};PWD={password}" {pathtobackuplocation}

2) These attempts all result in: Connection error: No IP address found for {dbservername}:

{dbservername} w/raw DB name:

dbbackup -c "Host={dbservername};DBN={rawdbname};UID={userid};PWD={password}" {pathtobackuplocation}

{dbservername} w/HA Virtual DB name:

dbbackup -c "Host={dbservername};DBN={virtualserverdbname};UID={userid};PWD={password}" {pathtobackuplocation}

I suspect the fundamental question is: "What is the 'HOST' in an HA system"?

Thank you.

Accepted Solutions (0)

Answers (0)