• No results found

BIG-IP Virtual Edition Setup Guide for Microsoft Hyper-V. Version

N/A
N/A
Protected

Academic year: 2021

Share "BIG-IP Virtual Edition Setup Guide for Microsoft Hyper-V. Version"

Copied!
26
0
0

Loading.... (view fulltext now)

Full text

(1)

BIG-IP

®

Virtual Edition Setup Guide for

Microsoft

®

Hyper-V

®

(2)
(3)

Table of Contents

Legal Notices...5

Chapter 1:  Getting Started with BIG-IP Virtual Edition...7

What is BIG-IP Virtual Edition?...8

BIG-IP Virtual Edition compatibility with Hyper-V hypervisor products...8

Hypervisor guest definition...8

Chapter 2:  Deploying BIG-IP Virtual Edition...9

Deployment of BIG-IP VE on Hyper-V...10

Host machine requirements and recommendations...10

Deploying the BIG-IP VE virtual machine...10

Powering on the BIG-IP VE virtual machine...11

Assigning a management IP address to a BIG-IP VE virtual machine...11

Chapter 3:  Updating a BIG-IP VE Virtual Machine...13

Updating a BIG-IP VE virtual machine...14

Downloading and importing a BIG-IP VE update...14

Installing a BIG-IP VE update...15

Rebooting after a BIG-IP VE update...15

Appendix A: Deployment Best Practices...17

Best practices for deploying BIG-IP VE on Hyper-V...18

Appendix B: Unsupported BIG-IP Features...19

BIG-IP VE unsupported features...20

Appendix C: Troubleshooting BIG-IP Virtual Edition...21

Troubleshooting the BIG-IP Virtual Edition...22

3 Table of Contents

(4)
(5)

Legal Notices

Publication Date

This document was published on August 19, 2013.

Publication Number

MAN-0349-00

Copyright

Copyright©2012-2013, F5 Networks, Inc. All rights reserved.

F5 Networks, Inc. (F5) believes the information it furnishes to be accurate and reliable. However, F5 assumes no responsibility for the use of this information, nor any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent, copyright, or other intellectual property right of F5 except as specifically described by applicable user licenses. F5 reserves the right to change specifications at any time without notice.

Trademarks

3DNS, Access Policy Manager, Acopia, Acopia Networks, Advanced Client Authentication, Advanced Routing, APM, Application Security Manager, ARX, AskF5, ASM, BIG-IP, Cloud Extender, CloudFucious, CMP, Data Manager, DevCentral, DevCentral [DESIGN], DNS Express, DSC, DSI, Edge Client, Edge Gateway, Edge Portal, EM, Enterprise Manager, F5, F5 [DESIGN], F5 Management Pack, F5 Networks, F5 World, Fast Application Proxy, Fast Cache, FirePass, Global Traffic Manager, GTM, IBR, Intelligent Browser Referencing, Intelligent Compression, IPv6 Gateway, iApps, iControl, iHealth, iQuery, iRules, iRules OnDemand, iSession, IT agility. Your way., L7 Rate Shaping, LC, Link Controller, Local Traffic Manager, LTM, Message Security Module, MSM, Netcelera, OneConnect, Packet Velocity, Protocol Security Module, PSM, Real Traffic Policy Builder, ScaleN, SSL Acceleration, StrongBox, SuperVIP, SYN Check, TCP Express, TDR, TMOS, Traffic Management Operating System, TrafficShield, Transparent Data Reduction, VIPRION, vCMP, WA, WAN Optimization Manager, WANJet, WebAccelerator, WOM, and ZoneRunner, are trademarks or service marks of F5 Networks, Inc., in the U.S. and other countries, and may not be used without F5's express written consent.

All other product and company names herein may be trademarks of their respective owners.

Export Regulation Notice

This product may include cryptographic software. Under the Export Administration Act, the United States government may consider it a criminal offense to export this product from the United States.

RF Interference Warning

This is a Class A product. In a domestic environment this product may cause radio interference, in which case the user may be required to take adequate measures.

FCC Compliance

This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This unit generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area

(6)

