Proximetry AirSync 2.2



Similar documents
SQL Server Setup for Assistant/Pro applications Compliance Information Systems

SWsoft Plesk 8.2 for Linux/Unix Backup and Restore Utilities. Administrator's Guide

Creating IBM Cognos Controller Databases using Microsoft SQL Server

Plesk 8.3 for Linux/Unix Acronis True Image Server Module Administrator's Guide

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

SWsoft Plesk 8.3 for Linux/Unix Backup and Restore Utilities

Ahsay Offsite Backup Server and Ahsay Replication Server

Disaster Recovery. Websense Web Security Web Security Gateway. v7.6

SafeNet Authentication Manager Express. Upgrade Instructions All versions

Hitachi Universal Storage Platform V Hitachi Universal Storage Platform VM Hitachi Data Retention Utility User s Guide

Dell Recovery Manager for Active Directory 8.6. Quick Start Guide

Hitachi Virtual Storage Platform

BSDI Advanced Fitness & Wellness Software

Sophos Anti-Virus for NetApp Storage Systems startup guide

AXIS 70U - Using Scan-to-File

Trend Micro Encryption Gateway 5

MySQL Backups: From strategy to Implementation

Archive Add-in User Guide

Radica Systems Limited RI Backup/Restore Guide Page: 1

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

How To Back Up Your Pplsk Data On A Pc Or Mac Or Mac With A Backup Utility (For A Premium) On A Computer Or Mac (For Free) On Your Pc Or Ipad Or Mac On A Mac Or Pc Or

NexentaConnect for VMware Virtual SAN

Moxa Device Manager 2.3 User s Manual

Keynote DeviceAnywhere/HP Application Lifecycle Management (HP ALM/QC) Integration Guide. TCE Automation 5.2

Setup Guide Revision B. McAfee SaaS Archiving for Microsoft Exchange Server 2010

Administration guide. Host software WinCCU Installation. Complete gas volume and energy data management

RecoveryVault Express Client User Manual

Defender Delegated Administration. User Guide

EMC NetWorker Module for Microsoft Exchange Server Release 5.1

Plesk 8.0 for Linux/UNIX Backup and Restore Utilities

Video Administration Backup and Restore Procedures

Interact for Microsoft Office

Online Backup Linux Client User Manual

1. Product Information

Online Backup Client User Manual

EMC AVAMAR 6.0 GUIDE FOR IBM DB2 P/N REV A01 EMC CORPORATION CORPORATE HEADQUARTERS: HOPKINTON, MA

StarWind iscsi SAN Software: Tape Drives Using StarWind and Symantec Backup Exec

Online Backup Client User Manual Linux

NexentaConnect for VMware Virtual SAN

Reconfiguring VMware vsphere Update Manager

DOCUMENTATION MySQL BACKUP & RESTORE OPERATIONS

StarWind iscsi SAN & NAS: Configuring HA Shared Storage for Scale- Out File Servers in Windows Server 2012 January 2013

Archiving in Microsoft Outlook. This document looks at archiving and saving space in the Microsoft Outlook program. INFORMATION SYSTEMS SERVICES

Configuring Microsoft RADIUS Server and Gx000 Authentication. Configuration Notes. Revision 1.0 February 6, 2003

Jabber MomentIM Outlook Add-in Administrator Guide

Upgrading to Document Manager 2.7

Legal and Copyright Notice

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

How to Back Up and Restore an ACT! Database Answer ID 19211

DIGIPASS CertiID. Getting Started 3.1.0

Juris Installation / Upgrade Guide

Installing LearningBay Enterprise Part 2

Oracle WebCenter Sites. Backup and Recovery Guide 11g Release 1 (11.1.1)

Quest ChangeAuditor 4.8

Online Backup Client User Manual

How to Configure a Secure Connection to Microsoft SQL Server

Online Backup Client User Manual

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

Database Administration Guide

Application Note - JDSU PathTrak Video Monitoring System Data Backup and Restore Process

Server Installation Guide ZENworks Patch Management 6.4 SP2

Hitachi Data Ingestor

Database Administration Guide

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

Defender 5.7. Remote Access User Guide

Online Backup Client User Manual Mac OS

Online Backup Client User Manual Mac OS

License Patrol TM Mac Client Installation Guide 7.0 for Mac OS X. September 2015 VERALAB TM

Sophos Anti-Virus for NetApp Storage Systems startup guide. Runs on Windows 2000 and later

Setting Up Specify to use a Shared Workstation as a Database Server

McAfee SMC Installation Guide 5.7. Security Management Center

Xcalibur Global Version 1.2 Installation Guide Document Version 3.0

