Changing the file server from one location to another
This topic describes how to copy the file server contents to a new location and change location of the file server in the TrueSight Server Automation configuration. This topic contains the following sections:
- To change the location of the file server
- To copy files from one location to another
- Where to go from here
To change the location of the file server
- If you have upgraded from an earlier version and have any doubt about how many file servers you have, run the file_server_check script to make sure you are using only one file server. (For information about how to run this script, see Checking-file-server-references.)
- If file_server_check returns just one file server, note the location and continue with this procedure.
- If file_server_check returns more than one file server, go to Consolidating-multiple-file-servers.
- Prepare the new file server, as described in File-server-requirements.
- Copy all the files from the old file server to the new file server. (See To copy files from one location to another.)
Update the database with new file server details by running the following blasadmin commands.
set fileserver name <hostname>
where hostname is the name of the new file server to which you just moved the files.
set fileserver location <directory>
where directory is the directory on the new file server where data is stored. Use a Network Shell path to a directory, such as /c/FileServer, as opposed to a Windows path, such as C:\FileServer.- After confirming that the new file server is being used, decommission the old file server system.
This can be done by watching the rscd log on the old file server for some amount of time and ensuring there are no incoming connections.
To copy files from one location to another
Before making the blasadmin changes noted above, the contents of the file server need to be copied to the new system. During an outage of the TrueSight Server Automation services, copy the files from the old path (for example, //blfileserver1.example.com/opt/bmc/bladelogic/storage) to the new path (for example, //blfilserver2.domain.com/storage). There are multiple ways to accomplish this using various tools. The entire contents should be present on the new system before continuing with the blasadmin changes.
Where to go from here
Updating-extended-object-definitions-with-new-file-server-location