Quantcast
Channel: TechCenter
Viewing all articles
Browse latest Browse all 2350

Running iSM Module in a Container on Docker Host

$
0
0
Revision 6 posted to OS and Applications - Wiki by tamilarasan_j on 8/23/2017 9:35:18 AM

Running iSM Module in a Container on Docker Host

iSM docker image

Disclaimer :- This iSM Image is not Officially supported on any Dell Servers.

This wiki is writtenbyTamilarasanJfromDellCustomsSolutionsEngineeringandthis talks about running a iSM module as container in any Linux based environment.

The

Dell iDRAC Service Module (iSM) is a small OS-resident process that expands Dell iDRAC management into supported host operating systems. Specifically, Dell iSM adds the following services:

This page will help you download the iSM Docker image and run it as a container, regardless of which Linux Operating system you are in. Keeping in mind that you have a Docker Engine in place.

SofartheDelliSMmoduleisbuiltforRedhatandSusesystemsandifyouwouldliketoruntheDelliSMModuleoveranyotherHostOperatingsystem. ThisDockerimagewillhelpyoutoachievethetask.

If you have a Dell Hardware and using an Operating System for which the DelliDrac iSM Module installable is not available. This method will help you in utilizing the Dell iSM Docker Module features.

Please contact your Sales/Account Team for the custom DelliDrac iSM Module container image.

For Dell Sales/Accounts Teams only: Please Open a Support Request in salesforce.com to engage CSE team. The process for entering the request is mentioned here:

  1. Go to salesforce.com
  2. Go to the opportunity tab
  3. Open or create a new opportunity
  4. Click on Alert that says engage PG Custom solutions engineering
  5. This will  open a support request (SR) with usss
  6. Please note that This SR is in Incomplete status until you enter all the required fields.

I have built the container image with the docker version 17.03 CE, please make sure you have the docker installed with recent version.

IfyoudonothaveanyrecentversionofDockeravailable,belowstepswillhelpyoutoinstalltherecentdockerversion

#Uninstalloldversions

OlderversionsofDockerwerecalled docker or docker-engine.Iftheseareinstalled,uninstallthem:

$sudoapt-getremovedockerdocker-enginedocker.io

It’sOKif apt-get reportsthatnoneofthesepackagesareinstalled.

Thecontentsof /var/lib/docker/,includingimages,containers,volumes,andnetworks,arepreserved.TheDockerCEpackageisnowcalled docker-ce.

#RecommendedextrapackagesforTrusty14.04

Unlessyouhaveastrongreasonnotto,installthe linux-image-extra-* packages,whichallowDockertousethe aufs storagedrivers.

$sudoapt-getupdate

 

$sudoapt-getinstall\

    linux-image-extra-$(uname-r)\

    linux-image-extra-virt

 

Below are the steps to download and run the DelliDrac iSM Module image of version 2.4.

1. SearchforDownload the ISMimagezippedformat of 2.4withdockerDelliDraciSMModuleandimportitusing the below command.

2. PullMakesure the image fromisnowlistedunder the repositorydockerimagescommand.

3. We need to runinitiate the commandcontainer with the privileges command as the systemd command throws an error when you start it normally.

#docker run --privileged  -ti -d -e "container=docker"  -v /sys/fs/cgroup:/sys/fs/cgroup  --net=host path/to/containerImage /usr/sbin/init

Replace

Kindlymakesuretokeep the containernameherewithtamilarasanbravo/ism2.4withwindowopensothat the exactcontainernameifyouhavechangeditinstanceisn’tgoingdown.

The DelliDrac iSM module is now up and running. You may use the features of the DelliDrac iSM Module as like it is installed in the physical server.

OnceyouhaveinstalledtheDelliDraciSMModule,youwillbeabletoseethechangesintheiDracGUIandbelowaresomeexamples.

  • CheckingthestatusoftheDelliDraciSMModule.iDracGUIHome->Server->ServiceModule

 

 

  • CheckingthenetworkinterfacesoftheHostOS.iDracGUIHome->HostOS->Networkinterfaces

 

  • Andofcourse,youwillbeabletoconfigurethealerts

Note: In this example, I have the base system as Ubuntu and the image is built in Redhat 7.2. You may have any base system/Docker host to run this image.

Youmayalsousethedocker-composefiletodownloadandrunthiscontainer.

 


Viewing all articles
Browse latest Browse all 2350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>