Configuration File
Settings done in the <Schedule Periodic Database Backup> and <Main/Standby Settings> dialogs of the Remote Admin Tool (refer to chapters
Schedule Periodic Database Backup Dialog and
Main/Standby Settings Dialog) are stored in the mainstandby.conf file which resides in folder /opt/nem/etc of the corresponding FOXMAN-UN server.
For a typical Main/Standby installation the file does not need manual adaptation, however in some situations the user might want to change some individual parameters. Following an overview of the file contents and its meaning:
{
"serviceEnabled": true, Main/Standby service enabled/disabled
"alarmsEnabled": true, Alarm generation enabled/disabled
"eventsEnabled": true, Event generation enabled/disabled
"skipSecurityBackup": false, Skipping of database security backup at server
activation (easy switchover) enabled/disabled
"serverType": {
"serverType": "MAIN" Server type [MAIN, WARMSTANDBY, COLDSTANDBY]
},
"partnerServers": [ A list of partner servers
{
"localServer": { The server on which this file resides (local
"ip": "172.20.162.190", server) with its IP address, host name and
"name": "vm190", server type
"serverType": "MAIN"
},
"remoteServer": { The first partner server of the local server with
"ip": "172.20.162.191", its IP address, host name and server type
"name": "vm191", Other remote servers might be specified in case
"serverType": "WARMSTANDBY" the local server is of type “MAIN”
}
}
],
"backupLocationList": [ A list of backup locations on the local server
{
"location": "manual", Identifier of the manual backup location
"name": "Manual backups", Name of manual backup location shown in RAT
"folder": "/opt/nem/var/backups/manual", Storage location of manual backups on server
"visible": true If this location shall be visible in RAT or not
}, REMARK! Do not modify this section!
{
"location": "scheduled", Identifier of the scheduled backup location
"name": "Scheduled backups", Name of scheduled backup location shown in RAT
"folder": "/opt/nem/var/backups/scheduled", Storage location of scheduled backups on server
"visible": true If this location shall be visible in RAT or not
}, REMARK! Do not modify this section!
{
"location": "fromRemote", Identifier of the remote backup location
"name": "Cache copy of remote backups", Name of remote backup location shown in RAT
"folder": "/opt/nem/var/backups/remote", Storage location of remote backups on server
"visible": false If this location shall be visible in RAT or not
} REMARK! Do not modify this section!
], Additional backup sections might be
added if desired.
"backupLocation": { Definition of which location all scheduled
"location": "scheduled" backups on the local server shall be stored to
},
"cacheLocation": { Definition of which location all remote backups
"location": "fromRemote" on the local server shall be stored to
},
"backupSchedule": { Database backup schedule
"periodicBackup": true, For the meaning of the individual
"periodicBackupKeepLast": 3,
"dailyBackup": true,
"dailyBackupHour": "00:00",
"dailyBackupKeepLast": 3,
"weeklyBackup": false,
"weeklyBackupWeekDay": "Friday",
"weeklyBackupHour": "23:00",
"weeklyBackupKeepLast": 3,
"monthlyBackup": false,
"monthlyBackupDay": 1,
"monthlyBackupHour": "23:30",
"monthlyBackupKeepLast": 3
},
"pingSettings": { Ping settings for local server pinging remote one
"interval": 30, Ping interval in seconds
"maxMissingPings": 2 How many pings can be missed
},
"copyOverSettings": { Interval settings for local server copying over
database backups from remote server
"interval": 2 Interval in minutes
}
"backupSettings": { Backup timeout settings
"timeoutMin": 30, Backup timeout duration in minutes
"killOnTimeout": true
}
}
Ping Settings and Copy Over Interval are not configurable via Remote Admin Tool.