Extracting properties files using wsadmin scripting

Use this topic to extract properties files from your configuration. You can use the wsadmin tool to extract properties files for cell, server, server subtype, and node configurations.

About this task

Using the PropertiesBasedConfiguration command group for the AdminTask object, you can extract the configuration attributes and values from your environment to properties files.

避免困難 避免困難: You cannot apply a z/OS® operating system properties file directly to a distributed operating system. Similarly, you cannot apply a distributed operating system properties file directly to a z/OS operating system. gotcha
Complete the following steps to run the extractConfigProperties command and extract a properties file for a cell, server, server subtype, or node configuration. Optionally, you can use interactive mode with the command:
AdminTask.extractConfigProperties('-interactive')

Procedure

What to do next

After extracting properties files, use this functionality for various purposes, including:

  • To modify your existing configuration in one location, instead of configuring multiple administrative console panels or running many commands
  • To improve the application development life cycle

You can use properties files to manage the following server subtypes in your environment:

  • Application servers
  • Nodes
  • Profiles
  • Virtual hosts
  • Applications
  • Authorization tables
  • Data replication domains
  • Variable maps
  • Java™ Database Connectivity (JDBC) providers
  • Uniform Resource Locator (URL) providers
  • Mail providers
  • Resource environment providers
  • Java™ 2 Connector (J2C) resource adapters

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:18
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_7extractprops
檔名:txml_7extractprops.html