10 More Discussions You Might Find Interesting
1. Solaris
I have just installed Solaris 11. When I turn the computer on I don't want to see a login in screen. I want to automatically be logged in as "SUPERUSER".
My research tells me someone is going to tell me that's not wise or safe. I'm not interested in security advice. If someone I know is... (10 Replies)
Discussion started by: kkeevv
10 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to add a superuser (admin) to plesk from SSH (I have root access). Can this be done? I have search over the web but did not find any solution to my problem. My version is Plesk 9.3 (0 Replies)
Discussion started by: galford
0 Replies
3. UNIX for Dummies Questions & Answers
Hello!
I found this on net:
This is the ``prompt''. If you entered you username, or your password incorrectly, you will be greeted by:
Login incorrect
localhost login: Don't panic, try again. Likely you either mis-typed either your login name, or your password. Try again. You're not... (2 Replies)
Discussion started by: pinklemon
2 Replies
4. Solaris
Hi!
Can someone please tell me how to log-in to Solaris as a superuser or as a root?
I have tried using "root" as a username, and my superuser password i had set in the terminal for the log-in password but it says "Roles can only be assumed by authorized users". "Permission denied."
I'm... (1 Reply)
Discussion started by: CarlosP
1 Replies
5. Solaris
I have a korn shell script (main.sh) owned by unix account "A". I want to execute certain lines in the script using another user "B" (with user "B" login profile). I need to do this way for multiple lines to be executed using different unix accounts in main.sh.
I was trying to use "su -... (3 Replies)
Discussion started by: Ashok_107
3 Replies
6. Shell Programming and Scripting
hi All,
In my script I want to run some drop and select statements in the same host as a different user.I am inputting password for the superuser from the user who will be executing the script.
ie ,
I would be greatfull to you experts if you could suggest me how to proceed. (4 Replies)
Discussion started by: Sreejith_VK
4 Replies
7. UNIX for Dummies Questions & Answers
Can I create a superuser account in scoadmin? If not how do I do it via command line (0 Replies)
Discussion started by: maconte
0 Replies
8. UNIX for Dummies Questions & Answers
My first post:
in /etc/rc2.d i have a startup script: Script1.
if you run #>scirpt1 stop/start from any user other than root you will get u must be supper user to run this script. eventhough the rights are 777.
Question: how can i get my user_a be able to run this script to stop and start it... (2 Replies)
Discussion started by: bcheaib
2 Replies
9. UNIX for Advanced & Expert Users
Hi All,
Oracle 8.0 database is running on SCO-UNIXWARE 7.0 Operating system. Some how ORACLLE DATABASE has crashed. After rebooting the PC only the SUPER USER could login. No other user is able to login.
we need ORACLE user to start the DATABASE again.
It is asking for the password, after... (2 Replies)
Discussion started by: konda
2 Replies
10. UNIX for Dummies Questions & Answers
how can i change the superuser password?
the admin left the company, and we want to change the password.
to gain su access, i use:
# su -
password:***** (old password)
then, using passwd command it changes my own login password, not the root??
(this is not trying to block anybody's... (4 Replies)
Discussion started by: apalex
4 Replies
sctelemetry(1M) System Administration Commands sctelemetry(1M)
NAME
sctelemetry - initialize system resource monitoring
SYNOPSIS
sctelemetry -d
sctelemetry -e
sctelemetry -i -o hasp_rg=rg,hasp_rs=rs [,hasp_mnt_pt=mnt_pt] [,db_rg=rg] [,db_rs=rs]
[,telemetry_rg=rg] [,telemetry_rs=rs]
sctelemetry -i -o hasp_mnt_pt=mnt_pt,hasp_nodelist=node[:...] [,hasp_rs=rs] [,db_rg=rg]
[,db_rs=rs] [,telemetry_rg=rg,telemetry_rs=rs]
sctelemetry -u
DESCRIPTION
Note -
Beginning with the Sun Cluster 3.2 release, Sun Cluster software includes an object-oriented command set. Although Sun Cluster software
still supports the original command set, Sun Cluster procedural documentation uses only the object-oriented command set. For more infor-
mation about the object-oriented command set, see the Intro(1CL) man page.
The sctelemetry command initializes system resource monitoring, brings monitoring online, and takes it offline. When initializing, use the
-o option with the hasp_rg=rg,hasp_rs=rs parameters to rely on an existing resource of type SUNW.HAStoragePlus. Use the -o option with the
hasp_mnt_pt=mnt_pt,hasp_nodelist=node[:,...]parameters to have the sctelemetry command create a resource of type SUNW.HAStoragePlus. For
more information about the resource types, see the SUNW.derby(5), SUNW.HAStoragePlus(5), and SUNW.SCTelemetry(5) man pages.
SUNW.SCTelemetry is instantiated in a multi-master resource group, that is the resource group is configured on all cluster nodes and does
not use network load balancing.
You can use this command only in the global zone.
OPTIONS
The options for sctelemetry are as follows:
-d
Disables the collection of system resource usage data and the database in which telemetry data is stored.
You can use this option only in the global zone.
Users other than superuser require solaris.cluster.system.modify RBAC authorization to use the -d option of sctelemetry. For more
information, see the rbac(5) man page.
-e
Brings collection of system resource usage data online. By default, system resource monitoring is online when you use the -i option of
the sctelemetry command.
You can use this option only in the global zone.
Users other than superuser require solaris.cluster.system.modify RBAC authorization to use the -e option of sctelemetry. For more
information, see the rbac(5) man page.
-i
Creates resource groups containing resources of type SUNW.SCTelemetry and SUNW.derby. By default, when you create these resources and
resource groups by using the -i option, system resource monitoring is online.
You can use this option only in the global zone.
Users other than superuser require solaris.cluster.system.modify RBAC authorization to use the -i option of sctelemetry. For more
information, see the rbac(5) man page.
-o hasp_rg=rg,hasp_rs=rs[,hasp_mnt_pt=mnt_pt][,db_rg=rg][,db_rs=rs][,telemetry_rg=rg][ ,telemetry_rs=rs]
When used with the -i option, identifies the resource of type SUNW.HAStoragePlus to be used by the database and the resource group that
contains this resource. The data collection facility must have access to a file system for SUNW.HAStoragePlus.
The parameters are as follows:
hasp_rg=rg The resource group that contains the resource of type SUNW.HAStoragePlus that is used for system resource
monitoring. You must specify rg, the name of this resource group.
hasp_rs=rs The resource of type SUNW.HAStoragePlus that is used for system resource monitoring. You must specify rs,
the name of this resource.
hasp_mnt_pt=mnt_pt The mount point on which sctelemetry stores database files for system resource monitoring. This mount point
must be a property of the resource, hasp_rs. Specifying this mount point is obligatory if there is more
than one mount point in hasp_rs.
db_rg=rg The resource group in which sctelemetry configures the resource of type SUNW.derby. You can specify rg, the
name of this resource group.
db_rs=rs The resource of type SUNW.derby that sctelemetry configures. You can specify rs, the name of this resource.
telemetry_rg=rg The resource group in which sctelemetry configures a resource of type SUNW.SCTelemetry. You can specify rg,
the name of this resource group.
telemetry_rs=rs The resource of type SUNW.SCTelemetry that sctelemetry configures. You can specify rs, the name of this
resource.
-o hasp_mnt_pt=mnt_pt,hasp_nodelist=node[:...][,hasp_rs=rs][,db_rg=rg][,db_rs=rs][,telemetry_rs=rs]
When used with the -i option, specifies the nodes on which the SUNW.HAStoragePlus file system for data collection is accessible and
specifies the mount point for the file system in which Sun Cluster stores system resource data.
The parameters are as follows:
hasp_mnt_pt=mnt_pt The mount point that sctelemetry uses to configure a resource of type SUNW.HAStoragePlus. You must specify
mnt_pt, the name of the mount point. The shared storage must be configured before the HAStoragePlus
resource to be created. This mount point refers to the shared storage and must appear in /etc/vfstab as
follows:
/dev/md/ddg/dsk/d20 /dev/md/ddg/rdsk/d20 /mntpt ufs 2 no logging
hasp_nodelist=node[:...] The nodes with which sctelemetry configures a resource of type SUNW.HAStoragePlus. You must specify
node:[...], the name of the nodes.
hasp_rs=rs The resource of type SUNW.HAStoragePlus that sctelemetry configures. You can specify rs, the name of this
resource.
db_rg=rg The resource group in which sctelemetry configures a resource of type SUNW.derby. You can specify rg, the
name of this resource group.
db_rs=rs The resource of type SUNW.derby that sctelemetry configures. You can specify rs, the name of this resource.
telemetry_rg=rg The resource group in which sctelemetry configures a resource of type SUNW.SCTelemetry. You can specify rg,
the name of this resource group.
telemetry_rs=rs The resource of type SUNW.SCTelemetry that sctelemetry configures. You can specify rs, the name of this
resource.
-u
Removes the resources and resource groups that were previously created by using the -i option.
You can use this option only in the global zone.
Users other than superuser require solaris.cluster.system.modify RBAC authorization to use the -u option of the sctelemetry command.
For more information, see the rbac(5) man page.
EXAMPLES
Initializing System-Resource Monitoring, When a HAStoragePlus Resource Exists
This example initializes system-resource monitoring and verifies that monitoring has been initialized. This example assumes that you have a
SUNW.HAStoragePlus resource available for system-resource monitoring.
This example does not specify the names of the resources db_rs and telemetry_rs or the resource groups db_rg and telemetry_rg. The
sctelemetry command gives these resources and resource groups default names.
The output of the scstat -g command shows the relationship between resources and resource groups involved in system resource monitoring.
The output also shows that the db_rs and hasp_rs resources and the db_rg resource group are each online on one node, the telemetry_rg and
telemetry_rs are online on all cluster nodes.
# sctelemetry -i -o hasp_mnt_pt=DBDATA,hasp_nodelist=l6-lx-1:l6-lx-4,hasp_rs=anto
# scstat -g
Disabling System-Resource Monitoring
This example disables system-resource monitoring then verifies that the monitoring has been disabled. When monitoring is disabled, the out-
put of the scstat -g command shows that the db_rs, hasp_rs, and telemetry_rs resources and the db_rg and telemetry_rg resource groups are
offline.
# sctelemetry -d
# scstat -g
EXIT STATUS
The following exit values are returned:
0 The command completed successfully.
nonzero An error has occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsczu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
Intro(1CL), cltelemetryattribute(1CL), cluster(1CL), scstat(1M), sctelemetry(1M), SUNW.derby(5), SUNW.HAStoragePlus(5), SUNW.SCTelemetry(5)
Sun Cluster 3.2 18 Jul 2006 sctelemetry(1M)