Appendix B. Set Up External RepoAppendix B. Set Up External Repo
Complete the following procedure to set up an external repository (Repo).
Note: 1.) You need an unzip utility installed on the host to complete this procedure. 2.) You must know how to create a web server before you complete the following procedure.
- (Conditional) Complete this step if you have an external repo and you want to override it.
- Case 1: You bootstrapped the host from an external repo and you want to upgrade using a local repo on the Admin Server.
- Create the /etc/netwitness/platform/repobase file.
vi /etc/netwitness/platform/repobase - Edit the repobase file so that the only information in the file is the following URL.
https://nw-node-zero/nwrpmrepo - Complete the instructions on how to run the upgrade using the upgrade-cli-client tool.
- Create the /etc/netwitness/platform/repobase file.
- Case 2: You bootstrapped the host from local repo on the Admin server (NW Server host) and you want to use an external repo for the upgrade.
- Create the /etc/netwitness/platform/repobase file.
vi /etc/netwitness/platform/repobase - Edit the repobase file so that the only information in the file is the following URL.
https://<webserver-ip>/<alias-for-repo> - Complete the instructions on how to run the upgrade using the upgrade-cli-client tool.
The instructions are in "Appendix A. Offline Method (No Connectivity to Live Services) - Command Line Interface" in the Upgrade Guide for NetWitness Platform. Go to the NetWitness All Versions Documents page and find NetWitness Platform guides to troubleshoot issues.
- Create the /etc/netwitness/platform/repobase file.
- Case 1: You bootstrapped the host from an external repo and you want to upgrade using a local repo on the Admin Server.
- Set up the external repo.
- Log in to the web server host.
- Create directory to host the NW repository (netwitness-12.1.0.0.zip), for example ziprepo under web-root of the web server. For example, /var/netwitness is the web-root, run the following command string.
mkdir -p /var/netwitness/<your-zip-file-repo> Create the 12.1.0.0 directory under /var/netwitness/<your-zip-file-repo>.
mkdir -p /var/netwitness/<your-zip-file-repo>/12.1.0.0Create the OS and RSA directories under /var/netwitness/<your-zip-file-repo>/12.1.0.0
mkdir -p /var/netwitness/<your-zip-file-repo>/12.1.0.0/OS
mkdir -p /var/netwitness/<your-zip-file-repo>/12.1.0.0/RSAUnzip the netwitness-12.1.0.0.zip file into the /var/netwitness/<your-zip-file-repo>/12.1.0.0 directory.
unzip netwitness-12.1.0.0.zip -d /var/netwitness/<your-zip-file-repo>/12.1.0.0Unzipping netwitness-12.1.0.0.zip results in two zip files (OS-12.1.0.0.zip and RSA-12.1.0.0.zip)
and some other files.- Unzip the:
OS-12.1.0.0.zip into the /var/netwitness/<your-zip-file-repo>/12.1.0.0/OS directory.
unzip /var/netwitness/<your-zip-file-repo>/12.1.0.0/OS-12.1.0.0.zip -d /var/netwitness/<your-zip-file-repo>/12.1.0.0/OSThe external url for the repo is http://<web server IP address>/<your-zip-file-repo>.
Unzip the:
RSA-12.1.0.0.zip into the /var/netwitness/<your-zip-file-repo>/12.1.0.0/RSA directory.
unzip /var/netwitness/<your-zip-file-repo>/12.1.0.0/RSA-12.1.0.0.zip -d /var/netwitness/<your-zip-file-repo>/12.1.0.0/RSA- (Conditional - For Azure) Follow these steps for Azure update.
mkdir -p /var/netwitness/<your-zip-file-repo>/12.1.0.0/OS/other
unzip nw-azure-12.1-extras.zip -d /var/netwitness/<your-zip-file-repo>/12.1.0.0/OS/other
cd /var/netwitness/<your-zip-file-repo>/12.1.0.0/OS
- createrepo
- Use the http://<web server IP address>/<your-zip-file-repo> in response to Enter the base URL of the external update repositories prompt from NW 12.1.0.0 Setup program (nwsetup-tui) prompt.