How to set the semaphore values (project.max-sem-ids) fro EMC SYMCLI on Solaris Sparc

book

Article ID: 100038027

calendar_today

Updated On:

Description

Description


The EMC SYMCLI (Solution Enabler) software may fail to install when the required SEMAPHORE values has not been set to the recommend value as defined by  project.max-sem-ids on Solaris Sparc.

 


The prctl utility allows the examination and modification of the resource controls associated with an active process, task, or project on the system. 
It allows access to the basic and privileged limits on the specified entity.


How to display the current semaphore value for "project.max-sem-ids)



# prctl -n project.max-sem-ids  -i project user.root

project: 1: user.root
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-sem-ids
        privileged        128       -   deny                                 -
        system          16.8M     max   deny                                 -

 

EMC SYMCLI install failure


# ./se7301_install.sh -install

 #----------------------------------------------------------------------------
 #                            EMC Installation Manager
 #----------------------------------------------------------------------------
 Copyright 2010, EMC Corporation
 All rights reserved.

 The terms of your use of this software are governed by the
 applicable contract.

 Solutions Enabler Native Installer [RT] Kit Location : /opt/SYMCLI

 Install root directory [/opt/emc] :
 Working root directory [/usr/emc] :

 Checking for OS version compatibility......
 Checking for previous installation of Solutions Enabler......

 SEMAPHORE_CHECK : FAILED

 Semaphore values of this host did not match the minimum recommended value.
 Please reset the current values to the required, as shown in the below table.

 Parameters             Required        Current
 ----------             --------        --------
 project.max-sem-ids    256             128

 Continue installation (y/n) ? [Y] : n


 Suspending installation of Solutions Enabler.

 

How to change the semaphore value for "project.max-sem-ids2

 

# projmod -s -K "project.max-sem-ids=(priv,256,deny)" user.root


Note: After changing the semaphore value, restart the current server session (ie puttty session) for the change to take affect.

 

# prctl -n project.max-sem-ids  -i project user.root
project: 1: user.root
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-sem-ids
        privileged        256       -   deny                                 -
        system          16.8M     max   deny                                 -
 


Attempt the EMC SYMCLI installation once again with the revised semaphore value in place


# ./se7301_install.sh -install

 #----------------------------------------------------------------------------
 #                            EMC Installation Manager
 #----------------------------------------------------------------------------
 Copyright 2010, EMC Corporation
 All rights reserved.

 The terms of your use of this software are governed by the
 applicable contract.

 Solutions Enabler Native Installer [RT] Kit Location : /opt/SYMCLI

 Install root directory [/opt/emc] :
 Working root directory [/usr/emc] :

 Checking for OS version compatibility......
 Checking for previous installation of Solutions Enabler......

 SEMAPHORE_CHECK : PASSED


 Following daemons can be set to run as a non-root user:
 storsrvd, storevntd, storgnsd, storwatchd
 Do you want to run these daemons as a non-root user? [N]:

 Checking for active processes.....

 Checking for active SYMCLI components...


 Install All EMC Solutions Enabler Shared Libraries and Run Time Environment ? [Y]:
 Install Symmetrix Command Line Interface SYMCLI ? [Y]:
 Install Option to Enable JNI Interface for EMC Solutions Enabler APIs ? [N]:
 Install EMC Solutions Enabler SRM Components ? [N]:
 Install EMC Solutions Enabler SYMRECOVER Components ? [Y]:

 Do you want to change default permission on /var/symapi directory from [755]? [N]:


 Non interactive installation using pkgadd.

 Nested Package Installation ...
 Installing SYMdse ( data ) .....

 Installing SYMse ( thincore base symcli symrecover 64bit ) .....

 Enabling stordaemon...



 Do not forget to run 'symcfg discover' after the installation
 completes and  whenever your configuration changes.

 You may need to manually rediscover remotely connected arrays. Please see the installation notes for further
 information.


 #-----------------------------------------------------------------------------
 # The following HAS BEEN INSTALLED in /opt/emc via the pkgadd utility.
 #-----------------------------------------------------------------------------
  ITEM  PRODUCT                                         VERSION
  01    EMC Solutions Enabler                           V7.3.0.1
        RT KIT
 #-----------------------------------------------------------------------------



Process complete.

Issue/Introduction

How to set the semaphore values (project.max-sem-ids) fro EMC SYMCLI on Solaris Sparc