CSM: How to synchronization!

Answered Question
Mar 15th, 2007
User Badges:

Hi all,

This ia my current configuration:

! Active CSM

ft group 55 vlan 55

priority 15

failover 2 preempt

vlan 22 client

ip address 202.78.224.50 255.255.255.248

gateway 202.78.224.54

alias 202.78.224.51 255.255.255.248

vlan 76 server

ip address 10.11.62.253 255.255.255.0

alias 10.11.62.254 255.255.255.0

! Standby CSM

ft group 55 vlan 55

priority 12

failover 2 preempt

vlan 22 client

ip address 202.78.224.49 255.255.255.248

gateway 202.78.224.54

alias 202.78.224.51 255.255.255.248

vlan 76 server

ip address 10.11.62.252 255.255.255.0

alias 10.11.62.254 255.255.255.0


To configute synchronizing, I change on active CSM as below:

!Active CSM

ft group 55 vlan 55

priority 15

failover 2 preempt

vlan 22 client

ip address 202.78.224.50 255.255.255.248 alt 202.78.224.49

gateway 202.78.224.54

alias 202.78.224.51 255.255.255.248

vlan 76 server

ip address 10.11.62.253 255.255.255.0 alt 10.11.62.252

alias 10.11.62.254 255.255.255.0

Do I configure right? Please correct me if I have mistakes.

Thanks.


Correct Answer by Gilles Dufour about 10 years 4 months ago

the goal is to only configure the active csm and then synchronize the standby.

If you want to manually configure the standby, then you don't need to do all this.


So, there are commands that will be exactly the same on the standby and on the active - like serverfarms and vservers definition.

But some commands will be different.

These are the ip addresses commands.

So you need a way to specify on the active CSM that during synchronization it needs to use a different ip/value for the standby.

This is done with the "alt" keyword.


For ip addresses you correctly used the "alt" function.


For the FT priority, you had configured a value of 15 on the active and a value of 12 on the standby.

So, to reflect this in the active config, you again use the "alt" keyword.


"priority 15 alt 12"


This means the active will get a priority of 15 and the standby a priority of 12.


Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Gilles Dufour Thu, 03/15/2007 - 02:01
User Badges:
  • Cisco Employee,

You use the 'alt' keyword to specify the standby specific information.

You did it for the ip addresses which is correct.

But you also have to do it for the ft priorities.


ie:

priority 15 alt 12


Finally, when the config of the active CSM is correct, you have to enter the following command to start the synchronization:


hw-module ContentSwitchingModule standby config-sync


Gilles.

vdkhoa83csm Thu, 03/15/2007 - 03:07
User Badges:

Thanks Gilles,

So I only change on active CSM, and preserve the configuration on standby CSM?

Please explain for me the command "priority 15 alt 12". How is it work?

Vo.


Correct Answer
Gilles Dufour Thu, 03/15/2007 - 06:42
User Badges:
  • Cisco Employee,

the goal is to only configure the active csm and then synchronize the standby.

If you want to manually configure the standby, then you don't need to do all this.


So, there are commands that will be exactly the same on the standby and on the active - like serverfarms and vservers definition.

But some commands will be different.

These are the ip addresses commands.

So you need a way to specify on the active CSM that during synchronization it needs to use a different ip/value for the standby.

This is done with the "alt" keyword.


For ip addresses you correctly used the "alt" function.


For the FT priority, you had configured a value of 15 on the active and a value of 12 on the standby.

So, to reflect this in the active config, you again use the "alt" keyword.


"priority 15 alt 12"


This means the active will get a priority of 15 and the standby a priority of 12.


Gilles.

vdkhoa83csm Mon, 03/19/2007 - 00:11
User Badges:

Ok, so "alt" use for the standby. When the standby CSM become active, we'll also configure similar to synchronize.

Thanks a lot Gilles.


Vo.

Gilles Dufour Mon, 03/19/2007 - 01:41
User Badges:
  • Cisco Employee,

there is no need to configure this on the standby when it becomes active.

It should already be there after the synchronization.


You can do a 'sho run' on the standby after synch to verify that it has the 'alt' keywords.

It should normally reverse the order of the info.


Gilles.


Actions

This Discussion