Updating file server references
The way you execute the file_server_change script depends on your database platform.
To update file server references on Oracle
Execute the following SQL*Plus command to change all file server references so they point to the new default file server:
sqlplus <user> / <password> @file_server_change_oracle.sql
Running this command produces output similar to the following example:
file_server_change script sample outputThe Default File Server and root path current setting
//devfs1/blade/storage3/
PL/SQL procedure successfully completed.
The number of rows updated by each update statement will vary in your database.- To be certain that all references point to the new file server, run the file_server_check script again (see Checking file server references). The output should identify only one file server, and its values should be those of the new file server and storage location.
To update file server references on SQL server
Change all file server references so they point to the new default file server by running the following command:
file_server_change_sqlserver sqlsrv <user> <database>
Replace the variables with the following values:sqlsrv
Name of the SQL Server hosting the BMC Server Automation database.
user
User name of a database user that has the privileges required to perform this operation.
database
Name of the database.
- To be certain that all references point to the new file server, run the file_server_check script again (see Checking file server references). The output should identify only one file server, and its values should be those of the new file server and storage location.
Comments
Log in or register to comment.