Start a Conversation

Unsolved

This post is more than 5 years old

2962

June 4th, 2015 08:00

OSMVDiskImage and firewall?

​OSMVDiskImage and firewall?​

​In the past, I have successfully pulled images from reference devices to a non-firewalled WSM server using OSMVDiskImage. I am now trying to pull images to a firewalled server, and am having some troubles.​

​I have made sure that all the ports outlined in the admin guide are opened in the firewall. When I start OSMVDiskImage, I get an error message after a minute or so that the client couldn't connect with the server. The strange thing, however, is that an image file does get created in the osimages folder (although I'm reluctant to use it, as I don't know if it's corrupted/incomplete)!​

​My guess is that OSMVDiskImage uses different ports for a) pulling the image and b) for communicating status updates, and that our firewall is allowing traffic from the former but not the latter.​

​If anyone has dealt with this before and has any suggestions, I'd be most appreciative!​

​Below is a sample of the OSMVDiskImage log file. Note the "WARNING: SendRecvPacket:: timeout on waiting for response (3 sec ), retrying" messages toward the end.​

​Code:​

​*** Creating vdisk image...*** 11012012 [08:55:43:718] [ 984] DEBUG: FindVolumeNameFromSigNOffset(signature 0xfa9f1b6c, offset 0x7e00) 11012012 [08:55:43:718] [ 984] DEBUG: found match! 11012012 [08:55:43:718] [ 984] DEBUG: volumeGUID is Volume{49c144ee-1162-11e2-a241-806d6172696f} 11012012 [08:55:43:718] [ 984] DEBUG: found match! 11012012 [08:55:43:718] [ 984] DEBUG: DrvLetter is c 11012012 [08:55:43:718] [ 984] INFO: Boot volume is c: (Volume{49c144ee-1162-11e2-a241-806d6172696f}) 11012012 [08:55:43:718] [ 984] INFO: System volume is c: (Volume{49c144ee-1162-11e2-a241-806d6172696f}) 11012012 [08:55:43:718] [ 984] DEBUG: CAdminConnection::CAdminConnection() - this = 0036FE18 11012012 [08:55:43:718] [ 984] INFO: Setting up socket... 11012012 [08:55:43:718] [ 984] INFO: *** *** *** *** *** *** *** 11012012 [08:55:43:718] [ 984] INFO: CAdminConnection::Setup(192.168.1.6, 6911, 192.168.1.127, 6901, 10, 0) 11012012 [08:55:43:718] [ 984] DEBUG: CAdminSocket::Init(6911, 192.168.1.6, 6901, 192.168.1.127) 11012012 [08:55:43:718] [ 984] DEBUG: CAdminSocket - m_hSocket = 000000E0 11012012 [08:55:43:718] [ 984] INFO: Creating initial connection with server... 11012012 [08:55:43:718] [ 984] INFO: CreateInitialConnection()... 11012012 [08:55:43:718] [ 984] DEBUG: Attempt 0 >> 11012012 [08:55:43:718] [ 984] DEBUG: STATUS_IOS_NOT_CONNECTED 11012012 [08:55:43:718] [ 984] DEBUG: select(tv.sec = 10) returns 1 11012012 [08:55:43:718] [ 984] DEBUG: got RP_IOS_OPEN_CONNECTION_REQUIRED from server 11012012 [08:55:43:718] [ 984] DEBUG: Attempt 0 >> 11012012 [08:55:43:718] [ 984] DEBUG: STATUS_IOS_CONNECTION_REQUIRED 11012012 [08:55:43:734] [ 984] DEBUG: select(tv.sec = 10) returns 1 11012012 [08:55:43:734] [ 984] DEBUG: got RP_IOS_OPEN_CONNECTION from server 11012012 [08:55:43:734] [ 984] DEBUG: Attempt 1 >> 11012012 [08:55:43:734] [ 984] DEBUG: STATUS_IOS_CONNECTED 11012012 [08:55:43:734] [ 984] INFO: bFailed = 0; bEstablished = 1) 11012012 [08:55:43:734] [ 984] INFO: CreateInitialConnection returns 1 11012012 [08:55:46:968] [ 984] INFO: Users Profile directory (C:\documents and settings\) is 735 MB. 11012012 [08:55:46:968] [ 984] INFO: Getting server disk info... 11012012 [08:55:46:984] [ 984] DEBUG: CAdminConnection::GetDiskInfo()... 11012012 [08:55:47:234] [ 984] INFO: IOS response job done 11012012 [08:55:47:234] [ 984] DEBUG: CAdminConnection::GetDiskInfo()... 11012012 [08:55:47:484] [ 984] INFO: IOS response job done 11012012 [08:55:47:484] [ 984] INFO: BootDir Size = 11118 MB. 11012012 [08:55:47:500] [ 984] INFO: FOUND PagingFiles registry = c:\pagefile.sys 2046 4092, attempting to read min/max sizes. 11012012 [08:55:47:500] [ 984] INFO: Found Page file min (2046) and max (4092) 11012012 [08:55:47:500] [ 984] INFO: m_dwCurrentPageFileMB = 2046 MB, m_dwPageFileMB = 4092 MB 11012012 [08:55:47:500] [ 984] INFO: Optimal Disk Size is 14399 MB, Min Disk Size is 12353 MB. 11012012 [08:56:08:593] [ 984] DEBUG: Validating Vdisk image requirements... 11012012 [08:56:08:593] [ 984] DEBUG: completed. 11012012 [08:56:08:593] [ 984] INFO: RemoveVDiskInfoFromLastRound() 11012012 [08:56:08:593] [ 984] DEBUG: Creating Vdisk image file... 11012012 [08:56:08:609] [ 460] INFO: CreateVDiskThread(pAdmin = 0036FE18)... 11012012 [08:56:08:609] [ 460] INFO: newDisk=1; diskSize=14399MB; diskName=public_xp; partCount=1 11012012 [08:56:08:609] [ 460] INFO: Part0 size = 14399MB 11012012 [08:56:21:609] [ 460] WARNING: SendRecvPacket:: timeout on waiting for response (3 sec ), retrying 11012012 [08:56:24:609] [ 460] WARNING: SendRecvPacket:: timeout on waiting for response (3 sec ), retrying 11012012 [08:56:27:609] [ 460] WARNING: SendRecvPacket:: timeout on waiting for response (3 sec ), retrying 11012012 [08:56:30:609] [ 460] WARNING: SendRecvPacket:: timeout on waiting for response (3 sec ), retrying 11012012 [08:56:30:609] [ 460] ERROR: SendRecvPacket:: TIMEOUT 11012012 [08:56:30:609] [ 460] ERROR: IOS_ADMIN_JOB_STATE_UNKNOWN 11012012 [08:56:31:625] [ 984] DEBUG: ERROR: Failed to create VDisk. 11012012 [08:56:31:625] [ 984] DEBUG: Fail to send/receive packet 11012012 [08:56:31:625] [ 984] DEBUG: CAdminConnection::~CAdminConnection() - this = 0036FE18, socket handle = 000000E0 11012012 [08:56:31:640] [ 984] DEBUG: CAdminConnection::~CAdminConnection() - socket closed​

