--0 Un, 1 UP, 2 Down, 9 unmanaged, 11 extern, 12 unreach --change attached node status if it does not match inner join ( SELECT l.OrionStatus, HostNodeID FROM [dbo].[F5_LTM_Server] l inner join [dbo].[F5_System_Device] actv on l.NodeID = actv.NodeID where actv.failoverstatus = 3 ) wh ON wh.HostNodeID = Nodes.NodeID --UP WHERE wh.OrionStatus = 1 AND Nodes.Status <> 1
- F5 Virtual Server - change status of linked Node -DOWN: F5 OrionStatus=2(Down) or 9 (forced down) and Node status is not 2 (down)
--0 Un, 1 UP, 2 Down, 9 unmanaged, 11 extern, 12 unreach --change attached node status if it does not match inner join ( SELECT l.OrionStatus, HostNodeID FROM [dbo].[F5_LTM_Server] l inner join [dbo].[F5_System_Device] actv on l.NodeID = actv.NodeID where actv.failoverstatus = 3 ) wh ON wh.HostNodeID = Nodes.NodeID --UP WHERE wh.OrionStatus in ( 2, 9 ) and Nodes.Status <> 2
- F5 Virtual Server - change status of linked Node -UNMANAGED: F5 OrionStatus=0(no service checking enabled) and Node status is not 9 (unmanged)
--0 Un, 1 UP, 2 Down, 9 unmanaged, 11 extern, 12 unreach --change attached node status if it does not match inner join ( SELECT l.OrionStatus, HostNodeID FROM [dbo].[F5_LTM_Server] l inner join [dbo].[F5_System_Device] actv on l.NodeID = actv.NodeID where actv.failoverstatus = 3 ) wh ON wh.HostNodeID = Nodes.NodeID --Node address does not have service checking enabled WHERE wh.OrionStatus = 0 and Nodes.Status <> 9