© Aaron Engelsrud 2019
A. EngelsrudManaging PeopleSoft on the Oracle Cloudhttps://doi.org/10.1007/978-1-4842-4546-0_5

5. The Cloud Repository

Aaron Engelsrud1 
(1)
Saint Paul, MN, USA
 

The previous four chapters have focused exclusively on the steps and processes necessary to get PeopleSoft Cloud Manager up and running in the Oracle Cloud. From this point forward, we will be focused on the process of provisioning PeopleSoft environments in the Oracle cloud and understanding and utilizing all the features and tools that PeopleSoft Cloud Manager offers. There are four key components that need to be understood in order to properly provision and manage PeopleSoft instance in Cloud Manager: the repository, the topology, the template, and finally the PeopleSoft environment. These four components work together to automate and streamline the environment provisioning process within Cloud Manager.

The first step in provisioning a PeopleSoft environment in Cloud Manager requires downloading and accessing a PeopleSoft image to the repository. The repository within PeopleSoft Cloud Manager provides you with an easy way to both download and manage PeopleSoft images, patch sets, tools updates, and custom PeopleSoft images. The file server we created in Chapter 4 provides Cloud Manager a Network File System (NFS) repository where these images and downloads are stored. The subscription channels found within the repository allow administrators the ability to pick and choose which applications and maintenance content they want to download to the repository. From here, the download manager helps to automate the process of downloading and saving these images from Oracle Support.

Accessing the Repository

To get started building your repository and automating your image download process, you need to start by logging in to the PeopleSoft Cloud Manager as an administrative user. Once you have logged in to the application, gaining access to your repository is a simple task of clicking the Repository tile on your Cloud Manager home page. Figure 5-1 indicates the location of the Repository tile.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig1_HTML.jpg
Figure 5-1

Repository tile

Once you are in the repository, you will see you have four main menu options on the left-hand navigation of the page: My Downloads, Download Subscriptions, Download History, and Logs. Each of these menu options will be covered in the following sections of this chapter. Figure 5-2 displays the menu options on the left-hand navigation of the repository page.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig2_HTML.jpg
Figure 5-2

Repository menu options

My Downloads

The first page that opens after accessing the Repository tile is the My Downloads page. If you are just getting started with PeopleSoft Cloud Manager, this page will largely be empty aside from the size of file server you created in the last chapter and the available space this file server provides. Once you have subscribed to some channels and have downloaded either some PeopleSoft images or PeopleSoft Release Patchsets, you will see the artifacts of those downloads listed here.

There are two main sections to the My Downloads page. First, the top of the page includes basic detail about the file server you have associated with PeopleSoft Cloud Manager. Second, the bottom half of the page details the artifacts that have been downloaded to your file server. Together, these two pieces of data provide you with a basic understanding of how much space you have available, how much you are using, and what has been downloaded.

File Server Information

The top half of the My Downloads page provides you with the basic detail you need to understand how much file server space you are currently using, how much you have allocated, and how much space you have left. This is important information as your cloud repository grows as more patchsets and images are downloaded to your file server; you will need to manage this space accordingly. Figure 5-3 shows the storage space detail.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig3_HTML.jpg
Figure 5-3

My Downloads file server detail

As you can see in image 5-3, this simple graph provides some very important and simple information to you each time you access the repository. On the top left, you will see listed the File Server Size, in this case 295 GB (remember we created a 300 GB file server). In the middle of the bar graph, you will see listed how much of the file server space is currently available, in this case 263 GB. Quite easily, we can determine that we are currently using 32 GB of file space on the server (295GB – 263GB = 32GB). At a glance, we are provided with all the information we need to know if we need to add more space or if we have enough space to continue to download artifacts to the file server.

File Server SSH Access

Accessing your file server via SSH, which you will need to do to expand your file server, is a two-step process. First you will access your Cloud Manager virtual machine using the SSH command coupled with your public and private key pair. Once you have done this, you will then create an additional SSH session to your file server virtual machine using the Cloud Manager private SSH key.

