Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor

Can not Access to CMA directely with SSH "MDS ENV"

Hello, 

I installed my first MDS R77.30, I configured CMA etc...

But I can not access to the CMA by SSH. I have always the MDS SSH Window instead of CMA one.

After a small research on the internet, it seems that we need to connect first to the MDS on SSH, log in expert mode and then connect to the CMA with mdsenv command.

I did it but the MDS did not redirect me to CMA console.  Could you please tell me how to get connected to the virtual CMA by SSH without passing through the MDS?

Best regards.

Tags (3)
5 Replies
Highlighted
Champion
Champion

You cannot connect SSH to a CMA, a CMA has a virtual IP, by issuing the mdsenv (Name or IP of DMS) command you move the context into that specific CMA, so when you do a cd $FWDIR, you will be moved into the customer specific directory, which you can see with the pwd command.

Using mdsstat you can see the list of domains and the status of each process running for each particular domain.

Regards, Maarten
0 Kudos
Highlighted
Contributor

Hello, 

I did it but it seems that it is not working, I am still in /home/admin. please check below. 

[Expert@MDS:0]# pwd
/home/admin
[Expert@MDS:0]# mdsenv 10.23.65.3
[Expert@MDS:0]# pwd
/home/admin
[Expert@MDS:0]# mdsenv 10.134.4.4
Error: There is no Domain Management Server with Name/IP: 10.134.4.4
[Expert@MDS:0]# mdsenv 10.23.65.3
[Expert@MDS:0]# pwd
/home/admin
[Expert@MDS:0]#

Regards

0 Kudos
Highlighted
Collaborator

What does #mdsstat show?

0 Kudos
Highlighted
Champion
Champion

I do not see the step cd $FWDIR

Regards, Maarten
0 Kudos
Highlighted
Contributor

Hello,

I think that it is working with cd $FWDIR.

Thank you.

[Expert@MDS:0]# mdsenv 10.23.65.3
[Expert@MDS:0]# pwd
/opt/CPmds-R77
[Expert@MDS:0]# cd $FWDIR
[Expert@MDS:0]#
[Expert@MDS:0]# cd $FWDIR
[Expert@MDS:0]#
[Expert@MDS:0]# pwd
/opt/CPmds-R77/customers/CMA-ACH_Management_Server/CPsuite-R77/fw1
[Expert@MDS:0]# mdsstat

Regards.