Backup and restore of cluster setup
Back up a cluster Setup
-
Type of data to be backed up.
-
Frequency at which you create a backup.
-
Basic back up. Backs up only configuration files. You might want to perform this type of backup frequently, because the files it backs up change constantly. The files that are backed up are listed in the table.
-
ns.conf
-
ZebOS.conf
-
rc.netscaler
-
snmpd.conf
-
nsbefore.sh
-
nsafter.sh
-
inetd.conf
-
ntp.conf
-
syslog.conf
-
newsyslog.conf
-
crontab
-
host.conf
-
hosts
-
ttys
-
sshd\_config
-
httpd.conf
-
monitrc
-
rc.conf
-
ssh\_config
-
local time
-
issue
-
issue.net
-
download/*
-
log/wicmd.log
-
wi/tomcat/webapps/*
-
wi/tomcat/logs/*
-
wi/tomcat/conf/catalina/localhost/*
-
nslw.bin/etc/krb.conf
-
nslw.bin/etc/krb.keytab
-
netscaler/locdb/*
-
lib/likewise/db/*
-
vpn/bookmark/*
-
netscaler/crl
-
nstemplates/*
-
learnt\_data/*
-
custom.html
-
vsr.html
-
Full back up. Apart from the files that are backed up by a basic backup, a full backup backs up some less frequently updated files. The files that are backed up when using the full backup option are listed in the table.
-
ssl/*
-
license/*
-
fips/*
-
netscaler/ssl/*
-
wi/java\_home/jre/lib/security/cacerts/*
-
wi/java\_home/lib/security/cacerts/*
How to back up a cluster setup
-
Save the configuration.
save ns config -
Create the backup file (basic or full).
create system backup [<filename>][–level (basic | full)][-comment <string>]Examplecreate system backup cluster-backup-1 –level basic
-
backup_<level>_<nsip_address of the cluster node 0>_<date-timestamp>.tgz -
backup_<level>_<nsip_address of the cluster node 1>_<date-timestamp>.tgz
-
backup_<level>_<nsip_address of the cluster node 0>_<date-timestamp>.tgzis created on node0 -
backup _<level>_<nsip_address of the cluster node 1>_<date-timestamp>.tgzis created on node1 -
backup_<level>_<nsip_address of the cluster node 2>_<date-timestamp>.tgzis created on node2
-
Verify the created backup files on CLIP.
show system backup
Restore a cluster setup
How to restore a cluster node
To restore a cluster node by using the CLI
-
Obtain a list of the backup files available on CLIP.
show system backup -
Copy the backup tar file to the /var/ns_sys_backup directory of the cluster node, which is to be restored.
-
Add the backup tar file to the cluster node memory by running the following command on the cluster node.
add system backup <filename>Exampleadd system backup CLUSTER-BACKUP-1.tgzNoteThe command must be run on the cluster node to be restored. -
Restore the cluster node by specifying the backup file.
restore system backup <filename>Examplerestore system backup CLUSTER-BACKUP-1.tgzNoteThe command must be run on the cluster node to be restored. -
Reboot the cluster node.rebootNoteThe command must be run on the cluster node to be restored.