To access your file sever via SSH, complete the following steps:
  1. 1.

    Open a PuTTY or other terminal application and start a ssh session using the opc user to your Cloud Manager virtual machine. If you look back in your notes from your installation, you should have the command you need. For reference, the command looks like this: ssh -i <path_to_private_key_file>/<private_key_name> -o ServerAliveInterval=5 -o ServerAliveCountMax=1 opc@<public_ip_address_of_instance>

     
  2. 2.

    Once you have successfully logged in as the opc user, sudo to the psadm2 user on that VM. Sudo is a Unix command that allows you to elevate your privileges on the server to that of the user you are sudoing as, in this case psadm. The command looks like this: sudo su – psadm2

     
  3. 3.

    You’ll note the use on your command prompt has now changed to psadm2 rather than opc.

     
  4. 4.

    Change your present working directory (pwd) to /home/psadm2/psft/data/cloud/opchrome/<identity_domain_name>/<opc_user_id>/.ssh. In my case I will use this command to move to the correct directory: cd /home/psadm2/psft/data/cloud/opchome/6xxxxxxx3/[email protected]/.ssh

     
  5. 5.

    In this directory, you will find the id_key_rsa.pub file. You can view the directory contents by entering the ls command at the prompt.

     
  6. 6.

    Now you can enter a new SSH session using the id_key_rsa file located here. To do this, enter the following command at the Linux prompt: ssh -i id_key_rsa opc@<file_server_name>. In my case this command equates to ssh -i id_key_rsa opc@pcmBookFileServer.

     
  7. 7.

    You will be prompted if you want to continue connecting; select yes and add the file server to your list of known hosts on the Cloud Manager VM.

     
  8. 8.

    Once again, you will see your user and server name change at your command prompt, this time to opc@pcmbookfileserver. You are now connected to the file server virtual machine.

     

Expanding Your File Server

You can increase your file server space if you created your file server in Oracle Storage Classic. To expand your file server, complete the following steps:
  1. 1.

    Start by starting a new SSH session and connecting to your Cloud Manager virtual machine. This was covered in step 1 of the previous section.

     
  2. 2.

    Determine the name of the device mounted on /cm_psft_dpks – you can find this device by using the df command from the Linux command prompt. Note this device name as you will need it later the process.

     
  3. 3.

    Issue this command: unmount /cm_psft_dpks in the Cloud Manager virtual machine as the opc user.

     
  4. 4.
    Once this is complete, SSH to the File Manager virtual machine as described in the following section. Here you will need to stop both the NFS service and the smb service. Issue the following commands at the file server virtual machine dcommand prompt:
    /sbin/service nfs stop
    /sbin/service smb stop
     
  5. 5.

    Next unmount the storage disk: unmount /u01/app/oracle/product

     
  6. 6.

    Next, you need to switch over to the Oracle Compute Cloud Service Console window. To do this, log in to http://oracle.cloud.com and navigate to the Compute Cloud Service Console from your Cloud Dashboard.

     
  7. 7.

    In the Service Console in the instance tab, click the file server instance to view the server details; in my case the file server is named pcmBookFileServer, and copy down the name of the storage disk attached to the file server. In my case, this storage is named pcmBookFileServer_storage_2.

     
  8. 8.

    Navigate back to your main Compute Classic Service Console page and click the storage tab.

     
  9. 9.
    Find the disk associated with the file server as highlighted in Figure 5-4.
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig4_HTML.jpg
    Figure 5-4

    Storage tab, file server volume

     
  10. 10.
    Click the menu icon on the right of the storage volume and select Update (Figure 5-5).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig5_HTML.jpg
    Figure 5-5

    Update file server volume

     
  11. 11.
    Input the size required on the Size field (Figure 5-6).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig6_HTML.jpg
    Figure 5-6

    Update Storage Volume

     
  12. 12.

    Click Update to increase the size as desired.

     
  13. 13.
    Back on the file server virtual machine (where you should still have a valid SSH connection), you need to run two different commands to expand the file system in the attached disk. From the Linux command prompt, run
    e2fsck -f /dev/<device name>
    resize2fs /dev/<device name>

    In both cases, use the device name you determined in step 2 of this process.

     
  14. 14.
    Again, on the file server virtual machine, issue the following commands to mount the newly expanded disk, verify the new file server volume, and start both the NFS and SMB services:
    mount -a
    df -h /u01/app/oracle/product
    /sbin/service nfs start
    /sbin/service smb start
     
  15. 15.

    Exit out of your file server SSH connection.

     
  16. 16.

    Back in the Cloud Manager virtual machine, remount the file server share: mount -a

     

IF you have created your file server in Oracle Storage Classic, following these steps will allow you to quickly and easily increase the space available to you on your file server.

Download Detail

