Skip to main content

Agent

This section provides useful information to troubleshoot any problem you may have.

Topics


FileDescription
/opt/cxbagent/cxbagentcxbagent binary
/opt/cxbagent/config.yamlAgent configuration file
/opt/cxbagent/catalog.yamlList of configured agents
/etc/sudoers.d/cxbagentsudo configuration for configured agents
/etc/systemd/system/cxbagent.serviceDaemon service configuration file
/var/log/cxbagent/cxbagent.logAgent Daemon log file

Catalog


_15
version: "1.0"
_15
dbsadmins:
_15
- agentuuid: 0778dc2c-5c7f-4461-a5d5-95a8bd130c20
_15
agent_name: sybase_agent
_15
user: sybd04
_15
group: sapsys
_15
orguuid: 453cf3be-86ea-409b-a036-58e2148ca13f
_15
apikey: 5558ea190275b6a9eb86a87f3b467a
_15
tags:
_15
- name: Owner
_15
value: i.guinea@syntax.com
_15
- name: Project
_15
value: CxRun
_15
dbuser: sapsa
_15
dbpass: 9fae748c55261096336be98d11e2725e08a423daa8257e68b2d29c14430dde021fec8ab4c6687ce67dd352aa5463abe0649802a9bbd3e4f7bbf1b15b2afa73af7e9094b813b5dc81ee013595526f5453ade37fe54e94e67d572bd926b07b4e0a2a76a78c3cae9bc7de4a70194b06eb9206c67f401e371c5de41980943a9225849115fef622f98aa89ac8f22881c3b631b06668d92011b9a359a561176fcca8568e59f744230b87829353ba7798cbc9232cb6b9b48c3200cd600ccee7b5fbe7fe95588e8ee2269de0e319f7a6af7a57a93ff915d21398cdb81ddb2a56dcd137758e189c9a3561fe9b598caff4ab30463e621867261f0d205268d47e6547815875

Configuration


_11
version: "1.0"
_11
logger:
_11
max_age: 10
_11
rotation_time: 1
_11
file_format: TEXT
_11
file_log_level: INFO
_11
std_out_hook: false
_11
std_out_format: TEXT
_11
std_out_log_level: INFO
_11
rpc_addr: 127.0.0.1:42586
_11
go_tool_prof: true

FieldDescription
logger.file_log_levelINFO, DEBUG, TRACE information on log file
rpc_addrinternally opened port (communication with backint)
go_tool_profFor debugging purposes

 FileDescription
/opt/cxbagent/<os_user>/config.yamlAgent configuration file
/opt/cxbagent/<os_user>/biracora.dbBitacora of launched backups and restores database
/opt/cxbagent/<os_user>/private.pemEncryption private key for credentials
/opt/cxbagent/<os_user>/public.pemEncryption public key for credentials
/var/log/cxbagent/<os_user>/log.logAgent log file

Configuration


_29
version: "1.0"
_29
logger:
_29
max_age: 10
_29
rotation_time: 1
_29
file_format: TEXT
_29
file_log_level: INFO
_29
std_out_hook: false
_29
std_out_format: TEXT
_29
std_out_log_level: INFO
_29
backup_notification_frequency: 1
_29
restore_notification_frequency: 1
_29
database_discover_frequency: 30
_29
last_notified_backup: 2024-07-17T13:40:02Z
_29
plans:
_29
- uuid: 8be096e1-4b5b-4b8b-adfa-68a3f1639bf2
_29
enabled: true
_29
instance:
_29
crontab_expresion: '*/10 * * * *'
_29
action_type: BACKUP
_29
action_request:
_29
bck_level: CUMULATIVE
_29
bck_profile: emory_S1
_29
db_sid: D04
_29
start_time: 2024-07-17T11:17:40.377Z
_29
version: 1
_29
enabledby: jon.herrazti@syntax.com
_29
disabledby: ""
_29
modified_time: 2024-07-17T11:17:40.377Z
_29
agent_modified_time: 0001-01-01T00:00:00Z

Editable fields:

FieldDescription
logger.file_log_levelINFO, DEBUG, TRACE information on log file
backup_notification_frequencySeconds frequency to update information of current backup
restore_notification_frequencySeconds frequency to update information of current restore
database_discover_frequencySeconds in frequency to reload database information

Other fields (DO NOT EDIT THEM):

FieldDescription
last_notified_backupLast time a backup was notified
plansList of active backup plans