# Phasing out a rancher server

**URL:** <https://forums.suse.com/t/phasing-out-a-rancher-server/6986>\
**Category:** General\
**Created:** [July 31, 2017, 1:07pm UTC](https://forums.suse.com/t/phasing-out-a-rancher-server/6986 "2017-07-31T13:07:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trondhindenes](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/trondhindenes/32/1780_2.png) [@trondhindenes](https://forums.suse.com/u/trondhindenes)\
**Post date:** [July 31, 2017, 1:07pm UTC](https://forums.suse.com/t/phasing-out-a-rancher-server/6986/1 "2017-07-31T13:07:30Z")

</div>

We currently have two servers running in a cattle cluster. I’d like to phase out one of them, but it seems like agents still registers against that ip even tho I register using the newest server’s ip:

```auto
INFO: Running Agent Registration Process, CATTLE_URL=http://10.245.14.93:8080/v1        
INFO: Attempting to connect to: http://10.245.14.93:8080/v1                             
INFO: http://10.245.14.93:8080/v1 is accessible                                         
INFO: Inspecting host capabilities                                                      
INFO: Boot2Docker: false                                                                
INFO: Host writable: true                                                               
INFO: Token: xxxxxxxx                                                                   
INFO: Running registration                                                              
INFO: Printing Environment                                                              
INFO: ENV: CATTLE_ACCESS_KEY=F49740A5F112AE860A9D                                       
INFO: ENV: CATTLE_HOME=/var/lib/cattle                                                  
INFO: ENV: CATTLE_REGISTRATION_ACCESS_KEY=registrationToken                             
INFO: ENV: CATTLE_REGISTRATION_SECRET_KEY=xxxxxxx                                       
INFO: ENV: CATTLE_SECRET_KEY=xxxxxxx                                                    
INFO: ENV: CATTLE_URL=http://10.245.14.117:8080/v1                                      
INFO: ENV: DETECTED_CATTLE_AGENT_IP=10.245.14.59                                        
INFO: ENV: RANCHER_AGENT_IMAGE=rancher/agent:v1.2.5                                     

```

10.245.14.117 is the one I’d like to get rid of.  
How can i update the config so that 10.245.14.93 is the ip agents register with?
