08-01-2017 09:26 AM - edited 07-05-2021 07:28 AM
Hi,
based on the new 8.5, I'm trying to deploy a vWLC on AWS.
So, I've downloaded the vWLC OVA from Cisco site. I want a new deployment, so this is the only thing I have.
I understand we need to create a EC2 instance, but not from the "normal" procedure on AWS Console, 'cause it will ask for a disk deployment.
How can I attach the OVA to a EC2 instance?
On the config guide they say:
Step 1 | Go to AWS and from under Management Tools, select CloudFormation. |
Step 2 | From the Select Template page, use the Upload option to upload the vWLC template |
which Template is this one? I've tried the OVA but it returns an error saying it is too big.
Also, I believe it is expecting a JSON File with the instance caracteristics to be created. But then, I don't understand how to map the OVA....
Any hints please?
UPDATE: I've tried to make a VM Import with the vWLC OVA on AWS Bucket but it has failed with error message:
"Client Error: No valid partitions. Not a valid volume."
Thanks, Rui
Solved! Go to Solution.
08-02-2017 06:52 AM
I'm also looking forward to the mentioned CloudFormation template.
Our SE currently was not able to provide an answer
08-02-2017 06:52 AM
I'm also looking forward to the mentioned CloudFormation template.
Our SE currently was not able to provide an answer
08-09-2017 07:10 AM
08-09-2017 07:47 AM
Thanks;
I've used the template and pointed it to my AMI. the Cloud Formation completed without errors and the EC2 instance has been created.
But it crashes exactly the same way as before.
So, my conclusions are that the template is only helping on creating the interfaces and Elastic IP and attaching it to the correct interfaces. And points to the AMI which has to be built.
I conclude that my issue is with the AMI I've created. Actually there's no description from Cisco from where to start to create the Snapshot. I've described my procedure previously, but somewhere I'm making a mistake.
AWS Snapshot origin supported formats are: "The following disk formats are supported: Virtual Hard Disk (VHD), ESX Virtual Machine Disk (VMDK), and raw." There's no reference to QCOW2 and that format fails as expected.
08-09-2017 07:11 AM
Update:
I'm at a point where the EC2 instance I've created crashed on Boot saying it cannot map the Eth1 to dtl0.
I've made these steps:
I've created all the AWS infrastrcuture: VPC, Subnets, IGW and Security Group.
Any hints?! thx
08-17-2017 01:43 PM
i have two questions on your steps :
>>> when i export OVF from my vspher i get two OVF , from which shall i expor the VMDK ?
2. Created an AMI from this Snapshot
>>>shall i use the default setting when i create the image from the snapshot ? or i need to change something ?
08-22-2017 01:24 AM
Hi!
1 - I got these 3 files after exporting from vSphere. I used File -> Export -> Export OVF Template
2 - Yes. It took me some while to figure it out that only HVM Virtualization is supported.
When you are at EC2 Snapshot -> Create Image -> Choose HVM as the Virtualization Type
The Paravirtual (default) option, keep crashing the instance at boot with several kernel nasty errors.
Let me know how it went. 'cause I'm still not successful on this deployment. I'm at the same point I've described. Thanks
08-23-2017 02:00 PM
i had same issue as yours , but i managed to move step forward ,
follow this link and it will pass that eth1 error :
https://thewebfellas.com/blog/creating-an-new-ec2-ami-from-within-vmware-or-from-vmdk-files
let me know if you need any help .
still unable to login to the wlc
08-24-2017 07:45 AM
Hi Ali,
Still no success. Followed the link and used the AMI Tools from CLI.
Build the AMI, launch it and got into the same error:
XML config selected Validating XML Configuration !!!!! could not get mac address from network interface (...) fail to add eth1 to dtl0
this a complex setup...
08-24-2017 08:25 AM
did you launched the instance using cloudformation ? if not , please try
10-20-2017 09:15 PM
Managed to get it working with both the ec2-ami-tools and VM Import/Export. I can give access to the AMI if needed.
Crash due to missing eth1 below. Maybe Cisco can fix this so it doesn't crash and instead warns the user ;)
Cisco Bootloader (Version 8.5.1.85) .o88b. d888888b .d8888. .o88b. .d88b. d8P Y8 `88' 88' YP d8P Y8 .8P Y8. 8P 88 `8bo. 8P 88 88 8b 88 `Y8b. 8b 88 88 Y8b d8 .88. db 8D Y8b d8 `8b d8' `Y88P' Y888888P `8888Y' `Y88P' `Y88P' Booting Primary Image... Press <ESC> now for additional boot options... Booting 'Primary image' Detecting hardware . . . . 3 INIT: version 2.88 booting Starting udev Configuring network interfaces... done. ifconfig: SIOCGIFFLAGS: No such device INIT: Entering runlevel: 3 Detecting Hardware ... Loading host drivers.. Starting Web Services... Starting NA Connector... Starting DB Services... Cryptographic library self-test.... Testing SHA1 Short Message 1 Testing SHA256 Short Message 1 Testing SHA384 Short Message 1 SHA1 POST PASSED Testing HMAC SHA1 Short Message 1 Testing HMAC SHA2 Short Message 1 Testing HMAC SHA384 Short Message 1 passed! XML config selected Validating XML configuration !!!!! could not get mac address from network interface Cisco is a trademark of Cisco Systems, Inc. Software Copyright Cisco Systems, Inc. All rights reserved. Cisco AireOS Version 8.5.103.0 Initializing OS Services: ok Initializing Serial Services: ok Initializing Network Services: ok Initializing Licensing Storage: ok Initializing Licensing Services: ok License daemon start initialization..... Starting Statistics Service: ok Starting ARP Services: ok Starting Trap Manager: ok License daemon running..... Starting Data Externalization services: ok Starting Network Interface Management Services: ok Starting System Services: ok Starting SNMP services: ok Starting Fastpath Hardware Acceleration: broffu broffu_fp_helpers.c:399 SIOCGIFINDEX failed broffu broffu_fp_helpers.c:418 SIOCBRADDIF eth1 failed broffu broffu_fp_helpers.c:589 fail to add eth1 to dtl0 [ 14.290890] potentially unexpected fatal signal 11. [ 14.300127] code at 0x (nil): [ 14.302744] CPU: 1 PID: 1076 Comm: switchdrvr Tainted: G O 3.10.101.cge-rt110 #2 [ 14.307827] task: ffff8800eb22ea30 ti: ffff8800eb22ee40 task.ti: ffff8800eb22ee40 [ 14.312404] RIP: 0033:[<0000000000000000>] [< (nil)>] (nil) [ 14.317207] RSP: 002b:00007f03ce285248 EFLAGS: 00010202 [ 14.320577] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000003 [ 14.325081] RDX: 000000000000001e RSI: 0000000000000003 RDI: 00007f03ce285270 [ 14.329428] RBP: 00007f03ce285290 R08: 00007f03ce2852c0 R09: 0000000000000008 [ 14.333843] R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000 [ 14.338270] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 14.342755] FS: 00007f03ce286700(0000) GS:ffff8800efd00000(0000) knlGS:0000000000000000 [ 14.347819] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 14.353466] CR2: 0000000000000000 CR3: 00000000db692000 CR4: 00000000001606f0 [ 14.357903] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 14.362343] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 14.366802] [ 14.367785] Dumping switchdrvr core for sig(11) si_errno(0) si_code(0x30001) si_addr(0x (nil)) si_addr_lsb(0x0) error_code(0x14). [ 14.375582] mm(0xffff880006452080) vma(0xffff8800db432480) vma_flags(0x875) [ 14.379833] This can take a few minutes... [ 14.379833] Invoking the crash handler.. ************************************************************ * Start Cisco Crash Handler * ************************************************************ Sys Name: Model: vWLC config: Small Version: 8.5.103.0 Timestamp: Sat Oct 21 03:17:26 2017 SystemUpTime: 0 days 0 hrs 0 mins 10 secs signal: 11 pid: 1067 TID: -836212992 Task Name: fp_main_task Reason: System Crash si_signo: 11 si_errno: 0 si_code: 1 si_addr: 0x0 MON(R) Tick: 0 MON(R) ExitTick: 0 MON(RW) Tick: 0 MON(R) Trigger: 3 MON(R) State: 0 Long time taken timer call back information: Time Stamp: Thu Jan 1 00:00:00 1970 timer cb : (nil)('Unknown') Duration : 0 usecs, cbCount= 0 Timer Current Time :4 secs ------------------------------------------------------------ Analysis of Failure: ------------------------------------------------------------ System Stack 0x41fa5f 0x4208da 0x41ab19 0x3ba6c0f170 ------------------------------------------------------------ Semaphore and Mutex Usage (Caller IP(instruction pointer of caller) Gives one more level of depth in stack to track the Semaphore and Mutex operation) ------------------------------------------------------------ Memory Information System Memory Information: Total System Memory: 3957850112 bytes (3.68 GB) Used System Memory: 1417560064 bytes (1.32 GB) Free System Memory: 2540290048 bytes (2.36 GB) System Memory Information: Total System Memory: 3957850112 bytes (3.68 GB) Used System Memory: 1417560064 bytes (1.32 GB) Free System Memory: 2540290048 bytes (2.36 GB) Heap information: Bytes alloced from RTOS: 155781728 bytes (148.57 MB) Chunks free: 20 bytes Number of mmapped regions: 22 Total space in mmapped regions: 106651648 bytes (101.71 MB) Total allocated space: 154528544 bytes (147.38 MB) Total non-inuse space: 1253184 bytes (1.19 MB) Top-most, releasable space: 133376 bytes (130.25 KB) Total allocated (incl mmap): 262433376 bytes (250.29 MB) Total used (incl mmap): 261180192 bytes (249.09 MB) Total free (incl mmap): 1253184 bytes (1.19 MB) Buffer Pooled Malloc Usage Pool[00]: 16 byte chunks chunks in pool: 50000 chunks in use: 1576 bytes in use: 25216 bytes requested: 9596 (15620 overhead bytes) Pool[01]: 64 byte chunks chunks in pool: 40000 chunks in use: 977 bytes in use: 62528 bytes requested: 23942 (38586 overhead bytes) Pool[02]: 128 byte chunks chunks in pool: 20000 chunks in use: 19 bytes in use: 2432 bytes requested: 1837 (595 overhead bytes) Pool[03]: 256 byte chunks chunks in pool: 3000 chunks in use: 43 bytes in use: 11008 bytes requested: 8264 (2744 overhead bytes) Pool[04]: 384 byte chunks chunks in pool: 6000 chunks in use: 15 bytes in use: 5760 bytes requested: 5032 (728 overhead bytes) Pool[05]: 512 byte chunks chunks in pool: 16000 chunks in use: 7 bytes in use: 3584 bytes requested: 2956 (628 overhead bytes) Pool[06]: 1024 byte chunks chunks in pool: 3500 chunks in use: 151 bytes in use: 154624 bytes requested: 122660 (31964 overhead bytes) Pool[07]: 2048 byte chunks chunks in pool: 1000 chunks in use: 20 bytes in use: 40960 bytes requested: 28528 (12432 overhead bytes) Pool[08]: 4096 byte chunks chunks in pool: 24600 chunks in use: 24593 bytes in use: 100732928 bytes requested: 61097888 (39635040 overhead bytes) Max number of Mbufs: 24576 number of Mbufs Free: 24574 number of Mbufs In Use: 2 ------------------------------------------------------------ Interrupt Status Timer Current Time :4 secs ------------------------------------------------------------ FP Dump ------------------------------------------------------------ Task Summary Name Pid Priority Policy BytesInUse BlocksInUse CPU (usr/sys) hwm CPU Reaper fp_main_task 1076 (240/ 7) RR 171597013 27395 0 ( 0/ 0)% 0 0 osapiBsnTimer 1123 ( 70/ 71) RR 0 0 0 ( 0/ 0)% 0 0 sysapiprintf 1124 (240/ 7) RR 24785 3 0 ( 0/ 0)% 0 0 sampStatsTask 1140 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 dtlTask 1141 (100/ 60) RR 73937 3 0 ( 0/ 0)% 0 0 dtlArpTask 1142 (240/ 7) RR 165052 6 0 ( 0/ 0)% 0 0 dtlDataLowTask 1143 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 greTask 1144 (100/ 60) RR 0 0 0 ( 0/ 0)% 0 0 dx_usmfs 1145 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 dx_sync_task 1152 (240/ 7) RR 2624928 5 0 ( 0/ 0)% 0 0 I nim_t 1153 (100/ 60) RR 2335 3 0 ( 0/ 0)% 0 0 sim_task 1154 (100/ 60) RR 107215 3 0 ( 0/ 0)% 0 0 I osapiTimer 1172 (100/ 60) RR 18832 2 0 ( 0/ 0)% 0 0 T 300 TransferTask 1173 (240/ 7) RR 4160 5 0 ( 0/ 0)% 0 0 I BootP 1174 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 DHCP Client Task 1175 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 T 600 dhcpClientTimerTas 1176 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 DHCP Proxy Task 1177 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 DHCP Socket Task 1178 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 DHCPv6 Proxy Task 1179 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 SNMPTask 1180 (240/ 7) RR 10625 87 0 ( 0/ 0)% 0 0 SNMPProcMon 1181 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 T 300 RMONTask 1182 (240/ 7) RR 0 0 0 ( 0/ 0)% 0 0 I snmp_trap_msg_task 1183 (100/ 60) RR 565456 3 0 ( 0/ 0)% 0 0 Summary: total task CPU Usage 0% (total CPUs 2) CPU load 0%/24% Individual CPU Usage 17%/8%, 13%/10% Timer Current Time :4 secs ------------------------------------------------------------ Message Logs Timer Current Time :4 secs Dumping task specific information fp_main_task Crash function not supported by this task: fp_main_task ************************************************************ * End Cisco Crash Handler * ************************************************************ Cisco Crash Handler This build was configured to copy this crash information to a file called: "/var/log/mwar_dump1.crash" Uploading the core file ... HBL_ERROR: Error while opening Factory Default File Failed to update HBL license statistics file Updating license storage ... Done. Exiting SL process ! Failed to cleanup the ipsec daemon, System will go for a reboot! broffu broffu_fp_helpers.c:436 SIOCGIFFLAGS failed Failed to cleanup the interfaces, System will go for a reboot!
Successful Boot
Cisco Bootloader (Version 8.5.1.85) .o88b. d888888b .d8888. .o88b. .d88b. d8P Y8 `88' 88' YP d8P Y8 .8P Y8. 8P 88 `8bo. 8P 88 88 8b 88 `Y8b. 8b 88 88 Y8b d8 .88. db 8D Y8b d8 `8b d8' `Y88P' Y888888P `8888Y' `Y88P' `Y88P' Booting Primary Image... Press <ESC> now for additional boot options... Booting 'Primary image' Detecting hardware . . . . 3 INIT: version 2.88 booting Starting udev Configuring network interfaces... done. INIT: Entering runlevel: 3 Detecting Hardware ... Loading host drivers.. Starting Web Services... Starting NA Connector... Starting DB Services... Cryptographic library self-test.... Testing SHA1 Short Message 1 Testing SHA256 Short Message 1 Testing SHA384 Short Message 1 SHA1 POST PASSED Testing HMAC SHA1 Short Message 1 Testing HMAC SHA2 Short Message 1 Testing HMAC SHA384 Short Message 1 passed! XML config selected Validating XML configuration Cisco is a trademark of Cisco Systems, Inc. Software Copyright Cisco Systems, Inc. All rights reserved. Cisco AireOS Version 8.5.103.0 Initializing OS Services: ok Initializing Serial Services: ok Initializing Network Services: ok Initializing Licensing Storage: ok Initializing Licensing Services: ok License daemon start initialization..... Starting Statistics Service: ok Starting ARP Services: ok Starting Trap Manager: ok License daemon running..... Starting Data Externalization services: ok Starting Network Interface Management Services: ok Starting System Services: ok Starting SNMP services: ok Starting Fastpath Hardware Acceleration: ok Starting Switching Services: ok Starting QoS Services: ok Starting Policy Manager: ok Starting Data Transport Link Layer: ok Starting Access Control List Services: ok Starting System Interfaces: ok Starting Client Troubleshooting Service: ok Starting Certificate Database: ok Starting VPN Services: ok Starting Management Frame Protection: ok Starting DNS Services: ok ok Starting Virtual Platform component : ok HBL initialization is successful Starting Licensing Services: ok Starting Redundancy: ok Start rmgrPingTask: ok Starting LWAPP: ok Starting CAPWAP: ok Starting LOCP: ok Starting Security Services: ok Starting OpenDNS Services: ok Starting Policy Manager: ok Starting TrustSec Services: ok Starting Authentication Engine: ok Starting Mobility Management: ok Starting Capwap Ping Component: ok Starting AVC Services: ok Starting AVC Flex Services: ok Starting Virtual AP Services: ok Starting AireWave Director: ok Starting Network Time Services: ok Starting Cisco Discovery Protocol: ok Starting Broadcast Services: ok Starting Logging Services: ok Starting DHCP Server: ok Starting IDS Signature Manager: ok Starting RFID Tag Tracking: ok Starting RF Profiles: ok Starting Mesh Services: ok Starting TSM: ok Starting CIDS Services: ok Starting Ethernet-over-IP: ok Starting DTLS server: enabled in CAPWAP Starting CleanAir: ok Starting WIPS: ok Starting SSHPM LSC PROV LIST: ok Starting RRC Services: ok Starting SXP Services: ok Starting Alarm Services: ok Starting FMC HS: ok Starting IPv6 Services: ok Starting Config Sync Manager : ok Starting Hotspot Services: ok Starting Tunnel Services New: ok Starting Portal Server Services: ok Starting mDNS Services: ok Starting Management Services: Web Server: CLI: Secure Web: Web Authentication Certificate not found (error). If you cannot access management interface via HTTPS please reconfigure Virtual Interface. Starting IPSec Profiles component: ok Enabling Controller Provisioning Configuring Service Port Starting DHCP day 0 task Starting Internal DHCP server dhcp pool 192.168.1.3(0xc0a80103) - 192.168.1.14(0xc0a8010e), network 192.168.1.0(0xc0a80100) netmask 255.255.255.240(0xfffffff0), default gateway 192.168.1.1 Enable Service port dhcp server setup on 1 (Cisco Controller) Welcome to the Cisco Wizard Configuration Tool Use the '-' character to backup Would you like to terminate autoinstall? [yes]:
10-23-2017 03:57 AM
Hi damolp,
Great news! Can you share what was the trick to create an AMI that don't crash please?
By the way, have you see the latest 8.5 version and documentation? Cisco completely eliminates vWLC for AWS from their documentation... not on RN, nor on Deployment Guide....
11-19-2017 01:17 PM
Hi ruimartins1000,
I've same error today with Hyper-v, it was all down to not having two network adapters in the virtual machine setting. (eth0, eth1) in IOS
Added another adapter and the vWLC boot fine.
I guess you need to added another adapter in AMI if available and then it should boot.
Hope that help.
Abdh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide