Get Information About the Service Instances

Gather information about your source and target instances. You will use this information when you perform the migration.

  1. To get information of the source instance:
    1. Access the Oracle Java Cloud Service console.
    2. Click the name of your source instance.
    3. From the Overview page, record these values.
      • The public IP address of the first node that is running the Administration Server
      • The host names of all Managed Server nodes (for example, myinstance-wls-2)
      • The names of the Administration Server and all Managed Servers (for example, MyInstan_server_1)
    4. Access the Oracle WebLogic Server administration console on the source instance.
      https://<source_admin_IP>:7002/console

      If you did not enable console access when you created the source instance, see Enable Console Access for a Service Instance in Administering Oracle Java Cloud Service.

    5. After you sign in to the console, record the domain name (for example, MyInstan_domain).
    6. From the Domain Structure panel, expand Environment, and then click Clusters.
    7. Record the names of the clusters (for example, MyInstan_cluster).
    8. From the Domain Structure panel, expand Environment, and then click Machines.
    9. Record the names of the machines (for example, MyInstan_machine_1).
    10. Return to the Instances page of the Oracle Java Cloud Service console.
  2. To get information of the target instance:
    1. Access the Oracle Cloud Infrastructure Console.
    2. From the navigation menu, click Compute, then click the name of your target instance.
    3. From the Compartment dropdown, select the compartment in which your domain is created.
    4. Click the name of the domain instance that has the Administration Server node.
      For example: myinstance-wls-0
    5. Based on whether the Oracle WebLogic Server compute instances are assigned to a public subnet or private subnet, follow the steps:
      • For public subnet:

        Note:

        Oracle recommends to use a private subnet.
        1. Copy the public IP address value.
        2. Access the Oracle WebLogic Server administration console on the target instance using the public IP address.
          https://<IP-address>:7002/console

          The default SSL port is 7002, unless it was changed during stack creation.

        3. From the Domain Structure panel, expand Environment, and then click Clusters.
        4. Record the names of the clusters (for example, MyInstan_cluster).
        5. From the Domain Structure panel, expand Environment, and then click Machines.
        6. Record the names of the machines (for example, MyInstan_machine_1).
      • For private subnet:
        1. Copy the private IP address value.
        2. Return to the Compute Instances page.
        3. Click the name of the bastion instance that's associated with the domain.

          For example: myinstance-bastion-instance

        4. Copy the public IP address value.
        5. In the terminal window, run the following SSH command to access the bastion host:
          ssh -C -D 1088 -i <path_to_private_key> opc@<bastion_public_ip>

          where, privateKeyPath is the full path to the private SSH key that corresponds to the public SSH key that you specified when you created the domain and bastionPublicIP is the public IP address of the bastion host.

        6. In your browser, set up the SOCKS (version 5) proxy configuration. Specify your local computer and the same SOCKS port that you used in your SSH command.
        7. Access the Oracle WebLogic Server administration console on the target instance using the private IP address:
          https://<private_ip_address>:7002/console

          The default SSL port is 7002, unless it was changed during stack creation.

        8. From the Domain Structure panel, expand Environment, and then click Clusters.
        9. Record the names of the clusters (for example, MyInstan_cluster).
        10. From the Domain Structure panel, expand Environment, and then click Machines.
        11. Record the names of the machines (for example, MyInstan_machine_1).
        12. Access the Oracle WebLogic Server hosts on the target instance:
          ssh -i <path_to_privatekey> -o ProxyCommand="ssh -W %h:%p -i <path_to_privatekey> opc@<Public_IP>" opc@<target_admin_IP>
        13. To copy files to the target instance:
          scp -i <path_to_privatekey> -o ProxyCommand="ssh -W %h:%p -i <path_to_privatekey> opc@<Public_IP>" <source_domain> opc@<target_admin_IP>:/<destination>