Skip to content

Commit 153f389

Browse files
authored
Merge pull request #9030 from msaenzbosupport/patch-32
AB#6077: Update upgrade-rhel-7dotx-to-7dot9-sap-hana-apps.md
2 parents 9c6b8b9 + 8b0059c commit 153f389

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

support/azure/virtual-machines/linux/upgrade-rhel-7dotx-to-7dot9-sap-hana-apps.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,18 @@ For more information about performing the upgrade process on custom, golden, or
4747
```bash
4848
sudo rm /etc/yum/vars/releasever
4949
```
50+
3. Create a config file by using this command:
5051

51-
3. Install the *rhui-azure-rhel7-base-sap-ha* package:
52+
```bash
53+
sudo tee rhel7-base-sap-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel7-base-sap-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 7 (rhel7-base-sap-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7-base-sap-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
54+
```
55+
4. Install the *rhui-azure-rhel7-base-sap-ha* package:
5256
5357
```bash
54-
sudo yum --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel7-base-sap-ha.config' install rhui-azure-rhel7-base-sap-ha
58+
sudo yum --config rhel7-base-sap-ha.config install rhui-azure-rhel7-base-sap-ha
5559
```
56-
4. Verify that the corresponding repositories are available and show no errors:
60+
61+
5. Verify that the corresponding repositories are available and show no errors:
5762
5863
```bash
5964
sudo yum repolist
@@ -77,12 +82,12 @@ For more information about performing the upgrade process on custom, golden, or
7782
> [!IMPORTANT]
7883
> A single host can accommodate both SAP HANA and other SAP applications, such as NetWeaver. In this case, all the preceding repositories are required. Optionally, you can modify the */etc/yum.repos.d/rh-cloud-base-sap-ha.repo* file based on your system's specific requirements.
7984
80-
5. Upgrade the system to RHEL 7.9:
85+
6. Upgrade the system to RHEL 7.9:
8186
8287
```bash
8388
sudo yum update
8489
```
85-
6. Reboot the VM to complete the upgrade:
90+
7. Reboot the VM to complete the upgrade:
8691

8792
```bash
8893
sudo reboot
@@ -100,14 +105,19 @@ For more information about performing the upgrade process on custom, golden, or
100105
```bash
101106
sudo rm /etc/yum/vars/releasever
102107
```
108+
3. Create a config file by using this command:
103109

104-
3. Install the *rhui-azure-rhel7-base-sap-apps* package:
110+
```bash
111+
sudo tee rhel7-base-sap-apps.config > /dev/null <<< $'[rhui-microsoft-azure-rhel7-base-sap-apps]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 7 (rhel7-base-sap-apps)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7-base-sap-apps\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
112+
```
113+
114+
4. Install the *rhui-azure-rhel7-base-sap-apps* package:
105115
106116
```bash
107-
sudo yum --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel7-base-sapapps.config' install rhui-azure-rhel7-base-sap-apps
117+
sudo yum --config rhel7-base-sap-apps.config install rhui-azure-rhel7-base-sap-apps
108118
```
109119
110-
4. Verify that the corresponding repositories are available and show no errors:
120+
5. Verify that the corresponding repositories are available and show no errors:
111121
112122
```bash
113123
sudo yum repolist
@@ -130,13 +140,13 @@ For more information about performing the upgrade process on custom, golden, or
130140
repolist: 77,105
131141
```
132142
133-
5. Upgrade the system to RHEL 7.9:
143+
6. Upgrade the system to RHEL 7.9:
134144
135145
```bash
136146
sudo yum update
137147
```
138148
139-
6. Reboot the VM to complete the upgrade:
149+
7. Reboot the VM to complete the upgrade:
140150
141151
```bash
142152
sudo reboot

0 commit comments

Comments
 (0)