ADD MF APM JBOSS USER

If you want to implement MF SiteScope System Health, you have to create MF APM JBoss application user.

[root@mfapmld1 BSM]# pwd
 /opt/HP/BSM
 [root@mfapmld1 BSM]# cd jboss-as/
 [root@mfapmld1 jboss-as]# ls
 appclient  bin  bundles  docs  domain  jboss-modules.jar  LICENSE.txt  modules  standalone  version.txt  welcome-content
 [root@mfapmld1 jboss-as]# cd bin/
 [root@mfapmld1 bin]# ls
 add-user.properties  appclient.sh  domain.sh                     jboss-cli.sh   jdr.sh        standalone.conf  wsconsume.sh
 add-user.sh          client        init.d                        jboss-cli.xml  product.conf  standalone.sh    wsprovide.sh
 appclient.conf       domain.conf   jboss-cli-logging.properties  jconsole.sh    run.sh        vault.sh
 [root@mfapmld1 bin]# ./add-user.sh
 What type of user do you wish to add?
  a) Management User (mgmt-users.properties)
  b) Application User (application-users.properties)
 (a): b
 Enter the details of the new user to add.
 Using realm 'ApplicationRealm' as discovered from the existing property files.
 Username : usr1
 Password requirements are listed below. To modify these restrictions edit the add-user.properties configuration file.
 The password must not be one of the following restricted values {root, admin, administrator}
 The password must contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
 The password must be different from the username
 Password :
 Re-enter Password :
 What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]:
 About to add user 'mfsisshusr1' for realm 'ApplicationRealm'
 Is this correct yes/no? yes
 Added user 'mfsisshusr1' to file '/opt/HP/BSM/jboss-as/standalone/configuration/application-users.properties'
 Added user 'mfsisshusr1' to file '/opt/HP/BSM/jboss-as/domain/configuration/application-users.properties'
 Added user 'mfsisshusr1' with groups  to file '/opt/HP/BSM/jboss-as/standalone/configuration/application-roles.properties'
 Added user 'mfsisshusr1' with groups  to file '/opt/HP/BSM/jboss-as/domain/configuration/application-roles.properties'
 Is this new user going to be used for one AS process to connect to another AS process?
 e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
 yes/no? no
 [root@mfapmld1 bin]#

Leave a Reply

Your email address will not be published. Required fields are marked *

13 − 4 =