Tuesday, 6 March 2018

[Dell OMSA] Dell EMC OpenManage Version 9.0.1 installation on RHEL7

1. verify the Dell service tag on the server

# dmidecode -t system
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: Dell Inc.
        Product Name: PowerEdge R610
        Version: Not Specified
        Serial Number: *******     eg:XG7TU1K
        UUID: *******************
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

Handle 0x0C00, DMI type 12, 5 bytes
System Configuration Options
        Option 1: NVRAM_CLR:  Clear user settable NVRAM areas and set defaults
        Option 2: PWRD_EN:  Close to enable password

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected

2. Based on the service tag you need to search on Dell site: http://www.dell.com/support/ and download the OpenManger.

3. I am using script for this setup.

[root@sankar-HP ~]#wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash

[root@sankar-HP ~]#yum install srvadmin-all

Note: for first time it's need a reboot.

4. check the port is up or not
[root@sankar-HP ~]#netstat -ntlup |grep 1311
tcp6       0      0 :::1311                 :::*                    LISTEN      12135/dsm_om_connsv

5.Open browser on run the like host-name or IP: 1311 eg(

How to Enable or Disable SELinux on CentOS/RHEL 7

1. Verify the current status:

[root@sankar-HP ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

[root@sankar-HP ~]# uname -a
Linux AT-LC-CHAMBERLIN 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@sankar-HP ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28

2. Open a selinux config file,
[root@sankar-HP ~]# vi /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.

[root@sankar-HP ~]#reboot
[root@sankar-HP ~]# sestatus
SELinux status:                 disabled