Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


4.9.2 Confirming system settings information by using commands

To confirm the system settings information by using commands, generate a list file using the subcommands that start with list- or the get subcommands of the asadmin utility command. Verify that the contents of the generated file match the intended setting. To refer to the standard properties and the settings of the extended properties, use the get subcommand. Verify the information that is configured in the template except for the properties that are set by the server template.

Prerequisites

Intended users

Procedure

  1. To save a list of all the Java EE servers in the domain, along with detailed information about the host names and port numbers in a file, run the list-instances subcommand of the asadmin utility command.

    asadmin list-instances --long=true 
    >> file_path_of_output_file
  2. To save a list of all the performance tracers in the domain, along with detailed information about the host names and process IDs in a file, run the list-prfs subcommand of the asadmin utility command.

    asadmin list-prfs --long=true 
    >> file_path_of_output_file
  3. To save a list of all the web servers in the domain, along with detailed information about the host names and process IDs in a file, run the list-webservers subcommand of the asadmin utility command.

    asadmin list-webservers --long=true >> File_path_of_output_file
  4. To save a list of all the clusters in the domain in a file, run the list-clusters subcommand of the asadmin utility command.

    asadmin list-clusters >> file_path_of_output_file
  5. To save a list of all the dependency relations in the domain, along with detailed information about the relation types, sources, and destinations in a file, run the list-relations subcommand of the asadmin utility command.

    asadmin list-relations --long=true >> file_path_of_output_file
  6. To save the setup information in a file, run the subcommands, which start with list-, of the asadmin utility command.

    (Example)

    To save a list of Java VM options and system properties in a file, run the list-jvm-options and list-system-properties subcommands.

    asadmin list-jvm-options --target server_instance_name_or_cluster_name 
    >> file_path_of_output_file
    asadmin list-jvm-options --target configuration_name >> file_path_of_output_file
    asadmin list-system-properties server_instance_name_or_cluster_name
    >> file_path_of_output_file
    asadmin list-system-properties Configuration_name >> file_path_of_output_file
    
    • In a configuration where only one Java EE server is deployed, specify the server instance name for server_instance_name_or_cluster_name.

    • In a cluster configuration where more than one Java EE server is deployed, specify the cluster name for server_instance_name_or_cluster_name.

  7. To save the setup information of each server in a file, run the get subcommand of the asadmin utility command.

    asadmin get "*" >> file_path_of_output_file
    
  8. Verify whether the contents of the files that are saved in steps 1 through 7 are the same as the system configuration information.

    Reference note

    Refer to the configuration values of all the standard and extended properties by using the get subcommand. For the information that is set by using a server template and not by the standard or extended properties, you must verify the server template.