is likely to cause harmful interference, in which case the user, at his own expense, will be required to take whatever measures may be required to correct the interference.

Any modifications to this device, unless expressly approved by the manufacturer, can void the user's authority to operate this equipment under part 15 of the FCC rules.

Canadian Regulatory Compliance

This Class A digital apparatus complies with Canadian ICES-003.

Standards Compliance

This product conforms to the IEC, European Union, ANSI/UL and Canadian CSA standards applicable to Information Technology products at the time of manufacture.

(7)

Chapter

1

Getting Started with BIG-IP Virtual Edition

(8)

What is BIG-IP Virtual Edition?

BIG-IP®Virtual Edition (VE) is a version of the BIG-IP system that runs as a virtual machine in specifically-supported hypervisors. BIG-IP VE emulates a hardware-based BIG-IP system running a VE-compatible version of BIG-IP®software.

Note: The BIG-IP VE product license determines the maximum allowed throughput rate. To view this rate

limit, you can display the BIG-IP VE licensing page within the BIG-IP Configuration utility. Lab editions have no guarantee of throughput rate and are not supported for production environments.

BIG-IP Virtual Edition compatibility with Hyper-V hypervisor products

BIG-IP®VE is compatible with Microsoft®Hyper-V®Server 2008 R2 host using Hyper-V Manager management software.

Hypervisor guest definition

The Hyper-V virtual machine guest environment for the BIG-IP®VE, at minimum, must include the following:

• 2 x virtual CPUs • 2 GB RAM

• 3 x virtual Tulip-compatible (legacy) network adapters • 1 x 40 GB IDE disk

Important: Not supplying at least the minimum virtual configuration limits will produce unexpected results. Note: For the BIG-IP VE 10.2.2 Lab Edition, Hyper-V is only supported by F5 Networks on Microsoft®

Hyper-V®Server 2008 R2 with management using Microsoft Hyper-V Manager.

There are also some maximum configuration limits to consider for deploying a BIG-IP VE virtual machine, such as:

• CPU reservation can be up to 100 percent of the defined virtual machine hardware. For example, if the hypervisor has a 3 GHz core speed, the reservation of a virtual machine with two CPUs can be only 6 GHz or less.

• RAM reservation can be only 2 GB or 4 GB.

• Virtual disk should be deployed Thick (allocated up front).

(9)

Chapter

2

Deploying BIG-IP Virtual Edition

(10)

Deployment of BIG-IP VE on Hyper-V

To deploy the BIG-IP®VE system on a Microsoft®Hyper-V®, you need to perform the following tasks:

• Verify the host machine requirements.

• Deploy an instance of the BIG-IP system as a virtual machine on a host system. • Power on the BIG-IP VE virtual machine.

• Assign a management IP address to the BIG-IP VE virtual machine.

After you complete these tasks, you can log in to BIG-IP VE system and run the Setup utility. Using the Setup utility, you can perform basic network configuration tasks such as assigning VLANs to interfaces.

Host machine requirements and recommendations

There are specific requirements for the host system on which the BIG-IP VE system can run. To successfully deploy and run the BIG-IP®VE system, the host system must contain the following: • Microsoft®Hyper-V®Server 2008 R2

• Connection to a common NTP source (this is especially important for each host in a redundant system configuration)

Important: The hypervisor CPU must meet the following requirements:

• use 64 bit architecture

• support for virtualization (AMD-V™or Intel®VT-x) must be enabled

• support a one-to-one thread-to-defined virtual CPU ratio, or (on single-threading architectures) support at least one core per defined virtual CPU

• Intel processors must be from the Core (or newer) workstation or server family of CPUs

Deploying the BIG-IP VE virtual machine

The first steps in deploying BIG-IP®VE are to download the Zip file and extract the virtual hard drive (VHD) file, and save it to the server running Hyper-V Server 2008 R2. Next, you configure the virtual machine using Hyper-V Manager and the Settings window.

Important: Do not modify the configuration of the Hyper-V guest environment with settings less powerful

than the ones recommended in this document. This includes the settings for the CPU, RAM, and network adapters. Doing so may produce unexpected results.

