Creating a Copy of Existing SBR Server Release Files for Migration
If you are already operating standalone servers that run SBR Carrier Release 6.0, Release 6.1, or Release 7.0, and you want to carry the existing configuration forward during the Release 8.4.1 installation, you need to transfer a copy of the existing installation to the machine that you want to host SBR Carrier. This is a non-functional copy that the installation scripts can access in order to selectively import some configuration files. The exact files that can be reused vary from release to release. For details on standalone migration, see Migrating from Previous SBR Releases.
To create a copy:
As root on the existing server, shut down the SBR daemon.
/radiusdir /sbrd stop.
Create a gzip archive of the old radiusdir directory, preserving the file structure.
Change directories to /opt/JNPRsbr/ and execute:
tar cfE - radius |gzip > radius.tgz
As root on the Release 8.4.1 server or host, create a working directory for the archive:
mkdir -p /opt/JNPRsbr/PreviousInstall
If you are using CCM, remember that you can only migrate server configurations between machines of the same type—primary to primary and replica to replica. So if you are migrating both a primary server and one or more replicas, you need to create a backup directory for each because they contain different types of information.
The backup of the primary is used when you install the new primary server
The backup of the replica is used when you install the new replicas.
Copy the archive file to the appropriate Release 8.4.1 host.
Gunzip the archive in the working directory. This does not create a working installation, but serves as a source of files that can be reused by the Release 8.4.1 server.
gunzip radius.tgz |tar xf -
Check the file permissions on the unzipped archive to ensure that the files are writable.
Remember the path to the archive directory. During installation, the Release 8.4.1 installation script prompts you to supply the location so some configuration files can be migrated into the new installation.