[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] how to enable bridge networking in condor vm universe



already tried this parameters but no help yet.

the job submit file is :

Universe                        = vm
Executable                      = Scenario1
Log                             = Scenario1.log
vm_type                         = vmware
vm_memory                       = 256
vm_networking                   = true
vm_networking_type              = bridge
vmware_dir                      = /var/lib/vmware/Virtual Machines/Fedora/
vmware_should_transfer_files    = yes
Queue

the ClassAd of the system where the VM universe is enabled:

[condor@aow5grid ~]$ condor_status -l aow4grid
MyType = "Machine"
TargetType = "Job"
Name = "aow4grid.uab.es"
Rank = 0.000000
CpuBusy = ((LoadAvg - CondorLoadAvg) >= 0.500000)
SlotWeight = Cpus
Unhibernate = MY.MachineLastMatchTime =!= UNDEFINED
MyCurrentTime = 1309261470
Machine = "aow4grid.uab.es"
PublicNetworkIpAddr = "<158.109.65.138:52010>"
COLLECTOR_HOST_STRING = "aow4grid.uab.es"
CondorVersion = "$CondorVersion: 7.4.4 Oct 13 2010 BuildID: 279383 $"
CondorPlatform = "$CondorPlatform: I386-LINUX_RHEL3 $"
SlotID = 1
VirtualMachineID = 1
ExecutableSize = 0
JobUniverse = 13
NiceUser = FALSE
VirtualMemory = 1052192
TotalDisk = 4833276
Disk = 4833276
CondorLoadAvg = 0.080000
LoadAvg = 0.080000
KeyboardIdle = 37803
ConsoleIdle = 43812
Memory = 1518
Cpus = 1
StartdIpAddr = "<158.109.65.138:52010>"
Arch = "INTEL"
OpSys = "LINUX"
UidDomain = "uab.es"
FileSystemDomain = "uab.es"
HasIOProxy = TRUE
CheckpointPlatform = "LINUX INTEL 2.6.x normal 0x40000000"
TotalVirtualMemory = 1052192
TotalCpus = 1
TotalMemory = 1518
KFlops = 613095
Mips = 1423
LastBenchmark = 1309217666
TotalLoadAvg = 0.080000
TotalCondorLoadAvg = 0.080000
ClockMin = 824
ClockDay = 2
TotalSlots = 1
TotalVirtualMachines = 1
HasFileTransfer = TRUE
HasPerFileEncryption = TRUE
HasReconnect = TRUE
HasMPI = TRUE
HasTDP = TRUE
HasJobDeferral = TRUE
HasJICLocalConfig = TRUE
HasJICLocalStdin = TRUE
JavaVendor = "Sun Microsystems Inc."
JavaVersion = "1.6.0_23"
JavaSpecificationVersion = "1.6"
JavaMFlops = 208.942429
HasJava = TRUE
HasRemoteSyscalls = TRUE
HasCheckpointing = TRUE
StarterAbilityList = "HasFileTransfer,HasPerFileEncryption,HasReconnect,HasMPI,HasTDP,HasJobDeferral,HasJICLocalConfig,HasJICLocalStdin,HasJava,HasVM,HasRemoteSyscalls,HasCheckpointing"
HasVM = TRUE
VM_AvailNum = 0
VM_GAHP_VERSION = "0.0.1"
VM_Type = "vmware"
VM_Memory = 0
VM_Networking = TRUE
VM_Networking_Types = "bridge"
VM_All_Guest_Macs = "00:0c:29:12:28:ae"
HibernationLevel = 0
HibernationState = "NONE"
HibernationSupportedStates = "S4"
CanHibernate = TRUE
HardwareAddress = "00:04:75:98:5a:83"
SubnetMask = "255.255.240.0"
IsWakeOnLanSupported = FALSE
IsWakeOnLanEnabled = FALSE
IsWakeAble = FALSE
WakeOnLanSupportedFlags = "NONE"
WakeOnLanEnabledFlags = "NONE"
CpuBusyTime = 0
CpuIsBusy = FALSE
TimeToLive = 2147483647
State = "Claimed"
EnteredCurrentState = 1309218529
Activity = "Busy"
EnteredCurrentActivity = 1309218529
TotalTimeOwnerIdle = 8
TotalTimeUnclaimedIdle = 863
TotalTimeClaimedBusy = 42941
Start = TRUE
Requirements = (START) && (IsValidCheckpointPlatform)
IsValidCheckpointPlatform = (((TARGET.JobUniverse == 1) == FALSE) || ((MY.CheckpointPlatform =!= UNDEFINED) && ((TARGET.LastCheckpointPlatform =?= MY.CheckpointPlatform) || (TARGET.NumCkpts == 0))))
MaxJobRetirementTime = 0
LastFetchWorkSpawned = 0
LastFetchWorkCompleted = 0
NextFetchWorkDelay = -1
CurrentRank = 0.000000
RemoteUser = "condor@xxxxxx"
RemoteOwner = "condor@xxxxxx"
ClientMachine = "aow5grid.uab.es"
JobId = "519.0"
GlobalJobId = "aow5grid.uab.es#519.0#1309261589"
JobStart = 1309218529
LastPeriodicCheckpoint = 1309254358
ImageSize = 289208
VM_Guest_Mac = "00:0c:29:12:28:ae"
VM_Guest_Mem = 256
JobVM_VCPUS = 1
TotalJobRunTime = 42941
TotalClaimRunTime = 42941
MonitorSelfTime = 1309261346
MonitorSelfCPUUsage = 0.079176
MonitorSelfImageSize = 9440.000000
MonitorSelfResidentSetSize = 4328
MonitorSelfAge = 0
MonitorSelfRegisteredSocketCount = 2
DaemonStartTime = 1309217644
UpdateSequenceNumber = 147
MyAddress = "<158.109.65.138:52010>"
LastHeardFrom = 1309261470
UpdatesTotal = 148
UpdatesSequenced = 147
UpdatesLost = 0
UpdatesHistory = "0x00000000000000000000000000000000"


