Team,
We have taken a reference from Symantec web link about setting on the semaphore values in Solaris 10 servers.
Could you please verify once and kindly suggest its backout plan on solaris 10 servers.
https://support.symantec.com/en_US/article.TECH62633.html >>>>>>>>>>>>>>>>>>>>>>> web link
For Sun servers, it has sol 10 does not require to set SEMMNS entries
First create a NetBackup project (id = 1000) and "tune" it.
/usr/sbin/projadd -U root -c "NetBackup resource project" -p 1000 NetBackup
To modify, the value:
/usr/sbin/projmod -a -K 'project.max-sem-nsems=(privileged,300,deny)' NetBackup
/usr/sbin/projmod -a -K 'project.max-sem-ops=(privileged,32,deny)' NetBackup
/usr/sbin/projmod -a -K 'project.max-sem-ids=(privileged,1024,deny)' NetBackup
Check the project created :
projects -l NetBackup
NetBackup
projid : 1000
comment: "NetBackup resource project"
users : root
attribs :
‘
project.max-sem-nsems=(privileged,300,deny)' NetBackup’
'project.max-sem-ops=(privileged,32,deny)' NetBackup’
'project.max-sem-ids=(privileged,1024,deny)' NetBackup’
Now check whether vnetd and bpcd have the entries in SMF
svcs -a | egrep 'bpcd|vnetd'
online 08:30:10 svc:/network/bpcd/tcp:default
online 08:30:10 svc:/network/vnetd/tcp:default
Next, run the below command to import the changes into SMF.
# inetconv -f
100235/1 -> /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml
Importing 100235_1-rpc_ticotsord.xml ...Done
bpcd -> /var/svc/manifest/network/bpcd-tcp.xml
Importing bpcd-tcp.xml ...Done
vnetd -> /var/svc/manifest/network/vnetd-tcp.xml
Importing vnetd-tcp.xml ...Done
4. Now arrange for SMF to launch the NetBackup daemon processes in the NetBackup project just created. This should be performed for both the vnetd and bpcd daemons.
Find the NetBackup vnetd service name:
# /usr/sbin/svccfg list | grep vnetd
network/vnetd/tcp
Check the current setting for project, 'default' is the default:
# svccfg -s network/vnetd/tcp listprop | grep project
inetd_start/project astring default
Change the service to run in the NetBackup project:
# svccfg -s network/vnetd/tcp setprop inetd_start/project=NetBackup
Verify the change is applied:
# svccfg -s network/vnetd/tcp listprop | grep project
inetd_start/project astring NetBackup
Follow the same steps for the bpcd daemon:
# svccfg list | grep bpcd
network/bpcd/tcp
# svccfg -s network/bpcd/tcp listprop | grep project
inetd_start/project astring default
# svccfg -s network/bpcd/tcp setprop inetd_start/project=NetBackup
# svccfg -s network/bpcd/tcp listprop | grep project
inetd_start/project astring NetBackup
Check the effects of the tuning on a running process with the prctl command.
# /usr/openv/netbackup/bin/bpps | grep bptm
#/bin/prctl -n project.max-sem-memory pid
5. Check the effects of the tuning on a running process with the prctl command. In this example, the bpps command on the media server shows the process id of bptm to be 3428 and the output of the prctl command shows the shared memory setting to be 8GB:
# /usr/openv/netbackup/bin/bpps | grep bptm
root 3428 1 0 12:05:39 ? 0:00 bptm
# /bin/prctl -n project.max-shm-memory 3428
process: 3428: bptm
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-sem-memory
privileged 8.00GB - deny -
system 16.0EB max deny -
Confirm the current NetBackup project settings:
# projects -l NetBackup
NetBackup
projid : 1000
comment: "NetBackup resource project"
users : root
groups : (none)
attribs:
‘project.max-sem-nsems=(privileged,300,deny)’
‘project.max-sem-ops=(privileged,32,deny)’
‘project.max-sem-ids=(privileged,1024,deny)’
Confirm the change and that the project contains just one tunable attribute.
# projects -l NetBackup | grep max-sem
=====================================================