The manual was revised after the writing of this article, and the content was greatly expanded. The experimental content was not in vain, and the understanding of the function was correct. Therefore, I left this as the [old version] and wrote a new article separately.
I was interested in the author who likes Linux ** Oracle Autonomous Linux </ font> **. I think I wrote the earliest and most detailed article in the world.
Finally, the long-awaited ** OS Management Service ** has been released.
However, looking at the following documents, the "Tokyo region" is not included.
OS Management Service is currently generally available in the following Oracle Cloud Infrastructure regions: US East (Ashburn), US West (Phoenix), Canada Southeast (Toronto), UK South (London), Germany Central (Frankfurt).
The manual "Overview of OS Management" has been released, so let's take a quick look.
The Oracle Cloud Infrastructure OS Management service provides tools for common operating system management tasks for Compute instances, focusing initially on managing software packages for Oracle Linux instances.
OS Management Service is an operating system management tool for Compute instances, initially providing package management capabilities for Linux instances. </ font>
The following are some of the places you are interested in.
** "Oh, isn't the OS Management Service a feature unique to Oracle Autonomous Linux?" **
Most features are expected, but the most surprising thing is that they support more than just Oracle Autonomous Linux (which I'll cover later).
At first, I didn't read the manual at all, so I immediately created an Oracle Autonomous Linux instance with Phoenix.
The differences between the previous screen and the creation screen are as follows.
When I logged in, I suddenly got a message prompting me to work with Notifications.
Welcome to Autonomous Linux Effective kernel version is 4.14.35-1902.8.4.el7uek.x86_64 Please add OCI notification service topic OCID with $ sudo al-config -T [topic OCID]★ Login message up to this line [ [email protected] ~]$
Part 1 has already prepared for Notifications, so execute it immediately. If successful, an email will be sent.
$ sudo al-config -T <Topic OCID>
Now that you're ready, let's use the desired OS Management Service.
Install ʻosms-agent` as described in the manual. Oh, there is no package. </ font>
$ sudo yum install osms-agent Loaded plugins: langpacks, ulninfo No package osms-agent available.★ Saying no Error: Nothing to do
I can't find it using
yum search or
yum list available. Maybe the upload to the Yum repository is delayed? Or did you forget to build the repository index? And so on.
Maybe it's in the ol7_ociyum_config repository? </ font>
For more information on the repository, see this entry. OCI-specific repositories that normally require authentication are publicly available. Note that ol7_ociyum_config and oci_yum_included are the same repository but different names.
$ sudo yum repolist all Loaded plugins: langpacks, ulninfo repo id repo name status al7/x86_64 Autonomous Linux 7Server (x86_64) enabled: 1569 ★ Omitted ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64 disabled ol7_latest_archive/x86_64 Oracle Linux 7Server Latest (x86_64 disabled ol7_ociyum_config OCI specific release packages Oracl disabled ★ This guy
** Yeah, bingo! !! !! It was in ** </ font> ol7_ociyum_config.
$ sudo yum --enablerepo=ol7_ociyum_config search osms-agent Loaded plugins: langpacks, ulninfo =========================== N/S matched: osms-agent ============================ osms-agent.x86_64 : OS Management Service Agent Name and summary matches only, use "search all" for everything.
$ sudo yum --enablerepo=ol7_ociyum_config install osms-agent -y
** For Oracle Autonomous Linux 7 ** Somehow a message is displayed. Incompatible with the Oracle Autonomous Linux core package al-config?
Running transaction Installing : osms-agent-0.0.1-444.el7.x86_64 1/1 OSMS Agent: Not permitted to run: "al-config" package is present Verifying : osms-agent-0.0.1-444.el7.x86_64 1/1 Installed: osms-agent.x86_64 0:0.0.1-444.el7 Complete!
I was able to install it, but the service is stopped.
$ sudo systemctl is-active osms-agent inactive
** For Oracle Linux 7 ** No message is displayed when installing on Oracle Linux 7. The repository that provides osms-agent is enabled by default, so there is no need to explicitly enable it.
$ sudo yum install osms-agent -y ★ Omitted Running transaction Installing : osms-agent-0.0.1-444.el7.x86_64 1/1 Verifying : osms-agent-0.0.1-444.el7.x86_64 1/1 Installed: osms-agent.x86_64 0:0.0.1-444.el7 Complete!
The osms-agent service is running.
$ sudo systemctl is-active osms-agent active
The installation was successful on Oracle Linux 7, but there are errors in
/ var / log / messages. Also, I did not receive an email saying "OS Management Service registration was successful". Even if you look at the management console, it looks useless.
** I tried various things, but NG. Is it a bug? Or is something missing? </ font> **
Click here for current package information. What a version number "0.0.1" that does not seem to be a production. Furthermore, Vendor is usually "Oracle America", but it looks like a personal ID. Are you building in your personal environment?
$ rpm -qi osms-agent Name : osms-agent Version : 0.0.1 ★！！！ Release : 444.el7 Architecture: x86_64 Install Date: Wed 18 Dec 2019 11:42:07 PM JST Group : default Size : 50250298 License : https://oss.oracle.com/licenses/upl/ Signature : RSA/SHA256, Fri 13 Dec 2019 07:30:36 AM JST, Key ID 72f97b74ec551f03 Source RPM : osms-agent-0.0.1-444.el7.src.rpm Build Date : Fri 13 Dec 2019 05:01:24 AM JST Build Host : a44c08b17889 Relocations : / Packager : <@a44c08b17889> Vendor : @a44c08b17889 ★ Funny URL : https://docs.cloud.oracle.com/iaas/ Summary : OS Management Service Agent Description : OS Management Service Agent
If you think calmly, Oracle Autonomous Linux is a mechanism to apply daily updates. On the other hand, OS Management Service seems to be a mechanism to manage a certain number of servers collectively / irregularly.
** In other words, it is a contradictory idea. ** **
I thought the OS Management Service was a service dedicated to Oracle Autonomous Linux, but apparently it was a misunderstanding.
I haven't used it yet, so it's urgent to write a summary, but I'll try to write it including speculation.
From the statement that "instances managed by OS Management Service refer to their own repository, and the repository is located in the root compartment"
Can be guessed. I wrote ** focusing initially ** in the manual, so I think it will be expanded in the future.