StarWind iscsi SAN Software: Using an existing SAN for configuring High Availability storage with Windows Server 2003 and 2008

StarWind SMI-S Agent: Storage Provider for SCVMM April 2012

SWsoft, Inc. Plesk Firewall. Administrator's Guide

Installing RMFT on an MS Cluster

Using Secure4Audit in an IRIX 6.5 Environment

DOCUMENTATION MICROSOFT SQL BACKUP & RESTORE OPERATIONS

Release 2.0. Cox Business Online Backup Quick Start Guide

StarWind iscsi SAN Configuring HA File Server for SMB NAS

Server Manual. For Administrators of Cameleon Version 4

StarWind iscsi SAN: Configuring HA File Server for SMB NAS February 2012

Remote Console Installation & Setup Guide. November 2009

Attix5 Pro Server Edition

DOCUMENTATION LOTUS NOTES BACKUP & RESTORE OPERATIONS

Silect Software s MP Author

Backing Up TestTrack Native Project Databases

SAM Server Utility User s Guide

Dell Statistica Statistica Enterprise Installation Instructions

Configuring a Windows 2003 Server for IAS

For Active Directory Installation Guide

Reflection DBR USER GUIDE. Reflection DBR User Guide. 995 Old Eagle School Road Suite 315 Wayne, PA USA

StarWind iscsi SAN Software: Using StarWind with MS Cluster on Windows Server 2008

POLICY PATROL MFT. Manual

SAS 9.3 Foundation for Microsoft Windows

VERITAS NetBackup Microsoft Windows User s Guide

8.7. Target Exchange 2010 Environment Preparation

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

PRODUCT WHITE PAPER LABEL ARCHIVE. Adding and Configuring Active Directory Users in LABEL ARCHIVE

Transcription:

Proximetry AirSync 2.2 AirSync System Backup/Restore Procedures Version 1.1.0 i AirSync System Backup/Restore Procedures

Copyright 2008 Proximetry, Inc. ALL RIGHTS RESERVED Notice: No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or stored in a database or retrieval system for any purpose without the express written permission of Proximetry, Inc. Proximetry, Inc. reserves the right to make changes to this document at any time without notice and assumes no responsibility for its use. Proximetry, Inc. products and services can only be ordered under the terms and conditions of Proximetry Inc. s applicable agreements. This document contains the most current information available at the time of publication. Proximetry is a trademark of Proximetry, Inc., in the USA and other countries. Microsoft and Windows are registered trademarks of Microsoft Corporation. MySQL is a registered trademark of MySQL AB. JBoss is a trademark of Mark Fleury. Java is a trademark of Sun Microsystems, Inc. Intel and Pentium are registered trademarks of Intel Corporation. AMD is a trademark of Advanced Micro Devices, Inc. All other brand or product names are or may be trademarks or service marks of and are used to identify products or services of their respective owners. ii AirSync System Backup/Restore Procedures

Table of Contents PREFACE...4 1.1 Intended Audience...4 1.2 Product Version...4 1.3 Document Revision Level...5 1.4 Document Conventions...5 AIRSYNC SERVER BACKUP PROCEDURE...7 1.5 AirSync Server Backup Components...7 1.6 Example Backup Configuration for LINUX...8 1.7 Example Backup Configuration for WINDOWS...10 AIRSYNC SERVER RESTORE PROCEDURE...16 1.8 Example Restore Procedure for LINUX...16 1.9 Example Restore Procedure for WINDOWS...17 AirSync System Backup/Restore Procedures iii

Preface The AirSync Server is the primary component of the AirSync system and aside from its normal wireless network control responsibilities, it is also responsible for maintaining all of the configuration data, management settings, control files and collected statistics. AirSync uses the MySQL database engine as its data manipulation and storage system. Full system backups of this database, and other crucial files, will lay the groundwork for the option to later restore the server to an expected operational state after a system failure or operator's miscue. This document describes: The recommended process for backing up your AirSync Server, and provides ready to use configuration examples of periodic on-line AirSync server backups under Linux and Windows operating systems. The recommended process of restoring the AirSync Server system (from a backup prepared using the methods detailed in the AirSync Backup Manual). This guide is for system administrators using AirSync to manage their wireless network environments. This guide assumes a working AirSync installation. If not, please refer to the AirSync Installation Guide before using the procedures in this guide. Notice: The use of AirSync software and all other AirSync products is governed by the terms of your agreement(s) with Proximetry, Inc. 1.1 Intended Audience This document is primarily intended for system administrators who will use AirSync to manage their wireless network environments. The document assumes that AirSync has already been successfully installed. The installation process is beyond the scope of this document and covered in the AirSync 2.2 Quick Installation Guide. 1.2 Product Version The document corresponds to the AirSync version 2.2 product release. AirSync System Backup/Restore Procedures 4