Along with the File Server Size detail, the My Downloads page also provides a detailed list of the artifacts that have been downloaded to your server. Each artifact downloaded is listed and, at a glance, provides detail as to the name of the artifact, the type of artifact downloaded, what product line the artifact belongs, to which release it is associated with, the version number, the native platform, and the size of the artifact. Figure 5-7 shows the repository download detail.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig7_HTML.jpg
Figure 5-7

Download detail

Using the filter at the top of the page allows you to quickly and easily limit the number of artifacts listed. If you click the filter icon in the upper left corner of the list, you will get the filter pop-up window. This Filter dialogue allows you to search by name, patch type, product, version, or platform. To use it, simply select your preferred search term and click Done in the upper right corner. Your list will return filtered appropriately. When you are done with your filtered list, click the filter icon, and then click the Clear Filter button in the middle of the Filter dialogue window. Figure 5-8 shows the download filter detail, and Figure 5-9 provides a view of the filtered list.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig8_HTML.jpg
Figure 5-8

Download filter

../images/471036_1_En_5_Chapter/471036_1_En_5_Fig9_HTML.jpg
Figure 5-9

Filtered list

Along with the row level detail, the My Downloads page also provides more granular detail on each artifact downloaded to the repository. By clicking either the name of the artifact or the arrow button located on the far-right side of the row, you can access more detail on the artifact. This includes a list of basic information about the patchset or image including the bug number (which can be referenced in Oracle Support), a description of the patchset, the release language, the classification of the artifact, and the date it was updated and released, along with the location of the artifact on the file server. Additionally, the detail contains what bugs were fixed with the patchset and what files were downloaded as part of the release. Figure 5-10 captures a view of the artifact detail.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig10_HTML.jpg
Figure 5-10

Artifact detail

Download Subscriptions

The next menu item in the repository is Download Subscriptions. This page allows you to see what channels you are subscribed to and what channels are available for you to subscribe to, to create new subscription channels, and to initiate downloads to the Cloud Manager repository. To help you quickly get started, PeopleSoft Cloud Manager comes ready to go with a set of default channels, one for each PeopleSoft application and one for each major PeopleTools release. Figure 5-11 shows the high-level repository subscription.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig11_HTML.jpg
Figure 5-11

Download Subscription page detail

Subscribing to Channels

The concept of subscribing to channels is a new concept to PeopleSoft users. Within PeopleSoft Cloud Manager, channels consist of automated access to downloads for the current PeopleSoft image for a specific PeopleSoft application or PeopleSoft PeopleTools only releases for the major PeopleTools releases starting with 8.55. PeopleSoft Cloud Manager comes with several channels already predefined, one for each major application on the Linux platform and one for each major PeopleTools release on the Linux platform. Any additional channels you may want to subscribe to can be created through the Download Subscription page. Figure 5-12 provides a view of what predefined subscription channels are included.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig12_HTML.jpg
Figure 5-12

Cloud Manager predefined subscription channels

Subscribing from the Unsubscribed Page

The main section of the Download Subscription page consists of two main tabs, subscribed and unsubscribed. Any channels that you are already subscribed to and downloading content from will show up in the subscribed tab; if you have not yet subscribed to any channels, this page will be blank. Conversely, when you switch over to the Unsubscribed tab of the Download Subscriptions page, you will have access to any of the predefined channels you are not yet subscribed to.

To subscribe to one of the predefined channels and begin downloading content for that channel, do the following:
  1. 1.

    Log in to PeopleSoft Cloud Manager.

     
  2. 2.
    Click the Repository tile from the Cloud Manager home page (Figure 5-13).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig13_HTML.jpg
    Figure 5-13

    Repository tile

     
  3. 3.
    From the left-hand menu, select Download Subscriptions (Figure 5-14).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig14_HTML.jpg
    Figure 5-14

    Download Subscriptions menu option

     
  4. 4.
    Select the Unsubscribed button at the top of the page (Figure 5-15).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig15_HTML.jpg
    Figure 5-15

    Unsubscribed button

     
  5. 5.

    Find the channel you’d like to subscribe to from the list of unsubscribed channels. For this example we will be using the ELM_92_Linux channel.

     
  6. 6.
    Click the related actions drop-down button to the right of the channel name and select Subscribe from the pop-up menu (Figure 5-16).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig16_HTML.jpg
    Figure 5-16

    Channel Subscribe pop-up

     
  7. 7.

    Click the Subscribed button at the top of the page.

     
  8. 8.
    You will now see the channel you just subscribed to listed on the Subscribed page (Figure 5-17).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig17_HTML.jpg
    Figure 5-17

    Newly subscribed channel

     
  9. 9.
    If you switch back to the My Downloads page within the repository, you will begin to see that artifacts from your channel subscription start to appear in the list of artifacts. In our example, ELM artifacts are now displayed in My Downloads (Figure 5-18).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig18_HTML.jpg
    Figure 5-18

    New artifacts in My Downloads

     
  10. 10.

    Downloading a channel will take some time. You can check on the status of your channel, by going to the Download Subscriptions page and looking at the Status column for the channel you are watching. You will see either an In Progress Icon (Figure 5-19) or a Complete Icon (Figure 5-20) indicating the progress of the download.

     
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig19_HTML.jpg
Figure 5-19

