How do I specify the equivalent of 0.0.0.0 from SOAP/perl?
I want to do the equivalent of: bigpipe virtual 0.0.0.0:0 use pool defaultRoutePool I tried: $soapResponse = $soap->create_from_pool( SOAP::Data->name(virtual_server => { address => '0.0.0.0', port => '0' }), SOAP::Data->name(unit_id => 1), SOAP::Data->name(pool_name => 'defaultRoutePool')); But I get "IP is not valid on network, address/mask do not conform to true IP" Thoughts?530Views0likes3CommentsAnother SOAP::Lite newbie question
How would I go about translating some predefined constants, such as ITCMLocalLB.LBMethod ? Looking through the wsdl file, it would appear this is only defined with documentation, not in anyway by which I could translate e.g. 'predictive_member' to '7'. stubmaker.pl was no help. Thoughts?439Views0likes3CommentsClarification needed
I'm trying to find out all the states of nodes in a pool. I try to run ITCMLocalLB.Node.get_node_address_states But since it only takes a list of ip addresses (I tried to a list with use ':' but it doesn't work). If I use ITCMLocalLB.Node.get_state which takes a ITCMCommon.IPPortDefinition things work as expected, but off course I have to run it seperately for every node in the pool. My question, what is the difference between the 2? Will set_node_address_states disable all services for that IP, whereas set_state will only disable the IP/port pair? Do the {get,set}_state have to be used together, as well as the {get,set}_node_address_states? The docs are not extremely clear, although it may be my lack of understanding of the terminology (note: Sets the states for a sequence of node addresses vs. Set the enabled state for a sequence of nodes )435Views0likes1CommentHw do I save configurations on a bigip?
I can see the stuff in ConfigSync. But how does that relate to: bigpipe base save and bigpipe save It would appear that ITCMSystem.ConfigSync.save_configuration with the right flag will save either, but on the command line version the filename is different. Can I ommit the filename to use the default? If I don't specify a fully qualified path, will it go in /config?924Views0likes8CommentsEquivalent of 'serverssl server cert ignore' in proxy?
I have a proxy defintion, and I want to do the equivalent of: bigpipe proxy 1.2.3.4:443 serverssl server cert ignore It looks like ITCMLocalLB.Proxy.set_server_certificate_mask might be the right iControl call (I could be wrong...), but the description of the mask in the docs ( The mask specifying how server certificate is handled ) is not too informative. Is this the right call, and where do I find the definition of the what the mask does?520Views0likes3CommentsProblem accesing get_cpu_metrics() function
I'm trying to access get_cpu_metrics() function, but when I send the message to the Big-IP, it throws an exception: SOAP-ENV:Server : ITCMCommon::OperationFailed Exception caught on ITCMSystem::SystemInfo::get_cpu_metrics(). primary_error_code : 385 secondary_error_code: 0 error_string : This system does not support reading platform hardware information. I'm using BIG-IP Kernel 4.5PTF-06 Build25. What's happening? Thanks: Miguel421Views0likes2CommentsProblem with get_all_virtual_server_statistics
I'm writing a little program taht retrieve statiscis information from the BigIp and stores it in a database in order to generate graphics of traffic and number of connections. I have no problem retrieving statistics of the pools and the node servers, but when I try to get the virtual server's statistics a SOAP Exception is throw. I don´t know what can be wrong. I have wrote a simple function that construct automatically the SOAP message, and all the functions I have tried with this method are working. The error is: [SOAPException: faultCode=SOAP-ENV:Client; msg=For input string: "18446744069414584320"; targetException=java.lang.NumberFormatException: For input string: "18446744069414584320"] Thanks for the help: Miguel594Views0likes6CommentsService statistics
Hi, Does the get_statistics method for LocalLB/Services work in BIG-IP v4.2? If so, can you tell me what I’m doing wrong? I know there are stats for service 80, but when I run my script I get all zero’s. If not, how can I get the statistics for a given service? Using the trace gives no insight. Any suggestions? Thanks Anthony Output from b service 80 show bipmkoqa01:~ b service 80 show SERVICE 80 tcp enabled timeout 1005 udp enabled timeout 60 (cur, max, limit, tot, reaped) = (27, 834, 0, 1696219, 1773) (pckts, bits) in = (13794715, 19070346376), out = (13972196, 122260660800) Output from my script Sleeping for 5 seconds, please wait.... The Deltas over the past 5 seconds are: Total Bytes is: 0 Total Packets is: 0 Total Connections is: 0 Sleeping for 5 seconds, please wait.... The Deltas over the past 5 seconds are: Total Bytes is: 0 Total Packets is: 0 Total Connections is: 0 Totals for the last 15 seconds ... Total number of Bytes transferred: 0 Total number of Connections: 0 Output complete --------------------------------------------------------------------------------------------------------------------------------------- Subroutine to get service stats. sub getStats { push @serv_Def, 80; $soap_response = $soap->get_statistics(SOAP::Data->name(services => @serv_Def)); my $stats = @{$soap_response->result}; my $thruput_stats = $stats->{"thruput_stats"}; my $bits_in = $thruput_stats->{"bits_in"}; my $bits_out = $thruput_stats->{"bits_out"}; my $packets_in = $thruput_stats->{"packets_in"}; my $packets_out = $thruput_stats->{"packets_out"}; my $conn_stats = $stats->{"connection_stats"}; my $cur_conn = $conn_stats->{"current_connections"}; my $max_conn = $conn_stats->{"maximum_connections"}; my $total_conn = $conn_stats->{"total_connections"}; my $bits_per_byte = 8; my $total_bytes = ($bits_in + $bits_out) / $bits_per_byte; my $total_pcts = $packets_in + $packets_out; my $out = { total_bytes => $total_bytes, total_pkts => $total_pcts, total_conns => $total_conn, curr_con => $cur_conn }; } $outputT0 = &getStats(); my $t0_byte = $outputT0->{"total_bytes"}; my $t0_pkts = $outputT0->{"total_pkts"}; my $t0_tconn = $outputT0->{"total_conns"}; my $t0_curcon = $outputT0->{"curr_con"}; print "\nSleeping for $Time2Sleep seconds, please wait....\n"; sleep $Time2Sleep; $outputT1 = &getStats(); my $t1_byte = $outputT1->{"total_bytes"}; my $t1_pkts = $outputT1->{"total_pkts"}; my $t1_tconn = $outputT1->{"total_conns"}; my $t1_curcon = $outputT1->{"curr_con"}; $Diff_Tbytes = $t1_byte - $t0_byte; $Diff_Tpkts = $t1_pkts - $t0_pkts; $Diff_Tconn = $t1_tconn - $t0_tconn;259Views0likes1Comment