jojo's blog--快樂憂傷都與你同在
          為夢想而來,為自由而生。 性情若水,風起水興,風息水止,故時而激蕩,時又清平……
          posts - 11,  comments - 30,  trackbacks - 0

          start-node-agent(1)

          Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also

          Name

            start-node-agent– starts a node agent

          Synopsis

            start-node-agent [--user user]

            [--passwordfile passwordfile] [--secure={true|false}]

            [ --terse={true|false} ] [ --echo={true|false} ]

            [ --interactive={true|false} ] [ --verbose={true|false} ]

            [ --agentdir nodeagent_path] [--startinstances={true|false}]

            [ --syncinstances={true|false} ] [nodeagent_name]

          Description


            Note –

            This command is available only in domains that are configured to support clusters, such as domains that are created with the cluster profile.


            Use the start-node-agent command start a node agent. The command will return control to the user before instances are actually started. The list-instances command can be executed to see if they have actually started. This command may take a while to execute since the node agent may need to create and start a number of server instances.

            This command is supported in local mode only.

          Options

            -u --user

            The authorized domain administration server administrative username.

            --passwordfile

            The --passwordfile option specifies the name of a file containing the password entries in a specific format. The entry for the password must have the AS_ADMIN_ prefix followed by the password name in uppercase letters.

            For example, to specify the domain administration server password, use an entry with the following format: AS_ADMIN_PASSWORD=password, where password is the actual administrator password. Other passwords that can be specified include AS_ADMIN_MAPPEDPASSWORD, AS_ADMIN_USERPASSWORD, and AS_ADMIN_ALIASPASSWORD.

            All remote commands must specify the administration password to authenticate to the domain administration server, either through --passwordfile or asadmin login, or interactively on the command prompt. The asadmin login command can be used only to specify the administration password. For other passwords, that must be specified for remote commands, use the --passwordfile or enter them at the command prompt.

            If you have authenticated to a domain using the asadmin login command, then you need not specify the administration password through the --passwordfile option on subsequent operations to this particular domain. However, this is applicable only to AS_ADMIN_PASSWORD option. You will still need to provide the other passwords, for example, AS_ADMIN_USERPASSWORD, as and when required by individual commands, such as update-file-user.

            For security reasons, passwords specified as an environment variable will not be read by asadmin.

            The default value for AS_ADMIN_MASTERPASSWORD is changeit.

            -s --secure

            If set to true, uses SSL/TLS to communicate with the domain administration server. Default is true.

            -t --terse

            Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.

            -e --echo

            Setting to true will echo the command line statement on the standard output. Default is false.

            -I --interactive

            If set to true (default), only the required password options are prompted.

            -h --help

            Displays the help text for the command.

            --verbose

            By default this flag is set to false. If set to true, a console window is opened for the node agent and for every server instance a node agent manages. On Windows, press Ctrl-Break in the console to print a thread dump. On UNIX, press CTRL-Backslash in the console to print a thread dump. The node agent thread dump goes to its console. The server instance thread dump goes to the instance log file.

            --agentdir

            Like a Domain Administration Server (DAS), each node agent resides in a top level directory named agentdir/nodeagent_name. If specified, the path must be accessible in the filesystem. If not specified, defaults to the install_dir/nodeagents directory.

            --startinstances

            If set to true, all server instances that are not currently running are started. If set to false, instances are not started. If the option is omitted, it defaults to the value of the node agent's start-servers-in-startup attribute, located in the domain.xml file.

            --syncinstances

            If set to true, forcibly synchronizes the cache repositories of all server instances with the central repository of the DAS. The synchronization occurs when the node agent is started. Default is false.

          Operands

            nodeagent_name

            The name of the node agent to be started.

          Examples


            Example 1 Using the start-node-agent command


            asadmin> start-node-agent --user admin 

            --passwordfile passwordfile nodeagent1


            Nodeagent1 started.

            The node agent nodeagent1 is started in the default install_dir/nodeagents directory.


          Exit Status

            0

            command executed successfully

            1

            error in executing the command

          See Also

          Java EE 5  Last Revised 13 Jul 2007
          posted on 2009-06-11 17:39 Blog of JoJo 閱讀(319) 評論(0)  編輯  收藏 所屬分類: Programming 相關每日一記

          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(6)

          隨筆檔案

          文章分類

          文章檔案

          新聞分類

          新聞檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 朔州市| 平顶山市| 于都县| 隆尧县| 西城区| 越西县| 东宁县| 安顺市| 吕梁市| 涪陵区| 玉屏| 清水河县| 新巴尔虎右旗| 滕州市| 丰顺县| 济南市| 恩平市| 临泽县| 景泰县| 宣城市| 抚顺市| 贺兰县| 宁河县| 襄汾县| 徐水县| 黄龙县| 腾冲县| 无为县| 定襄县| 蓝山县| 永川市| 观塘区| 渝中区| 瓦房店市| 富源县| 鄂尔多斯市| 镇坪县| 文安县| 惠安县| 双牌县| 贞丰县|