Unsolved
This post is more than 5 years old
1 Rookie
•
21 Posts
0
2427
January 24th, 2014 11:00
What is the full command to add a domain? dmctl -s xxxxxx
What;s the command "full command" to add a new domain?
No Events found!
Unsolved
This post is more than 5 years old
1 Rookie
•
21 Posts
0
2427
January 24th, 2014 11:00
What;s the command "full command" to add a new domain?
Top
PaulORourke
170 Posts
0
January 27th, 2014 02:00
Hi Habadir,
Can you please clarify what you mean by "add a new domain"?
Do you mean add a new domain to the broker? If so, please use the following command:
From the broker location you wish to add the domain to, execute the following command:
/smarts/bin/brcontrol add_dm
e.g brcontrol add_dm TEST_APM_01 10.10.10.100 39713 10552
Where TEST_APM_01 is the name of the domain, 10.10.10.100 is the IP address of the host the domain is running on, 39713 is the port the domain is attached to and 10552 is the domain PID.
Kind Regards,
Paul O'Rourke
habadir
1 Rookie
•
21 Posts
0
January 27th, 2014 05:00
Thanks Paul, but let me explain the whole story
We are trying to clone a VM Smarts server which has "SAP/IP"
After cloning to the new server, I shut down the original one, changed the Smarts license fine to match the new MAC ID, installed the license and was able to start the License Manager and some of the services. However, not all the domains are listed when I run brcontrol command
Broker is located at: localhost:426 Started: Jan 27 08:10:25 2014
Domain Host Name Port PID State Last Change Time
------------------ ------------------------------ ------ ------- ------- --------------------
SYSLOG-INCHARGE-OI pwm-wex-1023.wrightexpress.com 53314 6175 RUNNING Jan 27 08:10:32 2014
TRAP-INCHARGE-OI pwm-wex-1023.wrightexpress.com 57054 6036 RUNNING Jan 27 08:10:33 2014
Broker is located at:
localhost:426 Started: Jan 24 15:03:16 2014
Domain
Host Name Port PID State Last
Change Time
------------------ ------------------------------ ------
------- ------- --------------------
SYSLOG-INCHARGE-OI pwm-wex-1023.wrightexpress.com
58393 3232 RUNNING Jan 24 15:03:17 2014
TRAP-INCHARGE-OI pwm-wex-1023.wrightexpress.com
60014 3152 RUNNING Jan 24 15:03:18 2014
PaulORourke
170 Posts
0
January 27th, 2014 05:00
Hi Habadir,
Are the services for SAM and IP running at the moment? Use the command (from the SAM bin directory):
./sm_service show
Also, can you please check the status of the license server, using the command:
./lmutil lmstat -c @ -f
For instance, if the license server is running on port 1799 on the server called Smarts1, the command is:
./lmutil lmstat -c 1799@Smarts1 -f
Finally, if the services appear to be running, but the domains are not appearing in the ./brcontrol output, can you please check the log files for both SAM and IP (located at /smarts/local/logs).
Do you see any errors when SAM and IP are attempting to start?
Thanks,
Kind Regards,
Paul O'Rourke
habadir
1 Rookie
•
21 Posts
0
January 27th, 2014 06:00
Hello Paul,
cannot restart SAM and IP
[root@pwm-wex-1023 bin]# ./sm_service start ic-sam-server
[root@pwm-wex-1023 bin]# ./sm_service show ic-sam-server
NOT RUNNING ic-sam-server
[root@pwm-wex-1023 bin]# ./sm_service start ic-pm-server
[root@pwm-wex-1023 bin]# ./sm_service show ic-pm-server
NOT RUNNING ic-pm-server
LM is running
[root@pwm-wex-1023 bin]# ps -ef|grep -i lm
root 13457 16076 0 09:05 pts/2 00:00:00 grep -i lm
root 30378 1 0 Jan24 pts/2 00:00:00 lmgrd -c /opt/EMC/SAM/smarts/local/conf
root 30379 30378 0 Jan24 ? 00:00:01 sm_lmgrd92 -T pwm-wex-1023.wrightexpress.com 11.9 3 -c /opt/EMC/SAM/smarts/local/conf --lmgrd_start $PATH
Here are the current state of the services:
./sm_service show
NOT RUNNING ic-mbim-server
RUNNING ic-broker
NOT RUNNING ic-am-pm-server
RUNNING ic-business-dashboard
NOT RUNNING ic-ip-configuration
NOT RUNNING ic-ip-perspective
NOT RUNNING ic-pm-server
NOT RUNNING ic-itoi-adapter-uimo
NOT RUNNING ic-ip-analysis
NOT RUNNING ic-icoi-server
RUNNING ic-trapd-receiver
NOT RUNNING ic-sam-server
NOT RUNNING ic-am-server
RUNNING ic-syslog-adapter
NOT RUNNING ic-ip-resource
[January 27, 2014 9:07:58 AM EST +273ms] t@1038657856 ServerQueue #1
SMS-N-LOG_TRANS-Service ic-am-pm-server has transitioned from state STARTING to state NOT RUNNING via event Termination
[January 27, 2014 9:07:58 AM EST +273ms] t@1038657856 ServerQueue #1
SMS-N-LOG_UNEXPECTEDTERMINATION-Service ic-am-pm-server has terminated unexpectedly
[January 27, 2014 9:08:05 AM EST +164ms] t@1004780304
CI-N-EINCONNEST-Incoming connection established, properties Non-negotiated
PaulORourke
170 Posts
0
January 27th, 2014 08:00
Hi Habadir,
Can you please provide the output to the command:
./lmutil lmstat -c @ -f
Also, can you please attach the full log files(zipped) for the SAM and the IP domain?
Thanks,
Paul
habadir
1 Rookie
•
21 Posts
0
January 27th, 2014 12:00
Paul,
sorry for the delay but I contacted Support and they mentioned that changing the MAC ID in the license file and re-install it is not a valid option. They provided me with a temp license file that fixed the issue.