Migrate Workloads Manually
You can migrate resources and applications manually from the on-premises domain to the new domain.
The domain created will have the topology defined during creation, with one managed server per machine.
To deploy resources, use the WebLogic Administrator Console.
To deploy applications, use one of the following methods:
-
Deploy applications through the WebLogic Administrator Console.
This method is best when moving with few applications. This method requires you to recreate resources manually.
-
Deploy applications from the JDeveloper or Eclipse integrated development environment (IDE).
This method is best when moving few applications for developers using JDeveloper. This method requires you to recreate resources manually.
Recreate the Source Domain Resources
You must manually recreate resources if you migrate the domain using WebLogic Server Administrator console or JDeveloper.
Deploy Applications
To manually deploy applications, use one of the following methods.
-
Deploy applications through the WebLogic Administrator Console.
This method is best when moving with few applications. This method requires you to recreate resources manually.
-
Deploy applications from the JDeveloper or Eclipse integrated development environment (IDE).
This method is best when moving few applications for developers using JDeveloper. This method requires you to recreate resources manually.
Deploy Applications Using the WebLogic Administrator Console
You can deploy applications using WebLogic Server Administrator console.
- Access the Weblogic Server Administrator console on Oracle Cloud Infrastructure.
- Click Lock & Edit to make changes in production domain.
- Click Deployments in the domain structure hierarchy.
- Install the application:
- Click Install, then click Upload your file, then click Browse.
- Locate and select the local file to upload and click Upload. When the upload completes, click Next.
- Verify the deployment information and click Next.
- Select Install this deployment as an application and click Next.
- For targets, select all servers or the cluster where applications will be deployed and click Next.
- Under Sources Accessibility, select Copy this application onto every target for me and click Next.
- Click Finish.
- Click Activate Changes.
- Start the application and locate the application root path:
- Click Deployments in the domain structure hierarchy, then click the Control tab.
- Select the application, click Start and then select Start Servicing all requests
- Verify the deployment and click Yes to continue.
- To locate the application root path, click Deployments in the domain structure hierarchy, then click the Control tab.
- Click the application, then click the Testing tab and expand the tree to see the URL path where the application is running. The URL contains the fully qualified host name and application root path in the form
<fqdn_host_name>:<port>/<application_root_path>.
- Access the application using the application root path at the IP address of the WebLogic Server load balancer in the form
<Load_Balancer_IP>/<application_root_path>.- To locate the IP address of the load balancer, sign in to the Oracle Cloud Infrastructure console if necessary, and open the navigation menu.
- Under Solutions and Platform go to Resources Manager and click Stacks
- Select the compartment where the Oracle Cloud Marketplace image was deployed
- Click the stack, then go to Jobs and select the latest job that deployed the stack.
- Under Outputs, find the WebLogic Server Load Balancer IP.
- Combine the load balancer IP and the application root path in the form
<Load_Balancer_IP>/<application_root_path>to access the appliction.
Deploy the Application from JDeveloper or Eclipse
If you choose to deploy resources manually, you can also use JDeveloper or Eclipse to deploy applications.
- Make sure that security settings for the deployment profile you intend to user are set to Use Existing settings in weblogic-application.xml, and that the option to Auto-Generate and Synchronize WebLogic JDBC descriptors is not selected. To find a deployment profile, click the Application menu, then select Properties, Deployment Profile, and Weblogic.
- Click the Application menu, then click Deploy, and then select an existing deployment profile to create a new deployment.
- Select Application Server, then select the previously created application server and follow prompts to choose the specific server or cluster as the target.
- When you are done, click Finish.
- Monitor the deployment progress in the Deployment Log window.