Skip to main content

I am trying to get access to the IFS Middleware Server Admin Console, but I forgot the password to the ifs account. The best answer on the forum here says to recreate a new IFS Home Instance. How would I go about doing this? Thank you

Hi @NoahFalanga,

 

A new IFS Home instance means a new installation. So by re-installing the application you will be given a chance to set the password. You could then point the new instance to the existing database. Each installation instance separate. The installation process is well described in the documentation. You may also want to remove the old instance after verifying that the new one works as expected. If this is a production environment you should check with your IFS partner or IFS Consulting first.

Best regards,

Ben


Hi @NoahFalanga,

 

Before recreating the instance it’s better to find the password from colleagues or from regional consulting team.

 

However, if you are recreating the instance again, then first backup the current one and delete it using “install.cmd” because if you keep that instance and creating another will give you a port conflict. Before deleting please backup this file “Configuration.xml” which is in this location “IFSHOME → Instance → InstanceName”.

Anyhow, after clearing the IFSHOME folder you need to use the given build home to install the IFSHOME again. Go to this location “buildhome → Installer → os → Windows” and there you can find the “installer.cmd”, just run it as Administrator and using the old “Configuration.xml” please set the values in the installer.

Further, if you are not confident with the process then best thing is to contact Consulting teams as Ben mentioned.

 

FYI - If you have a older build home then you need to install all the deliveries again after you create the IFSHOME.

 

Thank You,


Hi @NoahFalanga,
 

You can reset the IFS Middleware user password using the change_mws_password.cmd script under %IFS_HOME%\instance\%INSTANCE%\bin . However, you have to enter the current password. Therefore, you can't use this script when you do not remember the password.

Due to this type of situation,  it is recommended to Delete and Create New the IFS instance using installer.cmd.

First of all take a backup of the current configuraions by saving the configuration.xml file.

%IFS_HOME%\instance\%INSTANCE%\%INSTANCE%_configuration.xml


1.) Stop all the services using the script under,
APPS9 - %IFS_HOME%\instance\%INSTANCE%\bin

APPS10 -  %IFS_HOME%\mws-svr.cmd

 

2.)Take a folder level backup of the ifshome folder (In case needed for the restoration)

 

3.) Remove the instance.
Recommended to Delete  IFS instance using installer.cmd.

 

4.) Reboot the application server. (Not mandatory, but recommending to reboot the server)

 

5.) Recreate the new instance. 
Create New the IFS instance using installer.cmd.

%IFS_HOME%\installer.cmd

Use the saved %INSTANCE%_configuration.xml file valuses for the new creation.

During the recreation you can assign  a new password for the ifs account.

 


 Hi @NoahFalanga,

You can decrypt your Weblogic password using following method, instead of resorting to re-install your Middleware Server.

  1. Login to your Application Server host machine. 
  2. Navigate to the following directory and open a command line:
    \\<IFS_HOME>\mw_home\mws\oracle_common\common\bin
  3. Type in wlst.cmd and press enter to run the script. 
    This would take a couple of minutes to load. Once loaded, you would see a prompt like below:
  4. Set the domain using following command:
    domain="\\<IFS_HOME>\wls_domain\<DomainName>"
  5. Copy and paste following command and press enter:
    service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
  6. Copy and paste following command and press enter:
    encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)

  7. Now navigate to following directory and open config.xml file:
    \\<IFS_HOME>\wls_domain\DEV1APP10\config\
  8. In this file, do a search for “AES” to find the encrypted password. It should be inside a <node-manager-password-encrypted> tag. Copy this encrypted password, which we would need in the next command.
  9. Run following command to decrypt the password:
    print encryption.decrypt("<EncryptedPassword>")

    Once you run this command, it would output the decrypted password. Have a look at below screenshot which shows all the commands we ran above. 

    As you can see, the password in this instance is “internal1”. 

You can use this password to login to IFS MWS Admin Console, and it would probably be a good idea to reset the password afterwards to something you can remember.

Decrypting the password this way requires access to the Application Server host, so assuming you have best practices in place to allow only the IFS system administrators to access the servers and the scripts. 

None of these scripts/commands are specific to IFS and available in any Weblogic Server instance.  

Hope this helps!


Reply