1. In a browser, open the F5 Downloads page (https://downloads.f5.com).

2. Download the BIG-IP VE file package ending withvhd.zip.

3. Extract the file from the Zip archive and save it where your VHD files reside on the Hyper-V server.

4. Start Hyper-V Manager, log in to the Hyper-V server, and start the New Virtual Machine Wizard.

5. In the Specify Name and Location pane, type a name for the BIG-IP virtual machine, such as:

smith_10.2.2.1-45. and click Next.

6. In the Assign Memory pane, enter2048and click Next.

7. In the Configure Networking pane, choose Not Connected and click Next.

(11)

8. In the Connect Virtual Hard Disk pane, select the Use an existing virtual hard disk check box, browse to the location where you saved your VHD file, and click Next.

9. In the Summary pane, review your settings and click Finish.

The New Virtual Machine Wizard will close and BIG-IP VE will appear in the list of virtual machines.

10.In the Processor pane, change the Number of logical processors to2and increase the Virtual machine

reserve to100.

11.In the Hardware pane, select the Network Adapter and click Remove. The default network adapter is removed from the virtual machine.

12.In the Add Hardware pane, select Legacy Network Adapter and click Add. Repeat this for a total of three (3) legacy adapters.

a) Click the first Legacy Network Adapter to connect to a maintenance network from the Network list.

b) Click the second Legacy Network Adapter to connect to an external network from the Network list.

c) Click the third Legacy Network Adapter to connect to an internal network from the Network list. Be aware that Hyper-V allows only four legacy network adapters per server, so if you cannot create the minimum of three legacy network adapters for the BIG-IP VE virtual machine, you can release an adapter from another virtual machine.

13.In the Management section, click Automatic Shutdown Action and select Shut down the guest

operating system.

This setting ensures that the BIG-IP VE virtual machine restarts with all previously configured virtual hardware and at the current time.

14.Click OK to save your changes and exit the Setting window.

Powering on the BIG-IP VE virtual machine

You must power on the BIG-IP®VE virtual machine before you can move on to assigning IP addresses.

1. Open the Hyper-V Manager in a web browser.

2. Select the virtual machine that you want to power on.

3. In the Action menu, select Start.

The BIG-IP VE status icon changes to indicate that the VM is on. The BIG-IP VE will boot and become ready for configuration.

Assigning a management IP address to a BIG-IP VE virtual machine

The BIG-IP®VE virtual machine needs an IP address assigned to its virtual management port.

1. In the Hyper-V Manager, locate and highlight the virtual machine running BIG-IP VE.

2. In the Actions pane, choose Connect.

The console window for BIG-IP VE will open.

3. After a few seconds, a login prompt appears.

4. At the password prompt, typedefault.

5. Typeconfigand press Enter.

The F5 Management Port Setup screen appears.

6. Click OK.

11 BIG-IP®Virtual Edition Setup Guide for Microsoft® Hyper-V®

(12)

7. If you want DHCP to automatically assign an address for the management port, click Yes. Otherwise, click No and follow the instructions for manually assigning an IP address and netmask for the management port.

Tip: F5 Networks highly recommends that you specify a default route for the virtual management port, but

it is not required for operation of the BIG-IP VE virtual machine. Deploying BIG-IP Virtual Edition

(13)

Chapter

3

Updating a BIG-IP VE Virtual Machine

(14)

Updating a BIG-IP VE virtual machine

BIG-IP®VE updates are installed in the same manner as updates to BIG-IP software already installed on BIG-IP hardware. You do not need to reinstall BIG-IP VE in the hypervisor guest environment to upgrade your system. To update a BIG-IP VE virtual machine, you can use the Software Management tool in the Configuration utility, or you can upgrade the software from the command line. The following procedure uses the Software Management tool to perform the upgrade. line. The update procedure uses the Software Management tool.

To update the BIG-IP VE system on a Microsoft®Hyper-V®, you perform the following tasks:

• Download and import the version's base and update ISO files. • Install the update on the BIG-IP VE virtual machine.

• Reboot the BIG-IP VE system.

Downloading and importing a BIG-IP VE update

