cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
350
Views
0
Helpful
1
Replies

Migrating Local Director to CSM - commands "name" "oos"

sheila.burau
Level 1
Level 1

On a CSM v4.2(3) on a 6509: I'm trying to make the real servers have names (like on the local director) instead of IP addresses:

VOC-SW15#conf t

Enter configuration commands, one per line. End with CNTL/Z.

VOC-SW15(config)#mod csm 4

VOC-SW15(config-module-csm)#serverfarm TEST1

VOC-SW15(config-slb-sfarm)#real ?

A.B.C.D real server IP address

name use a named real server

VOC-SW15(config-slb-sfarm)#real name webtest

% Config not found for module real WEBTEST

VOC-SW15(config-slb-sfarm)#real name ?

WORD real server name

VOC-SW15(config-slb-sfarm)#real name webtest

% Config not found for module real WEBTEST

VOC-SW15(config-slb-sfarm)#

VOC-SW15(config-slb-sfarm)#real webtest

VOC-SW15(config-slb-module-real)#address 10.1.250.37

This is what I end up with (I want the real server under server farm test1:

real WEBTEST

address 10.1.250.37

serverfarm TEST1

nat server

no nat client

real 10.1.250.38

inservice

Also, if anyone has an easy way to take a box out of service (like on the local director) please let me know. On CSM we're having to do this:

VOC-SW15#conf t

VOC-SW15(config)#mod csm 4

VOC-SW15(config-module-csm)#serverfarm relays

VOC-SW15(config-slb-sfarm)#real 10.1.11.23

VOC-SW15(config-slb-real)#no inservice

on ld it was just: oos real relay-01

Thank you for all the posts. They have been tremendous help in getting the CSM in production.

ps (Gilles, My Christmas wish is that you're working on a CSS/CSM Book for Cisco Press. One is definately needed)

Thank you, Sheila

1 Reply 1

sheila.burau
Level 1
Level 1

We figured out the name configuration.

!

real MLXWEBTEST

address 10.1.250.36

inservice

!

serverfarm TEST1

nat server

no nat client

real 10.1.250.38

inservice

real name MLXWEBTEST

no inservice

real server farm weight state conns/hits

-------------------------------------------------------------------------

10.1.250.38 TEST1 8 OPERATIONAL 0

MLXWEBTEST TEST1 8 OUTOFSERVICE 0

Is this the best configuration? We have to migrate

250+ servers over to the CSM. Thanks, sheila