[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-trafodion/pull/251 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user arvind-narain commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/251#discussion_r49146268 --- Diff: dcs/bin/scripts/dcsbind.sh --- @@ -354,7 +354,7 @@ dcsEcho "gv_float_external_ip :" $gv_float_external_ip dcsEcho "gv_float_internal_ip :" $gv_float_internal_ip #Check if AWS_CLOUD environment variable defined -if [[ -z $AWS_CLOUD ]]; then +if [[ $AWS_CLOUD == "false" ]]; then --- End diff -- wasn't the earlier check ok ? Does AWS_CLOUD get set to false also or just true/empty ? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
GitHub user hegdean opened a pull request: https://github.com/apache/incubator-trafodion/pull/251 [TRAFODION-1680] Dcs needs to provide support for HA on AWS Documentation and installer changes You can merge this pull request into a Git repository by running: $ git pull https://github.com/hegdean/incubator-trafodion wrkbrnch Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafodion/pull/251.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #251 commit 1cde2505bef3b26428537c064790db8157a2b9ae Author: Anuradha HegdeDate: 2016-01-05T17:46:09Z Documentation and installer change for Floating IP commit d5e3e843e010443f530c9010658c957f2b554fd3 Author: Anuradha Hegde Date: 2016-01-05T21:35:28Z Applied review comments commit c2ce702e22f63b05ca59fb609803e0339e7c5de7 Author: Anuradha Hegde Date: 2016-01-06T23:53:44Z Fixed issues seen during testing commit 4e30bf08e0d88106f5b6ccf29652d65ec8b966c9 Author: Anuradha Hegde Date: 2016-01-07T00:42:04Z fixed issued --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user hegdean commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/231#discussion_r48059956 --- Diff: RAT_README.txt --- @@ -60,6 +60,7 @@ $MY_SQROOT/../sql/bin/SqlciErrors.txt dcs/conf/servers dcs/conf/backup-masters +dcs/conf/master : Apache Trafodion DCS default configuration file -> configuration file do not handle comments --- End diff -- This is not documentation but a short description for each component for list of files that excludes the copyright information as mentioned in the initial section of the this file. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user hegdean commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/231#discussion_r48060646 --- Diff: install/installer/setup_ssh_key --- @@ -0,0 +1,27 @@ +#!/bin/bash --- End diff -- This is is similar to our backup-masters file which is also empty and does no harm but it helps users to know that they can modify this file if they require DcsMaster to start on a specific node. Dcs documentation will be updated in the subsequent PR --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user kevinxu021 commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/231#discussion_r47984062 --- Diff: core/sqf/sql/scripts/cleanlogs --- @@ -0,0 +1,92 @@ +#!/bin/bash +# +# @@@ START COPYRIGHT @@@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# @@@ END COPYRIGHT @@@ + +# This script cleans up the log files of various components +if [ -e $SQ_PDSH ]; then + L_PDSH="/usr/bin/pdsh $MY_NODES " +else + L_PDSH= +fi + +function usage() { + prog=`basename $0` + echo "" + echo "$prog { all | dcs | rest | core }" + echo "all --- Remove files from core, dcs and rest logs folder" + echo "dcs --- Remove files from $DCS_INSTALL_DIR/logs folder" + echo "rest --- Remove files from $REST_INSTALL_DIR/logs folder" + echo "core --- Remove log files residing in $MY_SQROOT/logs folder" --- End diff -- dcs and rest are component name. Could you please list out what kinds of logs included in core? For DEV, it's very good, but for production it's dangerous that it may lost lots of important info. A little confused that the logs has rotation rules why to clear them? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user kevinxu021 commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/231#discussion_r47983358 --- Diff: RAT_README.txt --- @@ -60,6 +60,7 @@ $MY_SQROOT/../sql/bin/SqlciErrors.txt dcs/conf/servers dcs/conf/backup-masters +dcs/conf/master : Apache Trafodion DCS default configuration file -> configuration file do not handle comments --- End diff -- Please describe those files separately. it's not very clear. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user hegdean commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/231#discussion_r47984503 --- Diff: core/sqf/sql/scripts/cleanlogs --- @@ -0,0 +1,92 @@ +#!/bin/bash +# +# @@@ START COPYRIGHT @@@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# @@@ END COPYRIGHT @@@ + +# This script cleans up the log files of various components +if [ -e $SQ_PDSH ]; then + L_PDSH="/usr/bin/pdsh $MY_NODES " +else + L_PDSH= +fi + +function usage() { + prog=`basename $0` + echo "" + echo "$prog { all | dcs | rest | core }" + echo "all --- Remove files from core, dcs and rest logs folder" + echo "dcs --- Remove files from $DCS_INSTALL_DIR/logs folder" + echo "rest --- Remove files from $REST_INSTALL_DIR/logs folder" + echo "core --- Remove log files residing in $MY_SQROOT/logs folder" --- End diff -- cleanlogs script is only a helpful utility. This cleanlogs script is not invoked by any other script and used only on demand on need basis. The logs for core are all the log files that reside in MY_SQROOT/logs folder --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user hegdean commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/231#discussion_r47984639 --- Diff: RAT_README.txt --- @@ -60,6 +60,7 @@ $MY_SQROOT/../sql/bin/SqlciErrors.txt dcs/conf/servers dcs/conf/backup-masters +dcs/conf/master : Apache Trafodion DCS default configuration file -> configuration file do not handle comments --- End diff -- dcs/conf/master is another configuration file which contains the hostname.. It is just like backup-masters file and as described in the comments it does not handle comments --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
Github user kevinxu021 commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/231#discussion_r47985038 --- Diff: core/sqf/sql/scripts/cleanlogs --- @@ -0,0 +1,92 @@ +#!/bin/bash +# +# @@@ START COPYRIGHT @@@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# @@@ END COPYRIGHT @@@ + +# This script cleans up the log files of various components +if [ -e $SQ_PDSH ]; then + L_PDSH="/usr/bin/pdsh $MY_NODES " +else + L_PDSH= +fi + +function usage() { + prog=`basename $0` + echo "" + echo "$prog { all | dcs | rest | core }" + echo "all --- Remove files from core, dcs and rest logs folder" + echo "dcs --- Remove files from $DCS_INSTALL_DIR/logs folder" + echo "rest --- Remove files from $REST_INSTALL_DIR/logs folder" + echo "core --- Remove log files residing in $MY_SQROOT/logs folder" --- End diff -- it's might be helpful that save them before remove, or give users some tips and tell them the logs will be removed. if they insist on, go ahead to remove them. yes, it's a utility, but some users might use it, right? we know what they are in MY_SQROOT/logs folder, but the users may not, so those info should be included. otherwise, users may make mistakes. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-trafodion pull request: [TRAFODION-1680] Dcs needs to pr...
GitHub user hegdean opened a pull request: https://github.com/apache/incubator-trafodion/pull/231 [TRAFODION-1680] Dcs needs to provide support for HA on AWS You can merge this pull request into a Git repository by running: $ git pull https://github.com/hegdean/incubator-trafodion wrk-brnch Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafodion/pull/231.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #231 commit 1f0d872bd11262fbd5b66b3e11d3cab059faf050 Author: Anuradha HegdeDate: 2015-12-14T03:33:33Z Floating IP support for AWS cluster commit f9ef790dc6cc35fc2aece7771feb92321f4f6fdb Author: Anuradha Hegde Date: 2015-12-14T03:36:23Z Merge branch 'master' into wrk-brnch commit fafc88ff812ffc23fd88217dc65d78d234e76198 Author: Anuradha Hegde Date: 2015-12-15T02:02:26Z Merge branch 'master' into wrk-brnch commit 68157d51fd1dbbbff562b2564f664b7783372c12 Author: Anuradha Hegde Date: 2015-12-15T18:32:23Z Additional changes for floating ip. Support to start dcsmaster on remote node commit c14887c5940c8fa99a35138cd984a3e2a5e4ab3c Author: Anuradha Hegde Date: 2015-12-15T18:34:09Z Merge branch 'master' into wrk-brnch commit 34ff7b309b58e76f3461c0519940f2e3463d8d13 Author: Anuradha Hegde Date: 2015-12-15T18:52:32Z Merge branch 'master' into wrk-brnch commit bc691879b0012888e12ee2be9d6eb948359e5f30 Author: Anuradha Hegde Date: 2015-12-16T18:15:30Z Improved display for dcscheck script additional bug fixes commit cbcde79ea87bae975a3a1c18faa17223d80b1a2d Author: Anuradha Hegde Date: 2015-12-16T23:42:33Z fixes commit 254447922f3df5aaa411ca7c50b6528265c5 Author: Anuradha Hegde Date: 2015-12-16T23:49:02Z added the missing quotes commit 718880c8f0e8cb08fb2fe29ab456f8cdf33fa9cd Author: Anuradha Hegde Date: 2015-12-16T23:58:41Z Changed name to lowercase for MXOSRVR to match the process name --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---