If you use a golden operating system image to deploy new servers in your environment, you
can include the Storage Resource agent on that golden image. The golden image enables the agents to
start and register with the IBM
Spectrum Control server
automatically upon deployment. This support applies only to Storage Resource agents running in
daemon mode.
About this task
The default agent directory is:
- For Windows:
C:\Program Files\IBM\TPC\agent
- For UNIX:
/opt/IBM/TPC/agent
Follow these instructions to include the IBM
Spectrum Control agent on a golden image.
Procedure
- Install the Storage Resource agent in daemon mode on the golden image system.
- Stop the Storage Resource agent on the golden image system.
For the Windows system: Click . Stop the following service: IBM Spectrum Control Storage Resource Agent -
directory. directory is where the Storage Resource
agent is installed. The default directory is installation_dir\agent.
For the UNIX or Linux® system, run the following commands:
cd /opt/IBM/TPC/agent/bin/
./agent.sh stop
- Create one of the following files in the root directory
for the agent. These files can be empty. Any content in these files
is ignored.
- REGISTERSRA
- The file name must be uppercase with no file extension. This file
causes the agent to run a probe and then register with the server.
This file will use the existing Globally Unique Identifier (GUID).
- REGISTERSRA_REGENGUID
- The file name must be uppercase with no file extension. This file
causes the agent to regenerate a new Globally Unique Identifier (GUID),
run a probe, and then register with the server.
- Delete the contents of the agent_installation_directory/logs directory. This clears any existing log messages
so that you can view new messages that are logged.
- Create the golden image copies of this system.
-
When a new system is preinstalled from this image and then started, the REGISTERSRA or
REGISTERSRA_REGENGUID file is run. The Storage Resource agent automatically registers with the new
IBM
Spectrum Control server. You can then use the GUI to manage the Storage Resource agent deployment. For example, to confirm that the
Storage Resource agent was deployed successfully, go to the
Servers page and refresh the list.