but still there is no networking.
-Arindam


-----Original Message----- From: Rob Rati
Sent: Tuesday, June 28, 2011 9:40 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] how to enable bridge networking in condor vm universe

Take a look here:
http://www.cs.wisc.edu/condor/manual/v7.6/3_3Configuration.html#SECTION004329000000000000000

Specifically, look at the VM_NETWORKING params like
VM_NETWORKING_BRIDGE_INTERFACE.

Rob

On Mon, 2011-06-27 at 17:00 +0200, Arindam Choudhury wrote:
Hi,

I have configured Condor VM Universe:
[condor@aow5grid ~]$ condor_version
$CondorVersion: 7.4.4 Oct 13 2010 BuildID: 279383 $
$CondorPlatform: I386-LINUX_RHEL3 $
[condor@aow5grid ~]$ condor_status -vm

Name               VMType Network    State     Activity LoadAv VMMe
ActvtyTime    VMNetworking

aow4grid.uab.es    vmware bridge     Claimed   Busy     0.010   256  0
+03:17:49
                     Total Owner Claimed Unclaimed Matched Preempting
Backfill

         INTEL/LINUX     1     0       1         0       0          0
0

               Total     1     0       1         0       0          0
0
[condor@aow5grid ~]$
 I used this submit file to submit a virtual machine:
Universe                            = vm
Executable                        = Scenario1
Log                                    = Scenario1.log
vm_type                            = vmware
vm_memory                      = 256
vm_networking                 = true
vmware_dir                       = /var/lib/vmware/Virtual
Machines/Fedora/
vmware_should_transfer_files    = Yes
Queue
the virtual machine job is running well but without any networking.
how to enable the networking? I want enable bridge networking.

-Arindam

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/



_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/