9 Posts

June 4th, 2015 09:00

Thanks (as always!)! Looks like we got everything set correctly. No problems now.

200 Posts

June 4th, 2015 09:00

This is an excerpt of the inbound Firewall rules of a WS2008R2 set by the WSM installer:

Name Group Profile Enabled Action Override Program Local Address Remote Address Protocol Local Port Remote Port Allowed Users Allowed Computers
WSM Application Authentication Service All Yes Allow No C:\Program Files (x86)\Wyse\WSM\app\slimserver.exe Any Any Any Any Any Any Any
WSM Application Streaming Service All Yes Allow No C:\Program Files (x86)\Wyse\WSM\app\appserver.exe Any Any Any Any Any Any Any
WSM Appmap Service All Yes Allow No C:\Program Files (x86)\Wyse\WSM\app\appmap.exe Any Any Any Any Any Any Any
WSM Content Distribution Service All Yes Allow No Any Any Any TCP 20248 Any Any Any
WSM DHCP Proxy Service All Yes Allow No Any Any Any UDP 67 Any Any Any
WSM Monitor Service All Yes Allow No C:\Program Files (x86)\Wyse\WSM\app\Monitor.exe Any Any Any Any Any Any Any
WSM Multicast Boot Service All Yes Allow No C:\Program Files (x86)\Wyse\WSM\os\OSMAbs.exe Any Any Any Any Any Any Any
WSM OS Authentication Service All Yes Allow No C:\Program Files (x86)\Wyse\WSM\os\VldLs.exe Any Any Any Any Any Any Any
WSM OS Streaming Service All Yes Allow No C:\Program Files (x86)\Wyse\WSM\os\VldIos.exe Any Any Any Any Any Any Any
WSM TFTP Service All Yes Allow No Any Any Any UDP 69 Any Any Any

There are no outbound rules configured.
Please configure your server accordingly and try again.

No Events found!

Top