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.

Avoid trouble Avoid trouble: 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

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:29
File name: txml_7extractprops.html