Print Download PDF Send Feedback

Previous

Next

mcd

Description

This command lets you go easily to the specified directory in the $FWDIR directory in the Domain Management Server context.

Syntax

mdsenv <IP Address or Name of Domain Management Server>

mcd <Name of Directory in $FWDIR>

Example

[Expert@MDS:0]# mdsstat

+--------------------------------------------------------------------------------------+

| Processes status checking |

+-----+----------------+-----------------+------------+----------+----------+----------+

| Type| Name | IP address | FWM | FWD | CPD | CPCA |

+-----+----------------+-----------------+------------+----------+----------+----------+

| MDS | - | 192.168.3.51 | up 17284 | up 17266 | up 17251 | up 17753 |

+-----+----------------+-----------------+------------+----------+----------+----------+

| CMA |MyDomain_Server | 192.168.3.240 | up 32227 | up 32212 | up 25725 | up 32482 |

+-----+----------------+-----------------+------------+----------+----------+----------+

| Total Domain Management Servers checked: 1 0 up 1 down |

| Tip: Run mdsstat -h for legend |

+--------------------------------------------------------------------------------------+

[Expert@MDS:0]#

[Expert@MDS:0]# mdsenv MyDomain_Server

[Expert@MDS:0]#

[Expert@MDS:0]# mcd

changing to /opt/CPmds-R80.30/customers/MyDomain_Server/CPsuite-R80.30/fw1/

[Expert@MDS:0]#

[Expert@MDS:0]# ls -1

av

bin

conf

cpm-server

database

doc

hash

lib

libsw

log

scripts

state

tmp

[Expert@MDS:0]#

[Expert@MDS:0]# mcd av

changing to /opt/CPmds-R80.30/customers/MyDomain_Server/CPsuite-R80.30/fw1/av

[Expert@MDS:0]#

[Expert@MDS:0]# mcd bin

changing to /opt/CPmds-R80.30/customers/MyDomain_Server/CPsuite-R80.30/fw1/bin

[Expert@MDS:0]#

[Expert@MDS:0]# mcd conf

changing to /opt/CPmds-R80.30/customers/MyDomain_Server/CPsuite-R80.30/fw1/conf

[Expert@MDS:0]#

[Expert@MDS:0]# mcd log

changing to /opt/CPmds-R80.30/customers/MyDomain_Server/CPsuite-R80.30/fw1/log

[Expert@MDS:0]#

[Expert@MDS:0]# mcd scripts

changing to /opt/CPmds-R80.30/customers/MyDomain_Server/CPsuite-R80.30/fw1/scripts

[Expert@MDS:0]#