To migrate the Adapter to a new version in a multiple-Adapter deployment, follow these steps for each installation of the Adapter:
- Create a new install location. The default location is /opt/InCharge/ASAM. Retain this location and create a new location, as follows:
/opt/InCharge/<New Unique Directory Name>/ASAM InCharge/ASAM3300/
Where <New Unique Directory Name> represents the new version of the Adapter. For example, to upgrade to version 3.5.0.0, you might name the directory as follows:
InCharge/ASAM3400/
- In the new installation directory, install the Adapter, as described in “Installing the Adapter” .
- Also in the new installation directory, install the patch, as described in the Patch Notes.
- In the original installation directory, stop the Adapter server. If the Adapter is running as a service, use the stop command to stop the server. For example,
sm_service stop ic-alcatel-sam
- Migrate services to the new installation:
- In the original installation directory, if the Adapter service is manually installed, manually uninstall the service, as follows:
UNIX
sm_service remove ic-alcatel-sam tC:\InCharge\ASAM\smarts\bin> sm_service.exe remove ic-alcatel-sams
- In the new installation directory, manually install the service in the new directory. For example, issue the following command to install the service:
UNIX
▼bin/sm_service install --force --unmanaged --startmode=runonce --name=ic-asam --description=”VMware Smart Assurance Adapter for Alcatel-Lucent 5620 SAM EMS” --env=SM_JAVA_ENABLED=YES /opt/InCharge/<New Unique Directory Name>/ASAM/smarts/bin/sm_server --name=ASAM --config=alcatel-sam --java --subscribe=default --output --ignore-restore-errors▲
- In the original installation directory, if the Adapter service is manually installed, manually uninstall the service, as follows:
- Complete the migration process, as described in “Migrating to version 3.5”.
- Migrate the .rps file from the original installation directory, InCharge/ASAM/smarts/local/repos/icf to the new directory, as follows:
InCharge/<New Unique Directory Name>/ASAM/smarts/local/repos/icf
- In the new installation directory, start the Adapter server.
- Perform a full discovery.
Important:
Do not remove or uninstall the older version of the Adapter until your evaluation is complete.