03-17-2016 09:22 AM
Hi, how can i know if one cluster is using SSH or CCS to communicate???? i have to replace an ironport damaged in a cluster and i cant see any config about the cluster in the config.xml, and i cant see anything in Webui or CLI about the cluster.
how and where can i look the cluster info ????
03-17-2016 10:57 AM
You really want to read the manual chapter on Centralized Management as this isn't a frequently-travelled area of most configs, but:
On the surviving machine's CLI try clusterconfig, communication.
If the machine's looking on port 22 then it the cluster probably used SSH (which is recommended) but if it's showing port 2222 then it's almost certainly CCS. Note that it is possible to reprogram CCS to use a different port on any specific listener.
03-18-2016 07:12 PM
Hello Soporte,
On the config_xml (assuming you have saved it from the original device)
If it's in a cluster, at the very top of the configuration file you should see:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE cluster_config SYSTEM "cluster_config.dtd">
To determine what port your cluster is communicating with.
CLI > clusterconfig
A sub menu will appear with several options
Use communication
If you are using "communicate via hostname" temporarily switch it to "IP" and it will show you what port is being used.
Else if you're using IPs, it will appear with IP <port> 22 is SSH, 2222 is CCS by default unless you manually chose to use CCS but overriding on port 22.
(Cluster test)> clusterconfig
Cluster test
Choose the operation you want to perform:
- ADDGROUP - Add a cluster group.
- SETGROUP - Set the group that machines are a member of.
- RENAMEGROUP - Rename a cluster group.
- DELETEGROUP - Remove a cluster group.
- REMOVEMACHINE - Remove a machine from the cluster.
- SETNAME - Set the cluster name.
- LIST - List the machines in the cluster.
- CONNSTATUS - Show the status of connections between machines in the cluster.
- COMMUNICATION - Configure how machines communicate within the cluster.
- DISCONNECT - Temporarily detach machines from the cluster.
- RECONNECT - Restore connections with machines that were previously detached.
- PREPJOIN - Prepare the addition of a new machine over CCS.
[]> communication
Should all machines in the cluster communicate with each other by hostname or by IP address?
1. Communicate by IP address.
2. Communicate by hostname.
[2]> 1
All machines in the cluster will communicate with each other by IP address.
In order to make this change, you must specify IP addresses for the 1 machines already in the cluster. Do you have this information and wish to proceed? [N]> Y
What IP address should other machines use to communicate with Machine vesa2.lab?
1. 10.11.11.11 port 22 (SSH on interface Management)
2. Enter an IP address manually
[]> 1
Group Main_Group:
1. Machine vesa2.lab: using IP address 10.11.11.11 port 22
Choose the operation you want to perform:
- EDIT - Change the IP and port for a machine.
[]>
Regards,
Matthew
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide