You are attempting to create an iSCSI LUN on your Oracle Solaris 11 server. You type m the
following command to enable the storage server / COMSTAR package and you receive the following output.
What is the problem?
A.
The correct package name is COMSTAR.
B.
You have not installed the storage-server package from your IPS repository
C.
You have mistyped the service name. It is called stmfadm.
D.
The Oracle Solaris 11 software repository is missing.
E.
You need to install the stmf command firstby typing root@solaris:~# svcadm install stamf.
Explanation:
‘stamf’ doesn’t match any instances
Note:
*Enabling the COMSTAR service
COMSTAR runs as a SMF-managed service and enabling is no different than usual. First of all,
check if the service is running:
# svcs \*stmf\*
STATE STIME FMRI
disabled 11:12:50 svc:/system/stmf:default
If the service is disable, enable it:
# svcadm enable svc:/system/stmf:default
After that, check that the service is up and running:
# svcs \*stmf\*
STATE STIME FMRI
online 11:12:50 svc:/system/stmf:default
# stmfadm list-state
Operational Status: online
Config Status : initialized
ALUA Status : disabledALUA Node : 0
You need install pkg install storage-server package. right answer is B
B is correct
root@s11exam:~# svcs -a|grep stmf
disabled 7:57:46 svc:/system/stmf:default
root@s11exam:~# pkg search -r storage-server
INDEX ACTION VALUE PACKAGE
incorporate depend pkg:/[email protected],5.11-0.133 pkg:/consolidation/osnet/[email protected]
pkg.fmri set solaris/group/feature/storage-server pkg:/group/feature/[email protected]
pkg.fmri set solaris/storage-server pkg:/[email protected]
pkg.fmri set solaris/storage/storage-server pkg:/storage/[email protected]
the correct is B.
Install the COMSTAR storage server software.
target# pkg install group/feature/storage-server
Packages to install: 75
Create boot environment: No
Services to restart: 7
DOWNLOAD PKGS FILES XFER (MB)
Completed 75/75 9555/9555 105.7/105.7
PHASE ACTIONS
Install Phase 13347/13347
PHASE ITEMS
Package State Update Phase 75/75
Image State Update Phase 2/2
Loading smf(5) service descriptions: 17/17
Loading smf(5) service descriptions: 3/3
PHASE ITEMS
Reading Existing Index 8/8
Indexing Packages 75/75
Indexing Packages 75/75
Optimizing Index…
PHASE ITEMS
Indexing Packages 573/573
Either reboot the system or enable the stmf service.
target# svcadm enable stmf
# svcs stmf
STATE STIME FMRI
online 09:42:32 svc:/system/stmf:default