Agent
This section provides useful information to troubleshoot any problem you may have.
Topics
CxLink Agent Daemon files
File | Description |
---|---|
/opt/cxbagent/cxbagent | cxbagent binary |
/opt/cxbagent/config.yaml | Agent configuration file |
/opt/cxbagent/catalog.yaml | List of configured agents |
/etc/sudoers.d/cxbagent | sudo configuration for configured agents |
/etc/systemd/system/cxbagent.service | Daemon service configuration file |
/var/log/cxbagent/cxbagent.log | Agent Daemon log file |
Catalog
_15version: "1.0"_15dbsadmins:_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
_11version: "1.0"_11logger:_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_11rpc_addr: 127.0.0.1:42586_11go_tool_prof: true
Field | Description |
---|---|
logger.file_log_level | INFO, DEBUG, TRACE information on log file |
rpc_addr | internally opened port (communication with backint) |
go_tool_prof | For debugging purposes |
CxLink Run Agent files
File | Description |
---|---|
/opt/cxbagent/<os_user>/config.yaml | Agent configuration file |
/opt/cxbagent/<os_user>/biracora.db | Bitacora of launched backups and restores database |
/opt/cxbagent/<os_user>/private.pem | Encryption private key for credentials |
/opt/cxbagent/<os_user>/public.pem | Encryption public key for credentials |
/var/log/cxbagent/<os_user>/log.log | Agent log file |
Configuration
_29version: "1.0"_29logger:_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_29backup_notification_frequency: 1_29restore_notification_frequency: 1_29database_discover_frequency: 30_29last_notified_backup: 2024-07-17T13:40:02Z_29plans:_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:
Field | Description |
---|---|
logger.file_log_level | INFO, DEBUG, TRACE information on log file |
backup_notification_frequency | Seconds frequency to update information of current backup |
restore_notification_frequency | Seconds frequency to update information of current restore |
database_discover_frequency | Seconds in frequency to reload database information |
Other fields (DO NOT EDIT THEM):
Field | Description |
---|---|
last_notified_backup | Last time a backup was notified |
plans | List of active backup plans |