Start a Conversation

Unsolved

This post is more than 5 years old

434

August 14th, 2008 15:00

Installing two SAM instances on different ports in one Solaris server

How can I install 2 SAM instances on different ports in one Solaris V440 server..

My purpose is that the upper layer will only import the topology, notifications and notification attributes from the lower SAM layer. Nothing more it has to do.. Importing the topo and notifications is known, but not sure if this kind of dual installation on different ports is possible in one server, and if possible, how can it be implemented and installed.. Sounds funny, but this is quite a serious query... Please suggest me some solutions

53 Posts

August 14th, 2008 17:00

Do you mean 2 seperate network ports (interfaces), or two IP listening ports?

If you mean listening ports then you just assign different ports with the "--port= " option when you install the service. That is all there is to it, you can use any available port number that is accessible on the system.

run "sm_server -h" from your SAM bin directory for more information on usage.

If you are talking about tying each service to a particular network interface then I am not sure if that is possible.

54 Posts

August 15th, 2008 00:00

You can install an underlying SAM which is connected to the polling domains.
Top level SAM will connect to the underlying SAM.
To do that you have to copy the /local/conf/ics directory to /local/conf/icsXY In the new icsXY directory will have the conf files for the new underlying SAM.

Don't forget to copy as well the /conf/ics to /conf/icsXY (Don't do any changes in here - just copy the directory)

If you are using sm_service to start the domains here is the example:
********Command to install service for top level SAM**********
sm_service install --force --unmanaged --startmode=manual \
'--name=TOP-LEVEL-SAM' \
'--description=SMARTS Service Assurance Manager Server' \
'/opt/nme/incharge7/SAM/smarts/bin/sm_server' \
'--name=TOP-LEVEL-SAM' \
'--config=ics' \
'--port=9400' \
'--ignore-restore-errors' \
'--output'

********Command to install service for underlying SAM**********
sm_service install --force --unmanaged --startmode=manual \
'--name=UNDERLYING-SAM' \
'--description=SMARTS Service Assurance Manager Server' \
'/opt/nme/incharge7/SAM/smarts/bin/sm_server' \
'--name=UNDERLYING-SAM' \
'--config= icsXY' \
'--port= 9410' \
'--ignore-restore-errors' \
'--output'

NOTE: per default you can connect to the underlying SAM with the user admin.
or you can import the users, profiles, notification lists and tools with the sm_config command.
No Events found!

Top