1. In a browser, open the F5 Downloads page (https://downloads.f5.com).

2. Download the version's base ISO file, such as10.2.1, and its associated MD5 checksum file.

Important: The BIG-IP VE base ISO file for the associated hotfix version must be in the

/shared/imagesdirectory of the BIG-IP VE virtual machine before any updates can apply.

3. Download the update ISO file, such asHotfix-BIGIP-10.2.1-511.0-HF3.iso, and its associated MD5 checksum file.

4. Save the four files to the BIG-IP®VE virtual machine in the/shared/imagesdirectory.

Attention: Before you perform the installation, F5 recommends that you test the integrity of the ISO

files to verify that you have downloaded clean copies. Use an MD5 verification program to ensure that the downloaded ISO files checksums match the values in their corresponding MD5 files.

5. On the Main tab, expand System, and click Software Management. The Software Management screen opens.

6. At the right side of the screen, click Import. The Import Software Image screen opens.

7. Click Browse to navigate to the downloaded installation file.

8. When the image name appears in the Software Image field, click Import to begin the operation.

Important: If you navigate away from this screen before the operation completes, the system might not

import the image successfully. Therefore, F5 recommends that you wait for the operation to complete before continuing with any other work on the BIG-IP VE system.

The system presents a progress indicator during the operation.

(15)

Installing a BIG-IP VE update

After you download the software installation image and import the software image to the/shared/images

directory on the BIG-IP®VE system, you can initiate the installation operation. The destination you specify for installation must represent a hard drive volume or partition on the BIG-IP system.

1. On the Main tab of the navigation pane, expand System, and click Software Management. The Software Management screen opens.

2. From the Available Images table, click the link representing the software image you want to install. The image properties screen opens.

3. In the Installation Targets column, select the check box associated with the location where you want to install.

4. Click Install.

The installation confirmation screen opens.

5. To begin the installation operation, click Install. The Installation Status screen opens.

6. To watch the progress of the installation operation, click the Refresh button, or specify a value for the

Auto Refresh setting.

The upgrade process installs the software on the inactive installation location that you specify. This process usually takes between three and seven minutes.

Tip: If there is a problem during installation, you can use log messages to troubleshoot a solution. The

system stores the installation log file as/var/log/liveinstall.log.

When the installation operation is complete, the system removes the refresh options. When that occurs, you can safely reboot the newly installed volume or partition.

Rebooting after a BIG-IP VE update

When the installation operation is complete, the system removes the refresh options. When that occurs, you can safely reboot into the newly installed volume or partition.

1. On the Main tab of the navigation pane, expand System, and click Software Management. The Software Management screen opens.

2. On the menu bar, click Boot Locations. The Boot Locations screen opens.

3. In the Boot Partition column, click the link representing the boot location you want to activate. The properties screen for the boot location opens.

4. Click Activate.

A confirmation screen opens.

5. Click OK to initiate the reboot operation.

The system presents progress messages during the restart operation.

When the BIG-IP®VE system reboot is complete, the system presents the login screen. To configure the system, log in using an account that has administrative permissions.

15 BIG-IP®Virtual Edition Setup Guide for Microsoft® Hyper-V®

(16)
(17)

Appendix

A

Deployment Best Practices

Best practices for deploying BIG-IP VE on Hyper-V

(18)

Best practices for deploying BIG-IP VE on Hyper-V

When deploying BIG-IP®Virtual Edition (VE) on a Hyper-V host, you should follow these best practices.

Recommendation Issue

Run the two units of an active/standby pair on separate physical hosts by manually creating a virtual machine (VM) peer on each host.

Redundant system configuration

BIG-IP®VE is deployed with the hypervisor's default

resource settings. The CPU reservation can be up to 100 percent of the defined virtual machine reserve. Resource reservations

(19)

Appendix

B

Unsupported BIG-IP Features

(20)

BIG-IP VE unsupported features

BIG-IP®VE does not support the following BIG-IP system or hypervisor features.

The following BIG-IP®features are not supported by BIG-IP®VE. • Optional BIG-IP system modules, such as:

• WebAccelerator™ • Bridging protocols, such as:

• Spanning Tree Protocol (STP) • Rapid Spanning Tree Protocol (RSTP) • Multiple Spanning Tree Protocol (MSTP) • Link Aggregation Control Protocol (LACP) • Hard-wired failover

• Federal Information Processing Standards (FIPS) 140-2

(21)

Appendix

C

Troubleshooting BIG-IP Virtual Edition

(22)

Troubleshooting the BIG-IP Virtual Edition

If you have followed the setup procedures in this document, BIG-IP®VE should be working correctly with the hypervisor. However, because BIG-IP VE emulates BIG-IP hardware running in a virtual environment, you might encounter some issues as you try new configurations for BIG-IP VE that are outside the scope of this setup guide or altogether not supported in BIG-IP VE with certain hypervisor environments. Use the following troubleshooting information to solve problems and learn of limitations that you might encounter with BIG-IP VE.

Hyper-V default Automatic Stop Action causes logged data time stamp inaccuracies

The default Hyper-V setting for Automatic Stop Action, Save the virtual machine state, saves the frozen virtual machine's state to disk. When thawed, the machine state is at the exact moment it was when frozen and not at the current time. To change the default setting, in Hyper-V Manager, select the virtual machine (VM) hosting BIG-IP VE, open the Management Settings category in the Settings popup, and change Automatic Stop Action to Shut down the guest operating system.

Virtual network interface status is wrong

The BIG-IP VE system reports the status of host-only network interfaces as UNINITIALIZED, even though the interface is functioning normally.

Auto-licensing and the default management route

If you have not defined a default route to the management port, the default interface1.1is used, which does not work. To prevent this from occurring, verify that you have defined a default route for the management port before attempting to activate a license.

BIG-IP licensing and User Configuration Sets

When you import a User Configuration Set (UCS) from another BIG-IP or BIG-IP VE system, the system overwrites the local license with the license contained in the UCS. To work around this issue, you can re-license the local system after importing the UCS by accessing a backup copy of the license file, located in/config/bigip.license.bak. Also, when importing a UCS, you should ensure that the host names of the two systems differ. When the host names differ, the system correctly imports only the configuration data that is common to both the originating platform and the target platform. If the host names match, the system attempts to import all of the UCS configuration data, which can cause the import process to fail.

Editing the virtual guest configuration

F5 Networks strongly recommends that you do not edit the virtual configuration of BIG-IP VE, except for the virtual network interface mappings.

SSL::sessionid iRule command

TheSSL::sessionidcommand within an iRule returns a blank value with BIG-IP VE.

Errors when using the bigpipe import command

Use of theb import defaultcommand can generate Security Enhanced Linux (SELinux) errors. You can ignore these errors.

Use of SNMP OID for RMON tables

Setting the source OID for RMON alarm, event, and history tables generates an error message. This OID will be disabled in future releases.

Media speed messages in log file

When starting the BIG-IP VE system or when removing an interface from a VLAN, the system logs media-related messages to the file/var/log/ltm. You can ignore these messages.

(23)

Exiting the shell at a MOS bash prompt

When you typeexitat a Maintenance Operating System (MOS) prompt, the system appears unresponsive. Use the hypervisor's reset controls, or power off and power on the BIG-IP VE virtual machine to restore functionality.

Importing a UCS from the BIG-IP Virtual Edition Trial

When you import a UCS from the BIG-IP Virtual Edition Trial, the system displays an error message. You can ignore this message.

The virtual switch clears the QoS field in 802.1q headers

A hypervisor's Layer 2 bridging device might remove quality of service (QoS) classification from packets.

23 BIG-IP®Virtual Edition Setup Guide for Microsoft® Hyper-V®

(24)
(25)

Index

802.1q headers and QoS field, troubleshooting22

A

active/standby configuration18 auto-licensing, troubleshooting22 Automatic Shutdown Action10

Automatic Stop Action, troubleshooting22

B

best practices

for deployment18

for redundant system configuration18 BIG-IP import command, troubleshooting22 BIG-IP system modules, unsupported20 BIG-IP Virtual Edition

and Hyper-V host machine requirements10 updating14

bridging protocols, unsupported20

C

configuration, editing virtual22 CPU

and best practices for18 and guest definition8

and host machine requirements10 deploying BIG-IP VE virtual machine10

D

default route for virtual management port11 deployment overview10

downloads

and importing update14 of ISO base file14 of ISO update file14

E

environment, for guest8

F

failover, hard-wired unsupported20 FIPS, unsupported20

G

guest environment8

H

hard-wired failover, unsupported20 host machine, CPU requirements10

Hyper-V, and compatible versions8 hypervisor, See guest environment. hypervisor guest definition8 Hyper-V virtual machine

creating10

I

import command, troubleshooting bigpipe import errors22 installation

rebooting after15 installation operation15

IP address, management port11

iRule, troubleshooting sessionid command for SSL22 ISO file

and location on virtual machine14 downloading14

downloading base ISO file14 downloading update ISO file14

L

LACP protocol, unsupported20 Layer 2, troubleshooting22 Legacy Network Adapter

adding10

license for BIG-IP system, troubleshooting22 log file

and location15, 22

and media speed messages15, 22 log in

after updating15

assigning management IP address11 deploying BIG-IP VE virtual machine10

M

management port IP address, assigning11 maximum allowed throughput rate8

media speed messages in log file, troubleshooting22 MOS bash prompt exiting shell, troubleshooting22 Multiple Spanning Tree Protocol (MSTP), unsupported20

P

power-on procedure, virtual machine11 product license8

progress indicator, for update14 protocols troubleshooting22 unsupported20

Q

QoS, troubleshooting22 25 Index

(26)

R

Rapid Spanning Tree Protocol (RSTP), unsupported20 reboot operation

after updating15

redundant system configuration and host machine requirements10 and NTP requirement10

deploying18 resource reservations18

RMON tables and SNMP OID, troubleshooting22

S

setup utility10

SNMP OID for RMON tables, troubleshooting22 spanning tree protocols, unsupported20

SSL, troubleshooting sessionid command in iRule22 system reboot, See reboot operation.

system update procedure14

T

task list

for deploying on Hyper-V10 for deploying on virtual machine10

task list (continued)

for updating on Hyper-V14 for updating on virtual machine14 time errors, See Automatic Stop Action. troubleshooting22

U

UCS importing from BIG-IP Virtual Edition Trial, troubleshooting 22

unsupported features20 update

downloading and importing14 installing15

update progress indicator14

user configuration sets for licensing BIG-IP system, troubleshooting22

V

VHD file10

virtual configuration, and hypervisor guest definition8 virtual guest configuration, editing, troubleshooting22 virtual machine settings8

virtual management port11

virtual network interface status, troubleshooting22

References

Related documents

If your backup software is VSS-enabled, Hyper-V forwards a request to each virtual machine when you request a backup of a virtual machine on the Hyper-V host server; if the

To work around this issue, ensure that each virtual network adapter has a static MAC address by editing the settings of the virtual machine in

Also, in the Microsoft Windows Hyper-V 2008 Discovery Management Pack is the following discovery for a Hyper-V 2008 Virtual Machine that the Free Disk Space Collection Rule in the

l Create the FortiGate VM virtual machine l Configure FortiGate VM hardware settings l High Availability Hyper-V configuration l Start the FortiGate VM4. Create the FortiGate VM

Virtual Memory Virtual Machine Name Local Hyper-V Dashboard Microsoft Hyper-V Server Enterprise Dashboard Enterprise Hyper-V Details Local Hyper-V Dashboard Node Name Local

Citrix Essentials for Microsoft Hyper-V extends the management capabilities of Hyper-V and System Center Virtual Machine Manager giving Microsoft customers a scalable, advanced

5nine Security 3.0 for Hyper-V Datacenter Edition Plugin for Microsoft System Center 2012 Virtual Machine Manager is a program module designed to allow managing Security Manager

5nine Manager for Hyper-V is a virtual infrastructure management tool, joining standard Hyper-V manager functions and virtual network management tools.. 5nine Manager for