[jboss-jira] [JBoss JIRA] (AS7-1908) Provide tooling for converting AS7-specific JGroups configuration to native JG config

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Tue Feb 7 15:31:48 EST 2012


    [ https://issues.jboss.org/browse/AS7-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664631#comment-12664631 ] 

Richard Achmatowicz edited comment on AS7-1908 at 2/7/12 3:30 PM:
------------------------------------------------------------------

I've got the first revision implemented:

{noformat}
[standalone at localhost:9999 /] /subsystem=jgroups/stack=udp:export-native-configuration
{
    "outcome" => "success",
    "result" => "UDP(bind_addr=/127.0.0.1;oob_thread_pool_keep_alive_time=1000;timer_keep_alive_time=5000;oob_thread_pool_enabled=true;max_bundle_size=64000;receive_on_all_interfaces=false;mcast_port=45688;thread_pool_min_threads=20;thread_pool_keep_alive_time=5000;enable_diagnostics=true;thread_pool_max_threads=200;ucast_send_buf_size=640000;ip_ttl=2;oob_thread_pool_queue_max_size=500;enable_bundling=false;thread_pool_queue_enabled=true;timer_rejection_policy=run;diagnostics_port=7500;oob_thread_pool_max_threads=200;wheel_size=200;disable_loopback=false;logical_addr_cache_max_size=500;ip_mcast=true;tick_time=50;logical_addr_cache_expiration=120000;thread_pool_rejection_policy=discard;oob_thread_pool_min_threads=20;port_range=50;stats=true;mcast_send_buf_size=640000;id=21;mcast_recv_buf_size=25000000;diagnostics_addr=/224.0.75.75;oob_thread_pool_rejection_policy=discard;bind_port=55200;tos=8;loopback=true;oob_thread_pool_queue_enabled=false;name=UDP;enable_unicast_bundling=false;thread_pool_enabled=true;thread_naming_pattern=cl;ucast_recv_buf_size=20000000;timer_max_threads=10;timer_queue_max_size=500;discard_incompatible_packets=true;ergonomics=true;singleton_name=udp;bundler_capacity=20000;max_bundle_timeout=30;mcast_group_addr=/230.0.0.4;bind_interface_str=;timer_min_threads=4;log_discard_msgs=true;thread_pool_queue_max_size=1000;bundler_type=new;timer_type=new)
:PING(id=6;num_initial_members=3;break_on_coord_rsp=true;stagger_timeout=0;stats=true;name=PING;ergonomics=true;timeout=2000;num_initial_srv_members=0)
:MERGE2(id=0;stats=true;merge_fast=true;name=MERGE2;inconsistent_view_threshold=1;min_interval=20000;ergonomics=true;merge_fast_delay=1000;max_interval=100000)
:FD_SOCK(bind_addr=/127.0.0.1;port_range=50;stats=true;suspect_msg_interval=5000;client_bind_port=0;ergonomics=true;num_tries=3;id=3;get_cache_timeout=1000;sock_conn_timeout=1000;bind_interface_str=;name=FD_SOCK;keep_alive=true;start_port=54200)
:FD(id=2;max_tries=5;stats=true;name=FD;ergonomics=true;timeout=6000)
:VERIFY_SUSPECT(id=13;bind_addr=/127.0.0.1;bind_interface_str=;stats=true;name=VERIFY_SUSPECT;num_msgs=1;ergonomics=true;use_icmp=false;timeout=1500)
:BARRIER(id=0;max_close_time=60000;stats=true;name=BARRIER;ergonomics=true)
:pbcast.NAKACK(use_mcast_xmit_req=false;use_mcast_xmit=true;max_msg_batch_size=100;xmit_from_random_member=false;stats=true;xmit_table_max_compaction_time=600000;retransmit_timeouts=300,600,1200,2400,4800;xmit_stagger_timeout=200;exponential_backoff=300;log_not_found_msgs=true;ergonomics=true;discard_delivered_msgs=true;print_stability_history_on_failed_xmit=false;id=15;max_rebroadcast_timeout=2000;xmit_table_msgs_per_row=10000;xmit_table_num_rows=5;name=NAKACK;log_discard_msgs=true;xmit_table_resize_factor=1.2;use_range_based_retransmitter=true)
:UNICAST2(max_retransmit_time=60000;max_bytes=10000000;max_msg_batch_size=50000;stats=true;xmit_table_max_compaction_time=600000;exponential_backoff=300;max_stable_msgs=5;ergonomics=true;stable_interval=60000;id=40;conn_expiry_timeout=60000;xmit_table_msgs_per_row=10000;xmit_table_automatic_purging=true;xmit_table_num_rows=5;name=UNICAST2;timeout=300,600,1200,2400,3600;xmit_table_resize_factor=1.2;use_range_based_retransmitter=true)
:pbcast.STABLE(id=16;desired_avg_gossip=50000;max_bytes=400000;stats=true;cap=0.1;name=STABLE;ergonomics=true;stability_delay=1000)
:pbcast.GMS(print_local_addr=true;stats=true;max_bundling_time=50;log_collect_msgs=true;resume_task_timeout=7500;log_view_warnings=true;num_prev_views=20;ergonomics=true;print_physical_addrs=true;use_flush_if_present=true;merge_timeout=5000;id=14;num_prev_mbrs=50;leave_timeout=5000;view_bundling=true;name=GMS;join_timeout=3000;handle_concurrent_startup=true;view_ack_collection_timeout=5000)
:UFC(id=45;max_block_time=5000;max_credits=2000000;stats=true;ignore_synchronous_response=true;min_credits=800000;name=UFC;min_threshold=0.4;ergonomics=true)
:MFC(id=44;max_block_time=5000;max_credits=2000000;stats=true;ignore_synchronous_response=true;min_credits=800000;name=MFC;min_threshold=0.4;ergonomics=true)
:FRAG2(id=5;frag_size=60000;stats=true;name=FRAG2;ergonomics=true)
"
}
{noformat}

This is based on using the information held by a started ChannelFactoryService's JChannel object instance, which is responsible for creating and configuring a JGroups channel.

                
      was (Author: rachmato):
    I've got the first revision implemented:

{noformat}
[standalone at localhost:9999 /] /subsystem=jgroups/stack=udp:export-native-configuration
{
    "outcome" => "success",
    "result" => "UDP(bind_addr=/127.0.0.1;oob_thread_pool_keep_alive_time=1000;timer_keep_alive_time=5000;oob_thread_pool_enabled=true;max_bundle_size=64000;receive_on_all_interfaces=false;mcast_port=45688;thread_pool_min_threads=20;thread_pool_keep_alive_time=5000;enable_diagnostics=true;thread_pool_max_threads=200;ucast_send_buf_size=640000;ip_ttl=2;oob_thread_pool_queue_max_size=500;enable_bundling=false;thread_pool_queue_enabled=true;timer_rejection_policy=run;diagnostics_port=7500;oob_thread_pool_max_threads=200;wheel_size=200;disable_loopback=false;logical_addr_cache_max_size=500;ip_mcast=true;tick_time=50;logical_addr_cache_expiration=120000;thread_pool_rejection_policy=discard;oob_thread_pool_min_threads=20;port_range=50;stats=true;mcast_send_buf_size=640000;id=21;mcast_recv_buf_size=25000000;diagnostics_addr=/224.0.75.75;oob_thread_pool_rejection_policy=discard;bind_port=55200;tos=8;loopback=true;oob_thread_pool_queue_enabled=false;name=UDP;enable_unicast_bundling=false;thread_pool_enabled=true;thread_naming_pattern=cl;ucast_recv_buf_size=20000000;timer_max_threads=10;timer_queue_max_size=500;discard_incompatible_packets=true;ergonomics=true;singleton_name=udp;bundler_capacity=20000;max_bundle_timeout=30;mcast_group_addr=/230.0.0.4;bind_interface_str=;timer_min_threads=4;log_discard_msgs=true;thread_pool_queue_max_size=1000;bundler_type=new;timer_type=new)
:PING(id=6;num_initial_members=3;break_on_coord_rsp=true;stagger_timeout=0;stats=true;name=PING;ergonomics=true;timeout=2000;num_initial_srv_members=0)
:MERGE2(id=0;stats=true;merge_fast=true;name=MERGE2;inconsistent_view_threshold=1;min_interval=20000;ergonomics=true;merge_fast_delay=1000;max_interval=100000)
:FD_SOCK(bind_addr=/127.0.0.1;port_range=50;stats=true;suspect_msg_interval=5000;client_bind_port=0;ergonomics=true;num_tries=3;id=3;get_cache_timeout=1000;sock_conn_timeout=1000;bind_interface_str=;name=FD_SOCK;keep_alive=true;start_port=54200)
:FD(id=2;max_tries=5;stats=true;name=FD;ergonomics=true;timeout=6000)
:VERIFY_SUSPECT(id=13;bind_addr=/127.0.0.1;bind_interface_str=;stats=true;name=VERIFY_SUSPECT;num_msgs=1;ergonomics=true;use_icmp=false;timeout=1500)
:BARRIER(id=0;max_close_time=60000;stats=true;name=BARRIER;ergonomics=true)
:pbcast.NAKACK(use_mcast_xmit_req=false;use_mcast_xmit=true;max_msg_batch_size=100;xmit_from_random_member=false;stats=true;xmit_table_max_compaction_time=600000;retransmit_timeouts=300,600,1200,2400,4800;xmit_stagger_timeout=200;exponential_backoff=300;log_not_found_msgs=true;ergonomics=true;discard_delivered_msgs=true;print_stability_history_on_failed_xmit=false;id=15;max_rebroadcast_timeout=2000;xmit_table_msgs_per_row=10000;xmit_table_num_rows=5;name=NAKACK;log_discard_msgs=true;xmit_table_resize_factor=1.2;use_range_based_retransmitter=true)
:UNICAST2(max_retransmit_time=60000;max_bytes=10000000;max_msg_batch_size=50000;stats=true;xmit_table_max_compaction_time=600000;exponential_backoff=300;max_stable_msgs=5;ergonomics=true;stable_interval=60000;id=40;conn_expiry_timeout=60000;xmit_table_msgs_per_row=10000;xmit_table_automatic_purging=true;xmit_table_num_rows=5;name=UNICAST2;timeout=300,600,1200,2400,3600;xmit_table_resize_factor=1.2;use_range_based_retransmitter=true)
:pbcast.STABLE(id=16;desired_avg_gossip=50000;max_bytes=400000;stats=true;cap=0.1;name=STABLE;ergonomics=true;stability_delay=1000)
:pbcast.GMS(print_local_addr=true;stats=true;max_bundling_time=50;log_collect_msgs=true;resume_task_timeout=7500;log_view_warnings=true;num_prev_views=20;ergonomics=true;print_physical_addrs=true;use_flush_if_present=true;merge_timeout=5000;id=14;num_prev_mbrs=50;leave_timeout=5000;view_bundling=true;name=GMS;join_timeout=3000;handle_concurrent_startup=true;view_ack_collection_timeout=5000)
:UFC(id=45;max_block_time=5000;max_credits=2000000;stats=true;ignore_synchronous_response=true;min_credits=800000;name=UFC;min_threshold=0.4;ergonomics=true)
:MFC(id=44;max_block_time=5000;max_credits=2000000;stats=true;ignore_synchronous_response=true;min_credits=800000;name=MFC;min_threshold=0.4;ergonomics=true)
:FRAG2(id=5;frag_size=60000;stats=true;name=FRAG2;ergonomics=true)
"
}
{noformat}

                  
> Provide tooling for converting AS7-specific JGroups configuration to native JG config
> -------------------------------------------------------------------------------------
>
>                 Key: AS7-1908
>                 URL: https://issues.jboss.org/browse/AS7-1908
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Clustering
>    Affects Versions: 7.1.0.CR1
>            Reporter: Radoslav Husar
>            Assignee: Richard Achmatowicz
>            Priority: Trivial
>              Labels: eap6-ux
>
> We should be able to tests people's JG in AS7 configuration using standalone JGroups.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list