1.3 Document Revision Level Revision Date Description Version 1.0.0 October 2008 Preliminary Release Version 1.1.0 November 2008 Updated to 2.2b93 1.4 Document Conventions This guide uses the following typographic conventions: Convention Description Bold Italic screen/code boldface screen font Text on a window, other than the window title, including menus, menu options, buttons, and labels. Variable. Text displayed or entered on screen or at the command prompt. Information you must enter is in boldface screen font. < italic screen > Variables appear in italic screen font between angle brackets. [ ] Default responses to system prompts are in square brackets. AirSync System Backup/Restore Procedures 5

This guide uses icons to draw your attention to certain information. Warnings are the most critical. Icon Meaning Description Note Tip Notes call attention to important and/or additional information. Tips provide helpful information, guidelines, or suggestions for performing tasks more effectively. Caution WARNING Cautions notify the user of adverse conditions and/or consequences (e.g., disruptive operations). Warnings notify the user of severe conditions and/or consequences (e.g., destructive operations). AirSync System Backup/Restore Procedures 6

AirSync Server Backup Procedure 1.5 AirSync Server Backup Components A full AirSync server backup should consist of the following (see Table 1 for details): 1. Current AirSync database backup 2. Package item files. 3. Licence file (note that this document and the license-related system files use the British/Canadian spelling of the word, licence ) Backup Item Linux Windows Backup Solution AirSync database Standard AirSync installation uses MySQL database named: airsyncewm package item files typically AirSync stores package item files in: /home/airsync/services/nftp /files Standard AirSync installation uses MySQL database named: airsyncewm typically AirSync stores package item files in: C:\AirSync\Servers\NFTP\ source mysqldump with singletransaction and quick options turned on tar or zip archive license file typically AirSync stores typically AirSync stores tar or zip archive licence file in: licence file in: /home/airsync/services/jbos C:\AirSync\Servers\jboss- s/server/default/conf/licence 4.2.2.GA\server\default\c onf\licence\ To set up periodic backups use Cron under Linux, or Task Scheduler under Windows described below AirSync System Backup/Restore Procedures 7

1.6 Example Backup Configuration for LINUX 1) Prepare shell script for making full AirSync server backups on a Linux system. a. Cut/paste the example AirSync-linux backup script below into a file and customize it for your local needs. #!/bin/bash #date format which is uses in backup directory name DATE=`date +%F-%H-%M` #directory that contains backups BACKUP_PATH="/home/airsync/backups" #AirSync installation directory AS_PATH="/home/airsync" #package items subdirectory in $AS_PATH directory NFTP_ITEMS_PATH="services/nftp/files" #licence subdirectory in $AS_PATH directory LICENCE_PATH="services/jboss/server/default/conf/licence" #MySQL password for user root ROOT_MYSQL_PASSWD="airsync" #AirSync database name AS_DB_NAME="airsyncewm" #mysqldump application with options MYSQLDUMP="/usr/bin/mysqldump -h 127.0.0.1 --single-transaction --quick -u root -- password=" backup_dir() { mkdir -p $BACKUP_PATH/$DATE } db_backup() { $MYSQLDUMP$ROOT_MYSQL_PASSWD $AS_DB_NAME > $BACKUP_PATH/$DATE/dbdump.sql } package_items_backup() AirSync System Backup/Restore Procedures 8

