app-iptable.sh 2.58 KB
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2007-08-09
################################################################


##### pre production
yohobuy_resources_pre_ips=(master@192.168.81.13)
yoho_users_pre_ips=(master@192.168.81.13)
yohobuy_order_pre_ips=(master@192.168.74.18)
yohobuy_promotion_pre_ips=(master@192.168.81.13)
yoho_gateway_pre_ips=(master@192.168.74.17)
yohobuy_product_pre_ips=(master@192.168.81.13)
yoho_message_pre_ips=(master@192.168.81.13)
yoho_sns_pre_ips=(master@192.168.81.13)
yoho_push_pre_ips=(master@192.168.81.13)
yoho_unions_pre_ips=(master@192.168.81.13)
yoho_admin_portal_pre_ips=(master@192.168.81.13)
yoho_dashboard_pre_ips=(master@192.168.81.13)
#####生产环境配置
yohobuy_resources_master_ips=(master@192.168.81.4 master@192.168.81.5 master@192.168.81.14 master@192.168.81.15)
yoho_users_master_ips=(master@192.168.81.4 master@192.168.81.5  master@192.168.81.14 master@192.168.81.15)
yohobuy_order_master_ips=(master@192.168.81.7 master@192.168.81.6  master@192.168.81.16  master@192.168.81.17)
yohobuy_promotion_master_ips=(master@192.168.81.7 master@192.168.81.6 master@192.168.81.16  master@192.168.81.17)
yoho_gateway_master_ips=(master@192.168.74.6  master@192.168.74.7 master@192.168.74.8 master@192.168.74.15)
yohobuy_product_master_ips=(master@192.168.81.8 master@192.168.81.9 master@192.168.81.18 master@192.168.81.19)
yoho_message_master_ips=(master@192.168.81.8 master@192.168.81.9 master@192.168.81.18 master@192.168.81.19)
yoho_sns_master_ips=(master@192.168.81.8 master@192.168.81.9 master@192.168.81.18 master@192.168.81.19)
yoho_push_master_ips=(master@192.168.81.10 master@192.168.81.11)

#####测试环境配置
yohobuy_resources_test_ips=(test@192.168.102.207)
yoho_users_test_ips=(test@192.168.102.207)
yohobuy_order_test_ips=(test@192.168.102.207)
yohobuy_promotion_test_ips=(test@192.168.102.211)
yoho_gateway_test_ips=(test@192.168.102.202)
yohobuy_product_test_ips=(test@192.168.102.211)
yoho_message_test_ips=(test@192.168.102.211)
yoho_sns_test_ips=(test@192.168.102.211)
yoho_push_test_ips=(test@192.168.102.207)
yoho_unions_test_ips=(test@192.168.102.211)

#####开发环境配置
petstore_develop_ips=(dev@192.168.102.209)
yohobuy_resources_dev_ips=(dev@192.168.102.205)
yoho_users_dev_ips=(dev@192.168.102.205)
yohobuy_order_dev_ips=(dev@192.168.102.205)
yoho_gateway_dev_ips=(dev@192.168.102.205)
yohobuy_product_dev_ips=(dev@192.168.102.205)
yoho_message_dev_ips=(dev@192.168.102.205)
yoho_sns_dev_ips=(dev@192.168.102.205)
yohobuy_promotion_dev_ips=(dev@192.168.102.205)
yoho_unions_dev_ips=(dev@192.168.102.205)