# It's impossible to switch rack?

**URL:** <https://community.convox.com/t/its-impossible-to-switch-rack/427>\
**Category:** CLI\
**Created:** [March 1, 2019, 11:12am UTC](https://community.convox.com/t/its-impossible-to-switch-rack/427 "2019-03-01T11:12:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuongnd08](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/phuongnd08/32/57_2.png) [@phuongnd08](https://community.convox.com/u/phuongnd08)\
**Post date:** [March 1, 2019, 11:12am UTC](https://community.convox.com/t/its-impossible-to-switch-rack/427/1 "2019-03-01T11:12:44Z")

</div>

I’m having multiple rack.  
My .convox/auth is like this:

{  
“[production2-xxx.elb.amazonaws.com](http://production2-xxx.elb.amazonaws.com/)”: “xxx”,  
“[production3-xxx.elb.amazonaws.com](http://production3-xxx.elb.amazonaws.com/)”: “xxx”  
}

I tried:

convox rack params --rack=incorrect-name  
convox rack params --rack=production3  
CONVOX\_RACK=production3 convox rack params

All print the settings of production2 which I installed first.

Advice?

---

<div class="post-metadata">

**Author:** ![phuongnd08](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/phuongnd08/32/57_2.png) [@phuongnd08](https://community.convox.com/u/phuongnd08)\
**Post date:** [March 1, 2019, 11:13am UTC](https://community.convox.com/t/its-impossible-to-switch-rack/427/2 "2019-03-01T11:13:53Z")

</div>

And how is `convox switch` is supposed to work? It is not doing anything except printing current rack name?

---

<div class="post-metadata">

**Author:** ![phuongnd08](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/phuongnd08/32/57_2.png) [@phuongnd08](https://community.convox.com/u/phuongnd08)\
**Post date:** [March 1, 2019, 11:17am UTC](https://community.convox.com/t/its-impossible-to-switch-rack/427/3 "2019-03-01T11:17:44Z")

</div>

Looks at what I have:  
convox switch production3  
ERROR: could not find rack: production3

---

<div class="post-metadata">

**Author:** ![phuongnd08](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/phuongnd08/32/57_2.png) [@phuongnd08](https://community.convox.com/u/phuongnd08)\
**Post date:** [March 3, 2019, 1:01am UTC](https://community.convox.com/t/its-impossible-to-switch-rack/427/4 "2019-03-03T01:01:57Z")

</div>

Okay, after pinging support, here is what I got:  
convox switch is supposed to be used if you use [console.convox.com](http://console.convox.com)

If you are not using [console.convox.com](http://console.convox.com):  
`CONVOX_HOST=xxx convox rack params` will show you the params of the rack  
`convox login HOST` will default convox to work on the rack at HOST
