Forum Discussion
Problems load balancing printing
Here is the configuration I used for a customer to load balance windows print servers. There are additional steps to configure on the windows server, included below. The customers servers default gateway was the F5 in this example.
Let me know if you have additional questions.
profile persist printserver_wpt_wildcard_srcaddr {
defaults from source_addr
mode source addr
mask 255.255.255.255
across services enable
}
profile fastL4 printserver_wpt_wildcard_fastl4 {
defaults from fastL4
tcp close timeout 51
loose close enable
}
monitor printserver_wpt_wildcard_tcp_monitor {
defaults from tcp
interval 10
timeout 31
dest *:printer
}
pool es_printserver_wpt_wildcard_pool {
action on svcdown reselect
monitor all printserver_wpt_wildcard_tcp_monitor
members {
x.x.217.33:any {}
x.x.217.34:any {}
}
}
virtual es_printserver_wpt_wildcard_vs {
translate address disable
translate service disable
pool es_printserver_wpt_wildcard_pool
destination x.x.216.53:any
ip protocol tcp
persist printserver_wpt_wildcard_srcaddr
profiles printserver_wpt_wildcard_fastl4 {}
}
Create loopback interface with IP address of the load balanced virtual server.
Installing the Microsoft Loopback Adapter 1.Click Start, select Run and enter hdwwiz to start the Hardware Installation Wizard 2.When the Wizard has started, click Next 3.Select 'Install the hardware that I manually select from a list (Advanced)', click Next 4.Select 'Network adapters', click Next 5.Select 'Microsoft' & 'Microsoft Loopback Adapter', click Next 6.Click Next to start the installation, when complete click Finish
Configuring the Loopback Adapter 1.Click Start, select Run and enter ncpa.cpl to open the Network Control Panel 2.Right-click the new loopback adapter and select Properties 3.Select Internet Protocol Version (TCP/IPv4), click Properties and configure the IP address to be the same as the Virtual Server (VIP) 4.Go into the advanced menu and uncheck Register name in DNS 5.Click OK on the TCP/IP popup window, then click Close on the Local Area Connection window to 6.Now repeat the above process for all other Windows 2008 real servers
Run the following commands from an administrator command prompt
netsh interface ipv4 set interface "Local Area Connection" weakhostreceive=enabled
•This is your normal interface
netsh interface ipv4 set interface "loopback" weakhostreceive=enabled
netsh interface ipv4 set interface "loopback" weakhostsend=enabled
•This is your loopback interface
Create the following registry keys and values:
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa Value: DisableLoopbackCheck Type: REG_DWORD Data: 1
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Value: DisableStrictNameChecking Type: REG_DWORD Data: 1
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Value: OptionalNames Type: REG_MULTI_SZ Data: servername.domain
- Sunilkumar678Jul 05, 2023Nimbostratus
Hi
I have 2 Server on Azure and ine load balancer in same VNet.
Users are unable to add printers through load balancer , getting error
"Operation could not be completed (error 0x00000709). Double check the printer name and make sure that the printer is connected to the network.".
While if we are accessing real servers , working fine and users able to add printer on server..
Windows print management servies are working on it .
Set up : 2 print Servers Azure ( Server OS 2019)
Load balancer : Azure ( betwwen these 2 Print Servers)
Can you suggest on it what settng need to apply on Real server and Load balancer and which ports need to open on load balancer to communicate with Servers?
It will a great help if you can suggest or share some documents for Print Server load balancer setup in Azure.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com