{ CUR_DIR=$PWD cd $AS_PATH/$NFTP_ITEMS_PATH tar -czf $BACKUP_PATH/$DATE/package_items.tgz./* cd $CUR_DIR } licence_backup() { CUR_DIR=$PWD cd $AS_PATH/$LICENCE_PATH tar -czf $BACKUP_PATH/$DATE/licence.tgz./* cd $CUR_DIR } backup_dir package_items_backup licence_backup db_backup b. Save this script as as_backup.sh (eg. in the AirSync installation directory) and add permissions to enable root user to execute it. c. While it runs, the above script creates, in a directory pointed to by $BACKUP_PATH, a subdirectory having the current date in its name. Within this directory the script stores three files: dbdump.sql (AirSync database backup), package_items.tgz (archive which contains all package items), and licence.tgz (archive which contains licence files). d. A prudent option is to have $BACKUP_PATH point to a remotely-mounted filesystem that resides on separate machine (eg. via NFS). e. The above script will operate properly with a default Linux installation of the AirSync system. It is possible to adjust script behavior with variables defined at the beginning of the script (see comments for details). 2) Configure Cron to perform backup periodically. a. To configure automatic backups simply add a line into /etc/crontab to configure Cron daemon. The following is an example crontab entry which configures the AirSync System Backup/Restore Procedures 9

Cron daemon to run as_backup.sh script everyday at 03:01AM.: 1 3 * * * root /home/airsync/as_backup.sh 1.7 Example Backup Configuration for WINDOWS 1) Prepare a shell script for making full AirSync server backups in the Windows operating environment. Example AirSync-Windows backup script: @echo off :start rem windows system regional options (english-usa or polish) set REG="english-usa" if %REG%=="polish" goto polish if %REG%=="english-usa" goto english-usa :polish for /F "tokens=1-4 delims=- " %%i in ('date /t') do set DATE_TIME=%%i-%%j-%%k for /F "tokens=1-3 delims=: " %%l in ('time /t') do set DATE_TIME=%DATE_TIME%-%%l-%%m goto variables :english-usa for /F "tokens=2-5 delims=/ " %%i in ('date /t') do set DATE_TIME=%%k-%%i-%%j for /F "tokens=1-3 delims=: " %%l in ('time /t') do set DATE_TIME=%DATE_TIME%-%%l-%%m goto variables :variables rem directory that contains backups set BACKUP_PATH=c:\AirSync\backup rem AirSync installation directory set AS_PATH=c:\AirSync rem package items subdirectory in %AS_PATH% directory set NFTP_ITEMS_PATH=Servers\NFTP\source rem licence subdirectory in %AS_PATH% directory set LICENCE_PATH=Servers\jboss-4.2.2.GA\server\default\conf\licence rem MySQL password for user root set ROOT_MYSQL_PASSWD= rem AirSync database name set AS_DB_NAME=airsyncewm rem mysqldump application with options set MYSQLDUMP="C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump" --single-transaction -- AirSync System Backup/Restore Procedures 10

quick -u root --password= :backup_dir mkdir %BACKUP_PATH%\%DATE_TIME% :package_items_backup xcopy /E /I %AS_PATH%\%NFTP_ITEMS_PATH% %BACKUP_PATH%\%DATE_TIME%\package_items :licence_backup xcopy /E /I %AS_PATH%\%LICENCE_PATH% %BACKUP_PATH%\%DATE_TIME%\licence :db_backup %MYSQLDUMP%%ROOT_MYSQL_PASSWD% %AS_DB_NAME% > %BACKUP_PATH%\%DATE_TIME%\dbdump.sql :end set BACKUP_PATH= set AS_PATH= set NFTP_ITEMS_PATH= set LICENCE_PATH= set ROOT_MYSQL_PASSWD= set AS_DB_NAME= set MYSQLDUMP= set DATE_TIME= a. Save this script as as_backup.bat (eg. in AirSync installation directory). b. When run, the above script creates a subdirectory with the current date concatenated into the filename in a directory pointed to by $BACKUP_PATH. The script stores one file and two directories there: dbdump.sql (AirSync database backup), package_items (directory which contains all package items), licence (directory which contains licence files). c. It s a prudent practice to have $BACKUP_PATH pointing to a remotely-mounted filesystem on a separate machine (eg. via SMB). d. As written, the above script operates properly within the default Windows installation of the AirSync system. It is possible to adjust script behavior with variables by defining pertinent one at the beginning of the script (see comments for details). e. Note: The above script is written for two language settings of Windows (Polish and English-USA). AirSync System Backup/Restore Procedures 11

2) Configure the Windows Task Scheduler to perform the backup periodically. To configure automatic backups in Windows: a. Go to Start->Control Panel->Scheduled Tasks->Add Scheduled Task. b. Follow the Wizard instructions c. For the desired program browse to and choose the backup script. Click the Next button. Click the Browse button. AirSync System Backup/Restore Procedures 12

Choose your backup script file and Click Open. Enter task name and execution frequency (eg.daily). AirSync System Backup/Restore Procedures 13

Enter task start time. Enter user name and password of user who has permissions to run backup script. AirSync System Backup/Restore Procedures 14

Click Finish button to complete backup task setup. AirSync System Backup/Restore Procedures 15

AirSync Server Restore Procedure To restore AirSync server from backup, it is necessary to have: 1) A full system backup, prepared as described earlier in this document. 2) The original installation files of the same version of the AirSync system that is to be restored (if there is a need to reinstall server eg. after physical machine fail). 1.8 Example Restore Procedure for LINUX Use following steps to restore AirSync server from full system backup under Linux: 1) Login as a root, 2) Install AirSync server with the same version as is in the backup (if not needed skip this step), 3) Copy full system backup to /root directory 4) Stop all AirSync server services, on typical AirSync installation use: # /home/airsync/airsync.sh stop 5) Start AirSync's MySQL DB engine, on a typical AirSync installation use: # /home/airsync/airsync.sh start mysql 6) Restore AirSync s MySQL database from the mysqldump backup file; the following should work on a typical AirSync installation: # /usr/bin/mysql -h 127.0.0.1 -u root --password==airsync airsyncewm < /path_to_db_backup/dbdump.sql 7) Stop AirSync's MySQL DB engine; the following should work on a typical AirSync installation: # /home/airsync/airsync.sh stop mysql AirSync System Backup/Restore Procedures 16

8) Remove the content of files directory of the NFTP AirSync service; the following should work on a typical AirSync installation (skip this step if server is installed from scratch): # rm /home/airsync/services/nftp/files/* 9) Untar and copy content of package items archive into files directory of nftp AirSync service; the following should work on a typical AirSync installation: # cp /path_to_package_items_backup/package_items.tgz /home/airsync/services/nftp/files # cd /home/airsync/services/nftp/files # tar -xzf./package_items.tgz # rm./package_items.tgz 10) Make a subdirectory called licence (British/Canadian spelling) in the jboss config directory; the following should work on a typical AirSync installation: # mkdir /home/airsync/services/jboss/server/default/conf/licence 11) Untar and copy the content of the licence archive into the licence subdirectory of jboss AirSync service; the following should work on a typical AirSync installation: # cp /path_to_licence_backup/licence.tgz /home/airsync/services/jboss/server/default/conf/licence # cd /home/airsync/services/jboss/server/default/conf/licence # tar -xzf./licence.tgz # rm./licence.tgz 12) Start the AirSync server services; the following should work on a typical AirSync installation: # /home/airsync/airsync.sh start 1.9 Example Restore Procedure for WINDOWS Use following steps to restore AirSync server from full system backup under Windows: 1) Login as a administrator of Windows machine, AirSync System Backup/Restore Procedures 17

2) Install AirSync server with the same version as is in the backup (if not needed skip this step), 3) Copy the full system backup to some directory on the server. 4) Using MMC, stop all AirSync server services: Activation, NFTPCleaner, NFTPServer, NFTPUploadServer, RMServer, JBoss (it is important to stop JBoss as last service) a) To run MMC, right-click on the 'MyComputer' icon and from the context menu select Manage. From the element tree on the left part of the MMC window select: Services and Applications -> Services (See following screenshots). b) Stop all listed services by right-clicking on each service name in the service list and selecting 'Stop' (See the following screenshots). Services list: i) Activation ii) NFTPCleaner iii) NFTPServer iv) NFTPUpload Server v) RMServer vi) JBoss AirSync System Backup/Restore Procedures 18

AirSync System Backup/Restore Procedures 19

5) Restore the AirSync MySQL database from the mysqldump backup file, on typical AirSync installation use: # C:\Program Files\MySQL\MySQL Server 5.0\bin\mysql -u root -- password=airsync airsyncewm < \path_to_db_backup\dbdump.sql 6) Remove the existing files in the NFTP AirSync service source directory; (skip this step if server is installed from scratch): c:\airsync\servers\nftp\source 7) Copy the content of package items backed-up from the source directory of the NFTP AirSync service: c:\airsync\servers\nftp\source 8) Make a subdirectory named licence (British/Canadian spelling) under the jboss configuration ( config ) directory: c:\airsync\servers\jboss-4.2.2.ga\server\default\conf\licence 9) Copy the content of the licence backup into the licence subdirectory of jboss AirSync service (a typical AirSync installation structure is shown): AirSync System Backup/Restore Procedures 20

c:\airsync\servers\jboss-4.2.2.ga\server\default\conf\licence 10) Using MMC, start all AirSync server services: JBoss (it is important to start JBoss as first service), Activation, NFTPCleaner, NFTPServer, NFTPUploadServer, RMServer a) To run MMC, right-click on the 'MyComputer' icon and from the context menu select Manage. From the element tree on the left part of the MMC window select: Services and Applications -> Services. b) Start all listed services by right-clicking on each service name in the service list and selecting 'Start' (See following screenshot). Services list: i) JBoss ii) Activation iii) NFTPCleaner iv) NFTPServer v) NFTPUpload Server vi) RMServer AirSync System Backup/Restore Procedures 21

Proximetry, Inc. Corporate Headquarters 909 West Laurel Street, Suite 200 San Diego, CA 92101 U.S.A Phone: 1 619 704 0020 www.proximetry.com