how to migrate from old sz to new sz ?

  • 1
  • Question
  • Updated 8 months ago
  • Answered
  • (Edited)
Hi Ruckus.

Whenever we worked a migrating from old SZ to new sz ; those have different ip address each other; i didn't find efficient method migrating whole aps at one time.


Could anyone let us know about it.


We tried to it using below


1) manually cli as " set scg ip 'new ip' " at all aps.


2) ap script via diagnostics > AP scripts tab.


3) option 43
(ex. option 43 hex "new scg ip hex code")


In case of 1 and 2, almost of aps revert to old scg ip after rebooting.


And In case of 3, it doesn't work though it applied properly on ap cli.
(ex. Server List from DHCP (Opt43/Opt52): 172.16.100.221)


How can do we it efficiently at one time?

When we worked this on Aruba, Cisco, they worked good at one time.

Regards.

Photo of Jeronimo

Jeronimo

  • 337 Posts
  • 40 Reply Likes

Posted 8 months ago

  • 1
Photo of Jeronimo

Jeronimo

  • 337 Posts
  • 40 Reply Likes
I have attached results at failure of migration.

<Ap script>

#define AP FW version (must match the AP version in the zone)

fw_version=5.0.0.0.753

#define Model class (only option available is 'all')

model=all

# Command (these are examples, any AP CLI command will be accepted; One command per line)

set scg ip 172.16.100.222 -----------> It's new sz ip.

reboot

< execution result of ap script 



< symptom : revert to old ip after applying script or cli to change ip ro new sz ip.


I thought ruckus has to fix it for smoothly migration to new sz.

If anyone have another method, please let us lnow about it.

Regards.

Photo of Albert Pierson

Albert Pierson, Employee

  • 130 Posts
  • 112 Reply Likes
Hello Jeronimo,

The commands - set scg ip <control_ip> as well as DHCP option 43 or DNS are only used for initial SZ discovery for factory defaulted AP's.

Once an AP has been controlled by an SZ the controller IP list (c-list) is stored internally in the AP and the discovery process will not work.

To make the AP "forget" the previous controller IP you need to run the following command:
set scg init

This command will clear the internal c-list, reboot the AP  and put the AP back into discovery.

You can then use the set scg ip <control_ip> to move the AP to a new IP or cluster.

You could simply add the set scg init into your AP CLI script.  I have tested this and the set scg ip command does get executed before the AP reboots.  But to be certain you could do two AP CLI scripts - first one to do set scg init, second set scg ip <ip_address>

Note - if a DHCP option 43 or DNS entry exists that moves the AP back to the old IP or cluster then the AP can be sent back to the old IP.  Best way is to remove or change these settings, but I have also been able to force the AP to the new IP by running the two commands together before the AP reboots.

I wrote a Knowledge Base Article with a few more details that I have just requested to be published publicly on our support site - it should be available in a couple of hours:


Article Number         000008826
Title         Moving SZ to a new Cluster or IP


I hope this information helps solve your problem.

Thanks for choosing Ruckus Networks


Photo of Jeronimo

Jeronimo

  • 337 Posts
  • 40 Reply Likes
Hi albert.

Thanks so much for answer.

It's helpful information.

I have not seen any documentation on this yet.

It works properly.

But from our a test,  when aps don't reach new ip of sz due to some reason such as network issue, acl issue, joining at staging zone of vsz-H, and so on, Ap revert to old IP of sz.

Sometimes this problem can give us the inconvenience of migration.

Such as when we change only ip address in a sz, when new ip is not ready yet and so on.

We hope to improve it.

Regards.

Photo of Jeronimo

Jeronimo

  • 337 Posts
  • 40 Reply Likes
In addition, I found if someone have option 43 for new ip, they can just apply cli as  " set scg init ".

After applying the command and rebooting him, AP start to join to new ip recieved from option 43.

Regards.
Photo of Jeronimo

Jeronimo

  • 337 Posts
  • 40 Reply Likes
Hi Albert.

I don't still find the article at KB.

When do it upload?
Photo of Albert Pierson

Albert Pierson, Employee

  • 130 Posts
  • 112 Reply Likes
I have just requested that the article I mentioned be moved to external publishing.

It may still take a day for it to be available on the support portal.

Sorry for the inconvenience.
Photo of Jeronimo

Jeronimo

  • 337 Posts
  • 40 Reply Likes
No problem.

But this function have to enhance for better migration.

In several case, it doesn't work properly.