How to enable systemctl start oracleasm.service
Stop “oracleasm.service’, and re-enable it.
[root@shsdbdr01 by-path]# systemctl status oracleasm.service
● oracleasm.service - Load oracleasm Modules
Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
Active: inactive (dead)
[root@shsdbdr01 by-path]# systemctl stop oracleasm.service
[root@shsdbdr01 by-path]# systemctl enable oracleasm.service
[root@shsdbdr01 by-path]# systemctl start oracleasm.service
[root@shsdbdr01 by-path]# systemctl status oracleasm.service
● oracleasm.service - Load oracleasm Modules
Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
Active: active (exited) since Tue 2022-11-01 20:55:23 IST; 8s ago
Process: 28264 ExecStart=/usr/sbin/oracleasm.init start_sysctl (code=exited, status=0/SUCCESS)
Main PID: 28264 (code=exited, status=0/SUCCESS)
Nov 01 20:55:21 shsdbdr01.appsol.com systemd[1]: Starting Load oracleasm Modules...
Nov 01 20:55:22 shsdbdr01.appsol.com oracleasm.init[28264]: Initializing the Oracle ASMLib driver: OK
Nov 01 20:55:23 shsdbdr01.appsol.com oracleasm.init[28264]: Scanning the system for Oracle ASMLib disks: OK
Nov 01 20:55:23 shsdbdr01.appsol.com systemd[1]: Started Load oracleasm Modules.
Node 2
[root@shsdbdr02 ~]# oracleasm configure
ORACLEASM_ENABLED=true
ORACLEASM_UID=ororgrid
ORACLEASM_GID=dborgrid
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
ORACLEASM_SCAN_DIRECTORIES=""
ORACLEASM_USE_LOGICAL_BLOCK_SIZE="false"
[root@shsdbdr02 ~]# systemctl enable oracleasm
[root@shsdbdr02 ~]# systemctl stop oracleasm.service
[root@shsdbdr02 ~]# systemctl enable oracleasm.service
[root@shsdbdr02 ~]# systemctl start oracleasm.service
[root@shsdbdr02 ~]# systemctl status oracleasm.service
● oracleasm.service - Load oracleasm Modules
Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
Active: active (exited) since Tue 2022-11-01 20:57:26 IST; 9s ago
Process: 26225 ExecStart=/usr/sbin/oracleasm.init start_sysctl (code=exited, status=0/SUCCESS)
Main PID: 26225 (code=exited, status=0/SUCCESS)
Nov 01 20:57:25 shsdbdr02.appsol.com systemd[1]: Starting Load oracleasm Modules...
Nov 01 20:57:25 shsdbdr02.appsol.com oracleasm.init[26225]: Initializing the Oracle ASMLib driver: OK
Nov 01 20:57:26 shsdbdr02.appsol.com oracleasm.init[26225]: Scanning the system for Oracle ASMLib disks: OK
Nov 01 20:57:26 shsdbdr02.appsol.com systemd[1]: Started Load oracleasm Modules.
Comments
Post a Comment