Install Guide EXOS VM VirtualBox
-
Upload
alexander-garcia -
Category
Documents
-
view
269 -
download
0
Transcript of Install Guide EXOS VM VirtualBox
-
7/25/2019 Install Guide EXOS VM VirtualBox
1/13
Creating and Usingthe EXOS Virtual
Switch in Oracle
Virtual Box
Name Versio
n
Comments
MHELM 0.2 Refreshing a rather old application note
-
7/25/2019 Install Guide EXOS VM VirtualBox
2/13
Table of Contents
1. Introduction & Purpose......................................................................................3
2. Donloading and Preparing !"#.......................................................................3
3. $reating an %Host!nl'% (etor) in !"#...........................................................*
*. $reating and using an E+!, "M........................................................................-
-. (etor)ing ith the E+!, "M in !"#...............................................................
/. $aeats...........................................................................................................11
-
7/25/2019 Install Guide EXOS VM VirtualBox
3/13
h e E + ! , " M i n ! " #
P a g e 3
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
4/13
h e E + ! , " M i n ! " #
P a g e
!" #ntroduction $ %ur&ose
his guide proides instructions for creating and using the E+!, "M 4irtualsitch5 ithin !racle "irtual #o6. !racle "irtual #o6. 7ro8 the !"# online8anual9
%"irtual#o6 is a crossplatfor8 irtuali:ation application. ;hat does that8ean< 7or one thing= it installs on 'our e6isting Intel or >MD?asedco8puters= hether the' are running ;indos= Mac= Linu6 or ,olarisoperating s'ste8s. ,econdl'= it e6tends the capa?ilities of 'our e6isting
co8puter so that it can run 8ultiple operating s'ste8s 4inside 8ultipleirtual 8achines5 at the sa8e ti8e. ,o= for e6a8ple= 'ou can run ;indosand Linu6 on 'our Mac= run ;indos ,erer 200@ on 'our Linu6 serer= runLinu6 on 'our ;indos P$= and so on= all alongside 'our e6istingapplications. Aou can install and run as 8an' irtual 8achines as 'ou li)e the onl' practical li8its are dis) space and 8e8or'.%
he E+!, irtual sitch can ?e used to ?uild a netor) ithin !"# ?' hich"Ms can ?e interconnected. $o8plete netor) topologies can ?e created.his is e6tre8el' alua?le in that netor) conBgurations and protocols can?e tested thoroughl' ithout the need for an' ph'sical eCuip8ent.
'" (ownloading and %reå OVB
7ind and donload !racle "irtual #o6 fro8 here9https9.irtual?o6.orgi)iDonloads
!racle "irtual #o6 ?est functions ith the addition of the E6tension Pac). oinstall the !"# E6tension Pac)= donload it 4per the lin) a?oe5 and theninstall it as follos9
1. ,tart up !"#2. Enter the Preferences dialog3. Enter the E6tensions dialog*. $lic) on the >dd Pac)age ?utton-. ,elect the E6tension pac) Ble 4e.g.
!racle"M"irtual#o6E6tensionPac)-.0.2010/31.?o6e6tpac)5/. >ccept the er8s and $onditions
0-0*201/
https://www.virtualbox.org/wiki/Downloadshttps://www.virtualbox.org/wiki/Downloads -
7/25/2019 Install Guide EXOS VM VirtualBox
5/13
h e E + ! , " M i n ! " #
P a g e )
. $lic) !F.
3" Creating an *+ost,Onl-* Networ. in OVB
Prepare !"# for the Goutof?and 8anage8ent of E+!, "Ms as follos9
1. Enter the Preferences dialog2. Enter the (etor) dialog
3. ,elect the Hostonl' (etor)s ta?*. $lic) on the >dd Host!nl' (etor)
?utton
-. ,elect the ne Host!nl' (etor)
>dapter/. $lic) on the Edit Host!nl' (etor) ?utton
. In the >dapter dialog= deter8ine an
uniCue su?net 4one not used ?' an'
other adapter on 'our host5 and gie
the Host!nl' (etor) >dapter an
appropriate uniCue IP address and
8as) in that su?net.
@. Enter the DH$P ,erer ta?dialog and
unchec) the ?o6 for the serer
disa?ling it.
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
6/13
h e E + ! , " M i n ! " #
P a g e /
" Creating and using an EXOS V0
et the latest E+!, .iso Ble fro8 'our E6tre8e ,E 4E.g. 821.1.1.*patch12.iso5.
$reate an E+!, "M ith the folloing steps9
1. $lic) the %(e% I$!(.
2. $hoose %Linu6% for 'pe.
3. $hoose %!ther Linu6 432?it5% for"ersion.
*. 'pe a na8e in the (a8e Beld 4e.g.
%6210%5 and clic) $ontinue.
-. ,et the 8e8or' si:e to ?e 2-/M#and clic) $ontinue.
/. ,elect %$reate a irtual hard drie
no% and clic) $reate.
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
7/13
h e E + ! , " M i n ! " #
P a g e 1
. ,elect "DI and clic) $ontinue.
@. ,elect %7i6ed si:e% and clic)
$ontinue.
. 'pe in 2-/M# in the si:e Beld
and clic) $reate.
10.Dou?le clic) on the nel' created ?ut poered oJ irtual 8achine thatshould appear in the left fra8e in the !racle "M "irtual #o6 Manager indo.
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
8/13
h e E + ! , " M i n ! " #
P a g e 2
11.,elect the E+!, "M .iso Ble and
clic) ,tart.
12.>t this point= the E+!,
irtual 8achine indo
should launch and there ill
?e a pro8pt to erase and
for8at the %E6ternal Me8or'
$ard%. 'pe %'% and hit
Return.
13.;hen the for8atting process Bnishes and the pro8pt
reads %press E(ER to re?oot%= do nothit enter= ?ut
instead close the indo and choose the option to
%Poer oJ the 8achine% and clic) !F.
1*.,elect the ne "M in the left fra8e in the !racle "M "irtual
#o6 Manager indo and clic) ,ettings.
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
9/13
h e E + ! , " M i n ! " #
P a g e
1-.$lic) on the ,torage ta? ithin
the "MKs settings indo selectthe .iso %optical drie% in the
storage tree dialog on the left
and clic) the Re8oe 8edia icon
at the ?otto8 and then clic) the
Re8oe ?utton.
1/.!ptionall'= clic) the >udio ta?
and deselect the %Ena?le >udio%
chec) ?o6.
1.$lic) the (etor) ta? and then
on the %>dapter 1% su?ta?
ido= using the %>ttached to9%
dropdon list select the %Host
onl' >dapter% option. $lic) on
>danced and change the
Pro8iscuous Mode to %>llo >ll%.
[email protected]?le and change the ne6t
three adapters to %Internal
(etor)% giing each a uniCue
na8e 4e.g. I101= I102= and I103
respectiel'5= and change the
Pro8iscuous Mode on all three to%>llo >ll%.
1.Lastl'= clic) !F.
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
10/13
h e E + ! , " M i n ! " #
P a g e !4
20.he E+!, "M is no read'. o start it= dou?le clic) on it again ithin the left
fra8e in the !racle "M "irtual #o6 Manager indo.
he E+!, "M is the sa8e as an' E+!, sitch. he default ad8inistratorKs login is
%ad8in% ith no passord. he Brst adapter= in the Host!nl' netor)= is the %out
of?and% 8anage8ent port associated ith the MM "L>( and "RMM.
he "M can ?e upgraded to a later E+!, i8age 4e.g. 821.1.1.*patch12.6os5
through an' "L>( ith an IP= ?ut in this case= it ould pro?a?l' ?e ?est to use the
MM "L>(= hich= once assigned the proper IP= should ?e a?le to co88unicate
ith the Host!nl' interface on the host.
>s of E+!, 21.1 there is no separate ,,H +M!D= ?ut for E+!, "Ms ith ersion 1/.6
and ?elo there is an ,,H +M!D aaila?le.
Lastl'= li)e an' E+!, sitch= one can license the E+!, "M for an' softare
capa?ilit' using the trial license ia the %de?ug ep8 ena?le triallicense% co88and.
)" Networ.ing with the EXOS V0 in OVB
he E+!, "M can hae up to @ netor) adapters or %ports%= the Brst of hich= as
8entioned a?oe= is the MM port. he Brst four are accessi?le for conBguration
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
11/13
h e E + ! , " M i n ! " #
P a g e !!
through the ,ettings I ithin the !"# 8anager. he re8aining adaptersports
8ust ?e conBgured through %?o68anage% shell co88ands.
Here is an e6a8ple of a conBguration for the -th
adapter 4port * fro8 the $LI of theirtual E+!, sitch59
vboxmanage modifyvm x201 --nic5 intnet
vboxmanage modifyvm x201 --macaddress5 000496F201F5
vboxmanage modifyvm x201 --cableconnected5 on
vboxmanage modifyvm x201 --intnet5 l14
vboxmanage modifyvm x201 --nicpromisc5 allow-all
he 8ain settings of an adapter that are of interest are the pro8iscuous 8ode 4
nicpro8isc5 hich should ?e set to alloall= and the internal netor) na8e 4
intnet5.
>n internal netor) is ?asicall' an isolated seg8ent. >dapters on an internalnetor) ith the sa8e na8e share that seg8ent. o %connect% a port on one E+!,
"M sitch to a port on another E+!, "M sitch= si8pl' gie the adapters the sa8e
internal netor) na8e. #elo to sitches share the sa8e internal netor) na8e
for their 2ndadapter. he' are a?le to detect each other ia EDP.
It should ?e noted= that if one disa?les a port fro8 the $LI of an E+!, "M= the port
on another "M sharing the sa8e internal netor) ith the disa?led port ill not
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
12/13
h e E + ! , " M i n ! " #
P a g e !'
sho as %don%. Instead= the internal adapters on ?oth sitches ould need to ?e
disa?led to sho ?oth ports as %don% si8ultaneousl'.
,hell scripting proides a conenient a' conBgure E+!, "M adapters and possi?l'to create irtual netor)s. he folloing PERL script creates andor 8odiBes the
nonMM ports on a series of E+!, "Ms na8ed G6201= G6202= etc. hen its
output is piped into a shell.
$ cat vnicpl
!"#sr#bin#perl
my $i % 2&
my $' % 1&
my $p % 201&
my $n % $p - 200&
w(ile )$p * 210+ ,
$i % 2&
w(ile )$i * 9+ ,
$' % $i - 1&
print vboxmanage modifyvm x$p --nic$i intnet.n&
print vboxmanage modifyvm x$p --macaddress$i 000496F$p&
print F$i.n&
print vboxmanage modifyvm x$p --cableconnected$i on.n&
$n % $p - 200&
print vboxmanage modifyvm x$p --intnet$i l$n&
print $'.n&
print vboxmanage modifyvm x$p --nicpromisc$i allow-all.n&
$i % $i / 1&
$p % $p / 1&
$ perl vnicpl s(
,i8ilar scripting could ?e used for a group of E+!, "Ms here?' theirinterconnections are created to for8 a speciBc netor) topolog'.
/" Ca5eats
$ertain features do not or)
ell on the E+!, "M due to
their relation to the
capa?ilities of the underl'ing
hardare.
7or instance= hile port
sharing 4L>5 or)s using
L>$P= it onl' can use the
roundro?in loadsharing
0-0*201/
-
7/25/2019 Install Guide EXOS VM VirtualBox
13/13
h e E + ! , " M i n ! " #
P a g e !3
algorith8= that is= the address?ased algorith8s are not aaila?le and L>$P is
reCuired.
>tte8pts to get !pen7lo or)ing ia the !pen7lo +M!D end ?adl' 4i.e. the E+!,"M crashes i88ediatel' ith the Brst install8ent of a o5.
Lastl'= hile >$Ls and >$L counters appear to or) as e6pected= $lear7lo does
not or) despite ?eing conBgura?le.
0-0*201/