Inleiding
In dit document wordt beschreven hoe u kunt wisselen tussen de verschillende typen installatiemodi op een Catalyst 9800 Wireless Controller (WLC).
Voorwaarden
Vereisten
Cisco raadt kennis van de volgende onderwerpen aan:
Gebruikte componenten
De informatie in dit document is gebaseerd op deze software- en hardwareversie:
- C9800-40-K9 Versie 16.11.01c
De informatie in dit document is gebaseerd op de apparaten in een specifieke laboratoriumomgeving. Alle apparaten die in dit document worden beschreven, hadden een opgeschoonde (standaard)configuratie. Als uw netwerk live is, moet u zorgen dat u de potentiële impact van elke opdracht begrijpt.
Achtergrondinformatie
Gebruik dit document om te leren hoe u kunt converteren tussen de verschillende typen installatiemodi op een Catalyst 9800 Wireless Controller (WLC) via de Command Line Interface (CLI).
Deze procedure kan ook worden gebruikt om de 9800 WLC te upgraden.
Er zijn twee manieren waarop u Cisco IOS® XE kunt uitvoeren op een Catalyst 9800 WLC, in bundel- en in installatiemodus.
Installatiemodus
De installatiemodus gebruikt vooraf geëxtraheerde bestanden van het binaire bestand in de flash om de controller op te starten. De controller gebruikt het packages.conf
bestand dat is gemaakt van de extractie als opstartvariabele.
Bundelmodus
Het systeem werkt in bundelmodus als de controller opstart met de binaire afbeelding (.bin) als opstartvariabele. In deze modus extraheert de controller het .bin-bestand in het RAM en wordt vanaf daar uitgevoerd.
Deze modus gebruikt meer geheugen dan de installatiemodus, omdat de pakketten die uit het opstarten worden gehaald, naar het RAM worden gekopieerd.
Tip: de installatiemodus is de aanbevolen modus om de WLC uit te voeren.
Opmerking: Zorg ervoor dat beide apparaten dezelfde installatiemodus hebben voordat de 9800 WLC wordt geconfigureerd voor hoge beschikbaarheid. Anders kunt u te maken krijgen met een V-Mismatch-fout: %BOOT-3-BOOTTIME_INCOMPATIBLE_SW_DETECTED: R0/0: issu_stack: Incompatible software detected
.
Voordat u begint
Controleer de werkingsmodus van de 9800 WLC om te bepalen welke procedure u moet uitvoeren om tussen de modi te converteren.
Voer de opdracht show version | include Installation mode
uit om de huidige installatiemodus te bekijken.
9800-40#show version | include Installation mode
Installation mode is INSTALL
Configureren
Van installatie naar bundelmodus
Stap 1. Zorg ervoor dat u voldoende ruimte in Flash hebt om een nieuwe afbeelding uit te vouwen.
9800-40#show flash:
...
277 42838080 Oct 08 2018 14:22:06.0000000000 +00:00 wlc9500C-rpboot.2018-10-05_08.14_prabhask.SSA.pkg
278 10633472 Oct 09 2018 20:58:55.0000000000 +00:00 system-report_20181009-205853-Universal.tar.gz
279 19921673 Dec 13 2018 19:27:45.0000000000 +00:00 system-report_20181213-192546-Pacific.tar.gz
235937792 bytes available (5746528256 bytes used)
Stap 2. Ruim oude installatiebestanden op in geval van onvoldoende ruimte en om toegevoegde pakketten weg te gooien.
9800-40#install remove inactive
Cleaning up unnecessary package files
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
C9800-CL-universalk9.2019-12-28_15.32_saurasi3.SSA.bin
File is in use, will not delete.
done.
The following files will be deleted:
[chassis 2]:
/bootflash/C9800-CL-mono-universalk9.16.10.01.SPA.pkg
/bootflash/C9800-CL-rpboot.16.10.01.SPA.pkg
/bootflash/C9800-CL-universalk9.16.10.01.SPA.conf
/bootflash/packages.conf
/bootflash/wlc9500C-mono-universalk9.2018-10-05_08.14_prabhask.SSA.pkg
/bootflash/wlc9500C-mono-universalk9.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg
/bootflash/wlc9500C-rpboot.2018-10-05_08.14_prabhask.SSA.pkg
/bootflash/wlc9500C-rpboot.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg
/bootflash/wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.bin
/bootflash/wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.conf
Do you want to remove the above files? [y/n]yes
[chassis 2]:
Deleting file bootflash:C9800-CL-mono-universalk9.16.10.01.SPA.pkg ... done.
Deleting file bootflash:C9800-CL-rpboot.16.10.01.SPA.pkg ... done.
Deleting file bootflash:C9800-CL-universalk9.16.10.01.SPA.conf ... done.
Deleting file bootflash:packages.conf ... done.
Deleting file bootflash:wlc9500C-mono-universalk9.2018-10-05_08.14_prabhask.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-mono-universalk9.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-rpboot.2018-10-05_08.14_prabhask.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-rpboot.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.bin ... done.
Deleting file bootflash:wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.conf ... done.
SUCCESS: Files deleted.
--- Starting Post_Remove_Cleanup ---
Performing Post_Remove_Cleanup on all members
[2] Post_Remove_Cleanup package(s) on chassis 2
[2] Finished Post_Remove_Cleanup on chassis 2
Checking status of Post_Remove_Cleanup on [2]
Post_Remove_Cleanup: Passed on [2]
Finished Post_Remove_Cleanup
SUCCESS: install_remove Fri Feb 14 15:06:14 Pacific 2020
9800-40#show flash:
...
297 30983948 Jan 07 2019 04:46:03.0000000000 +00:00 system-report_20190107-044600-Pacific.tar.gz
298 10633472 Oct 09 2018 20:58:55.0000000000 +00:00 system-report_20181009-205853-Universal.tar.gz
299 19921673 Dec 13 2018 19:27:45.0000000000 +00:00 system-report_20181213-192546-Pacific.tar.gz
2931425280 bytes available (3051040768 bytes used)
Stap 3. Kopieer de nieuwe afbeelding naar Flash.
9800-40#copy tftp: flash:
Address or name of remote host []? 10.152.200.238
Source filename []? C9800-40-universalk9_wlc.16.11.01c.SPA.bin
Destination filename [C9800-40-universalk9_wlc.16.11.01c.SPA.bin]?
Accessing tftp://10.152.200.238/C9800-40-universalk9_wlc.16.11.01c.SPA.bin...
Loading C9800-40-universalk9_wlc.16.11.01c.SPA.bin from 10.152.200.238 (via Vlan210): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Stap 4. Voer deze opdracht uit om te bevestigen dat de afbeelding met succes naar Flash is gekopieerd:
9800-40#dir flash:*.bin
Directory of bootflash:/*.bin
Directory of bootflash:/
16 -rw- 884905681 Aug 13 2019 22:29:34 +00:00 C9800-40-universalk9_wlc.16.11.01c.SPA.bin
Stap 5. Controleer de huidige opstartvariabele, als deze wordt gebruikt,packages.conf
verwijder deze en stel image.bin in als nieuwe opstartvariabele. Het is belangrijk om de vorige opstartvariabele te verwijderen en op te slaan.
Voor de nieuwe variabele moet u ook de nieuwe configuratie opslaan. Anders vindt de verandering niet plaats.
9800-40#show boot
BOOT variable = bootflash:packages.conf,12;
CONFIG_FILE variable =
BOOTLDR variable does not exist
Configuration register is 0x2102
9800-40(config)#no boot system
9800-40(config)#do write
9800-40(config)#boot system bootflash:C9800-40-universalk9_wlc.16.11.01c.SPA.bin
9800-40(config)#do write
Stap 6. Voer deze opdracht uit om te controleren of de opstartvariabele is bootflash:
ingesteld.
De uitvoer wordt weergegeven BOOT variable = bootflash:.
9800-40#show boot
BOOT variable = bootflash:C9800-40-universalk9_wlc.16.11.01c.SPA.bin,12;
CONFIG_FILE variable =
BOOTLDR variable does not exist
Configuration register is 0x2102
Stap 7. Laad de controller opnieuw om op te starten in de bundelmodus.
9800-40#reload
Van bundel naar installatiemodus
Stap 1. Zorg ervoor dat u voldoende ruimte in Flash hebt om een nieuwe afbeelding uit te breiden.
9800-40#dir flash:
Stap 2. Ruim oude installatiebestanden op in geval van onvoldoende ruimte en om toegevoegde pakketten weg te gooien.
9800-40#install remove inactive
Cleaning up unnecessary package files
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
C9800-CL-universalk9.2019-12-28_15.32_saurasi3.SSA.bin
File is in use, will not delete.
done.
The following files will be deleted:
[chassis 2]:
/bootflash/C9800-CL-mono-universalk9.16.10.01.SPA.pkg
/bootflash/C9800-CL-rpboot.16.10.01.SPA.pkg
/bootflash/C9800-CL-universalk9.16.10.01.SPA.conf
/bootflash/packages.conf
/bootflash/wlc9500C-mono-universalk9.2018-10-05_08.14_prabhask.SSA.pkg
/bootflash/wlc9500C-mono-universalk9.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg
/bootflash/wlc9500C-rpboot.2018-10-05_08.14_prabhask.SSA.pkg
/bootflash/wlc9500C-rpboot.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg
/bootflash/wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.bin
/bootflash/wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.conf
Do you want to remove the above files? [y/n]yes
[chassis 2]:
Deleting file bootflash:C9800-CL-mono-universalk9.16.10.01.SPA.pkg ... done.
Deleting file bootflash:C9800-CL-rpboot.16.10.01.SPA.pkg ... done.
Deleting file bootflash:C9800-CL-universalk9.16.10.01.SPA.conf ... done.
Deleting file bootflash:packages.conf ... done.
Deleting file bootflash:wlc9500C-mono-universalk9.2018-10-05_08.14_prabhask.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-mono-universalk9.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-rpboot.2018-10-05_08.14_prabhask.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-rpboot.BLD_POLARIS_DEV_LATEST_20180812_104316_V16_10_0_83.SSA.pkg ... done.
Deleting file bootflash:wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.bin ... done.
Deleting file bootflash:wlc9500C-universalk9.2018-10-05_08.14_prabhask.SSA.conf ... done.
SUCCESS: Files deleted.
--- Starting Post_Remove_Cleanup ---
Performing Post_Remove_Cleanup on all members
[2] Post_Remove_Cleanup package(s) on chassis 2
[2] Finished Post_Remove_Cleanup on chassis 2
Checking status of Post_Remove_Cleanup on [2]
Post_Remove_Cleanup: Passed on [2]
Finished Post_Remove_Cleanup
SUCCESS: install_remove Fri Feb 14 15:06:14 Pacific 2020
9800-40#show flash:
...
297 30983948 Jan 07 2019 04:46:03.0000000000 +00:00 system-report_20190107-044600-Pacific.tar.gz
298 10633472 Oct 09 2018 20:58:55.0000000000 +00:00 system-report_20181009-205853-Universal.tar.gz
299 19921673 Dec 13 2018 19:27:45.0000000000 +00:00 system-report_20181213-192546-Pacific.tar.gz
2931425280 bytes available (3051040768 bytes used)
Stap 3. Kopieer de nieuwe afbeelding naar Flash.
9800-40#copy tftp: flash:
Address or name of remote host []? 10.152.200.238
Source filename []? C9800-40-universalk9_wlc.16.11.01c.SPA.bin
Destination filename [C9800-40-universalk9_wlc.16.11.01c.SPA.bin]?
Accessing tftp://10.152.200.238/C9800-40-universalk9_wlc.16.11.01c.SPA.bin...
Loading C9800-40-universalk9_wlc.16.11.01c.SPA.bin from 10.152.200.238 (via Vlan210): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Stap 4. Voer deze opdracht uit om te bevestigen dat de afbeelding met succes naar Flash is gekopieerd:
9800-40#dir flash:*.bin
Directory of bootflash:/*.bin
Directory of bootflash:/
16 -rw- 884905681 Aug 13 2019 22:29:34 +00:00 C9800-40-universalk9_wlc.16.11.01c.SPA.bin
Stap 5. Controleer de huidige opstartvariabele en als deze het bestand image.bin weergeeft, verwijdert u deze en stelt u deze inpackages.conf
als nieuwe opstartvariabele. Het is belangrijk om de vorige opstartvariabele te verwijderen en op te slaan.
Voor de nieuwe variabele moet u ook de nieuwe configuratie opslaan. Anders vindt de verandering niet plaats.
9800-40#show boot
BOOT variable = bootflash:C9800-40-universalk9_wlc.16.11.01c.SPA.bin,12;
CONFIG_FILE variable =
BOOTLDR variable does not exist
Configuration register is 0x2102
9800-40(config)#no boot system
9800-40(config)#do write
9800-40(config)#boot system bootflash:packages.conf
9800-40(config)#do write
Stap 6. Voer deze opdracht uit om te controleren of de opstartvariabele is ingesteld opbootflash:packages.conf
.
De uitvoer wordt BOOT variable = flash:packages.conf
weergegeven.
9800-40#show boot
BOOT variable = bootflash:packages.conf,12;
CONFIG_FILE variable =
BOOTLDR variable does not exist
Configuration register is 0x2102
Stap 7. Software installeert image naar Flash. Met de opdracht install add file bootflash: activate commit
wordt de switch verplaatst van de bundelmodus naar de installatiemodus.
9800-40#install add file bootflash:C9800-40-universalk9_wlc.16.11.01c.SPA.bin activate commit
Stap 8. Typy
(y
es)
voor alle vragen. Nadat de installatie is voltooid, laadt de controller opnieuw.
install_add_activate_commit: START Tue Aug 13 23:10:24 Central 2019
Aug 13 23:10:25.685: %INSTALL-5-INSTALL_START_INFO: Chassis 1 R0/0: install_engine: Started install one-shot bootflash:C9800-40-universalk9_wlc.16.11.01c.SPA.bininstall_add_activate_commit: Adding PACKAGE
This operation requires a reload of the system. Do you want to proceed?
Please confirm you have changed boot config to bootlegs:packages.conf [y/n]y
--- Starting initial file syncing ---
Info: Finished copying bootflash:C9800-40-universalk9_wlc.16.11.01c.SPA.bin to the selected chassis
Finished initial file syncing
--- Starting Add ---
Performing Add on all members
[1] Add package(s) on chassis 1
[1] Finished Add on chassis 1
Checking status of Add on [1]
Add: Passed on [1]
Finished Add
Image added. Version: 16.11.1c.0.503
install_add_activate_commit: Activating PACKAGE
Following packages shall be activated:
/bootflash/C9800-rpboot.16.11.01c.SPA.pkg
/bootflash/C9800-mono-universalk9_wlc.16.11.01c.SPA.pkg
/bootflash/C9800-hw-programmables.16.11.01c.SPA.pkg
This operation may require a reload of the system. Do you want to proceed? [y/n]y
--- Starting Activate ---
Performing Activate on all members
[1] Activate package(s) on chassis 1
[1] Finished Activate on chassis 1
Checking status of Activate on [1]
Activate: Passed on [1]
Finished Activate
--- Starting Commit ---
Performing Commit on all members
Aug 13 23:14:12.122: %INSTALL-5-INSTALL_AUTO_ABORT_TIMER_PROGRESS: Chassis 1 R0/0: rollback_timer: Install auto abort timer will expire in 21600 seconds
Aug 13 23:14:13.350: %IGMP_QUERIER-4-SAME_SRC_IP_ADDR: An IGMP General Query packet with the same source IP address (172.16.76.83) is received in VLAN 1 on port Te0/0/1.
Aug 13 23:14:16.635: %IGMP_QUERIER-4-SAME_SRC_IP_ADDR: An IGMP General Query packet with the same source IP address (172.16.76.83) is received in VLAN 1 on port Te0/0/1. [1] Commit package(s) on chassis 1
[1] Finished Commit on chassis 1
Checking status of Commit on [1]
Commit: Passed on [1]
Finished Commit
/usr/binos/conf/install_util.sh: line 594: /bootflash/.installer/install_add_pkg_list.txt: No such file or directory
Install will reload the system now!
SUCCESS: install_add_activate_commit Tue Aug 13 23:14:49 Central 2019
Aug 13 23:14:49.485: %INSTALL-5-INSTALL_COMPLETED_INFO: Chassis 1 R0/0: install_engine: Completed install one-shot PACKAGE bootflash:C9800-40-universalk9_wlc.16.11.01c.SPA.bin
Chassis 1 reloading, reason - Reload command
Aug 13 23:14:51.994: %PMAN-5-EXITACTION: F0/0: pvp: Process manager is exiting:
Aug 13 23:14:52.000: %PMAN-5-EXITACTION: C0/0: pvp: Process manager is exiting:
Aug 13 23:14:53.100: %PMAN-5
Initializing Hardware ...
Verifiëren
Gebruik deze sectie om te controleren of uw configuratie goed werkt.
Nadat de controller opnieuw is opgestart, kunt u de huidige installatiemodus van de controller controleren. Voer de opdracht show version
uit om te bevestigen dat de conversie succesvol is.
Installatiemodus
9800-40#show version | include System image|Installation mode
System image file is "bootflash:packages.conf"
Installation mode is INSTALL
Bundelmodus
9800-40#show version | include System image|Installation mode
System image file is "bootflash:/C9800-40-universalk9_wlc.16.11.01c.SPA.bin"
Installation mode is BUNDLE
Problemen oplossen
Er is momenteel geen specifieke informatie beschikbaar om problemen met deze configuratie op te lossen.
Gerelateerde informatie