Channel In Progress

../images/471036_1_En_5_Chapter/471036_1_En_5_Fig20_HTML.jpg
Figure 5-20

Channel Complete

Creating a New Channel

There may be cases where the pre-delivered channels do not meet your needs. You may have a need to create a subscription to a CRM 9.2 Windows platform in order to meet the needs of your organization. To complete this, Cloud Manager allows you the ability to create your own custom channels. To create a new channel, complete the following steps.
  1. 1.
    Assuming you are already logged into the Cloud Manager application and on the Download Subscription page, click the plus (+) sign at the top of the page (Figure 5-21).
    ../images/471036_1_En_5_Chapter/471036_1_En_5_Fig21_HTML.jpg
    Figure 5-21

    Create a new channel

     
  2. 2.
    This will open the Create Channel dialogue window. This dialogue allows you to enter the following information:
    • Channel Name: This can be a name of your choice. For this example, we will follow the naming convention used by the delivered channels and name this new channel CRM_92_Windows.

    • Description: A brief description of what the channel contains. In this vcase CRM 9.2 Windows will be used.

    • Product Name: Select the appropriate product from the drop-down list.

    • Release Name: Select the appropriate release from the drop-down list.

    • Platform: Select the platform you want from the drop-down list. In this case, we will be selecting Windows.

    • Source: Select the download source from the drop-down list.

     
Figure 5-22 provides a view of this dialogue detail.
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig22_HTML.jpg
Figure 5-22

Create Channel dialogue

  1. 3.

    Once this detail is entered, click Done in the upper right corner of the window.

     
  2. 4.

    Your new channel should now show up in the Subscribed list of Channels.

     

Download History

Once you have subscribed to content within PeopleSoft Cloud Manager, it may be necessary to see the history of what has been downloaded to your repository and when it was downloaded. This detail can be found in the Download History page within the repository. To get to the Download History page, click the Repository tile on the home page of PeopleSoft Cloud Manager, and then select Download History from the navigation on the left-hand side of the page (Figure 5-23).
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig23_HTML.jpg
Figure 5-23

Download History detail

This detail provides the channel name, the number of updates downloaded, and the start and end times for downloads within the channel. You can get more information on each of the subscription channels by either clicking directly on the channel name or by clicking the arrow to the right of the channel history row. This will provide you with detail of the sync and the status for the channel as well as the status of each patch file included in the download (Figure 5-24).
../images/471036_1_En_5_Chapter/471036_1_En_5_Fig24_HTML.jpg
Figure 5-24

Download History patch detail

Repository Logs

You can easily view the content within the Downloads Logs through the Logs page. You can get to the Logs page by clicking the Repository tile on the home page and selecting Logs from the left-hand menu. This page provides you the opportunity to view the log output for any of the channels you are subscribed to as well as the output for each specific patch file within a channel.

The page provides you with several search options to help limit the results you return. You will want to select from the following options to limit your search and include only the log files you are expecting:
  • Channel Name: Select the channel name from where you would like to search the log files. In our case, we will search ELM_92_Linux channel.

  • Log File: Allows you to select from a drop-down list the log file you would like to look at. Here we will be searching the ELM_92_Linux261.log file for details about the download process.

  • Number of Lines to Display: Limit the number of lines returned to something manageable. This defaults to ten lines.

  • Search String: Enter the search string you are looking for in the log file. In our case we will look for the string “29057111” to find log detail about that particular bug number (Figure 5-25).

../images/471036_1_En_5_Chapter/471036_1_En_5_Fig25_HTML.jpg
Figure 5-25

Repository download logs

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.185.15