Adding Diskless OS services

From: Vichnevetski, Alexei (alexei.vichnevetski@gdcanada.com)
Date: Mon Jun 02 2003 - 12:41:17 EDT


I have problem starting diskless OS services(smosservices add) for Solaris_9
sparc station. It tells me that I have wrong mediapath. I tried
reinstalling, changing paths but nothing helps. I hope, that someone might
know why I am getting this problem. Any information might be helpfull. Did
anyone has a diskless server running?

Execution of the command
bash-2.05# /usr/sadm/bin/smosservice add -- -x
mediapath=/export/home/jumpstart/Solaris_9/Tools -x
platform=sparc.sun4u.Solaris_9 -x cluster=SUNWCXall -x locale=en_CA
Authenticating as user: root

Type /? for help, pressing <enter> accepts the default denoted by [ ]
Please enter a string value for: password ::
Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from Benz
Login to Benz as user root was successful.
Debugging enabled
Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from Benz was
successful.
OsServerMgrCli.setProperties
calling initCommandLineOptions
calling doFirstArgPass
parseMyArgs->args.length = 10
args[0] = -x
args[1] = mediapath=/export/home/jumpstart/Solaris_9/Tools
args[2] = -x
args[3] = platform=sparc.sun4u.Solaris_9
args[4] = -x
args[5] = cluster=SUNWCXall
args[6] = -x
args[7] = locale=en_CA
args[8] = -K
args[9] = OA
Task = OA
Action: Add an os service
calling parseAndValidateArgs
in parseXOssAddOptions()
Parsed out x property: mediapath
Parsed out x property value: /export/home/jumpstart/Solaris_9/Tools
Parsed out x property: platform
Parsed out x property value: sparc.sun4u.Solaris_9
Parsed out x property: cluster
Parsed out x property value: SUNWCXall
Parsed out x property: locale
Parsed out x property value: en_CA
XArgs=[mediapath=/export/home/jumpstart/Solaris_9/Tools,
platform=sparc.sun4u.Solaris_9, cluster=SUNWCXall, locale=en_CA]
validateOsServerOption: null Benz file
runCommandLine, OsServerMgrException: The specified media path does not
point to valid installation media.
The specified media path does not point to valid installation media.
bash-2.05#

The Content of the directories where I have Solaris disk image.

bash-2.05# ls -la /export/home/jumpstart/
total 148
drwxr-xr-x 7 root other 512 May 29 13:16 .
drwxr-xr-x 10 root root 512 May 29 13:44 ..
-r--r--r-- 1 root root 170 Mar 26 13:58 .cdtoc
drwxr-xr-x 6 root other 512 Mar 26 13:38 .install
lrwxrwxrwx 1 root other 32 May 26 12:08 .install_config ->
./Solaris_9/Misc/.install_config
-r--r--r-- 1 root root 462 May 26 13:04 .slicemapfile
-r--r--r-- 1 root root 20 Oct 9 2002 .volume.inf
-r--r--r-- 1 root other 22 Feb 25 17:45 .volume.inf.2
drwxr-xr-x 5 root other 512 Mar 26 13:39 1of2_Doc_CD
drwxr-xr-x 5 root other 512 Mar 26 13:48 2of2_Doc_CD
-rwxr-xr-x 1 root other 46036 May 29 11:44 check
-r--r--r-- 1 root root 7325 Mar 26 13:58 Copyright
-rwxr-xr-x 1 root other 257 Feb 25 17:45 installer
-rw-r--r-- 1 root other 4754 May 29 11:46 rules
-rw-r-xr-x 1 root other 449 May 29 13:16 sdc_install
drwxr-xr-x 8 root root 512 Mar 26 13:35 Solaris_9
drwxr-xr-x 24 root other 1024 Mar 26 13:58 SW_Supp_CD
-rwxr-xr-x 1 root other 166 May 29 13:13 sysidcfg
-rw-r--r-- 1 root other 24 May 29 11:44 upgrade
bash-2.05# ls -la /export/home/jumpstart/Solaris_9/
total 70
drwxr-xr-x 8 root root 512 Mar 26 13:35 .
drwxr-xr-x 7 root other 512 May 29 13:16 ..
drwxr-xr-x 2 root bin 512 Mar 26 13:35 Docs
drwxr-xr-x 4 root other 512 Mar 26 13:36 ExtraValue
drwxr-xr-x 5 root bin 512 Mar 26 13:05 Misc
drwxr-xr-x 2 root bin 512 Feb 25 16:54 Patches
drwxr-xr-x 1433 root bin 28672 Mar 26 13:19 Product
drwxr-xr-x 4 root bin 512 May 26 12:54 Tools
bash-2.05# ls -la /export/home/jumpstart/Solaris_9/Tools/
total 318
drwxr-xr-x 4 root bin 512 May 26 12:54 .
drwxr-xr-x 8 root root 512 Mar 26 13:35 ..
-rwxr-xr-x 1 root bin 59586 Oct 23 2002 add_install_client
lrwxrwxrwx 1 root other 15 May 26 12:54 addclient ->
addclient.sparc
-r-sr-xr-x 1 root bin 14776 Feb 26 2002 addclient.sparc
-r-sr-xr-x 1 root bin 15296 Feb 26 2002 addclient.x86
drwxr-xr-x 17 root other 512 May 26 13:04 Boot
-rwxr-xr-x 1 root sys 1325 Oct 23 2002 dial
drwxr-xr-x 3 root staff 512 Mar 26 13:19 Installers
-rwxr-xr-x 1 root bin 18599 Oct 23 2002 rm_install_client
lrwxrwxrwx 1 root other 14 May 26 12:54 rmclient ->
rmclient.sparc
-r-sr-xr-x 1 root bin 14772 Feb 26 2002 rmclient.sparc
-r-sr-xr-x 1 root bin 15296 Feb 26 2002 rmclient.x86
-rwxr-xr-x 1 root bin 13045 Oct 23 2002 setup_install_server
bash-2.05#

Alexei Vichnevetski
alexeiv@gdcanada.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:30 EDT