I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this.
**** I'm running Redhat 9
*****External Usrobotics 56k
Thanks a lot guys (1 Reply)
How can i disable rlogin or rcopy from being running as a services in my system ? is there a way ? and is it gonna affect other remote services like ssh and telnet ? (3 Replies)
Could anybody tell me how I can disable or enable the backspace key in vi editor.
I would like to feel the essence of the commands of vi editor but as I have the latest version and it is supporting the backspace key.
I do it on promp using the command
stty erase -
This command stops the... (5 Replies)
Hi All,
I am new to cronjob and need some guidance on this.
1) How do i enable a cronjob ?
Can it be done by "crontab mycronfile" or "crontab -e mycronfile"
2) How can i disable the cronjob?
Can deleting of the "mycronfile" disable the cron or do i need to perform "crontab -r mycronfile"... (7 Replies)
Hello,
We recently had a Nessus scan done of our system and the solution to one of the findings was this:
disable the RIP agent and use an EGP routing protocol
I have been unable to find any specific instruction on how to do either. We are running Solaris 8.
Any help would be greatly... (3 Replies)
Hi...
How do I enable SSH and disable telnet..
Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet?
Adel (15 Replies)
since i don't have root access, i have been doing:
crontab -l > /tmp/username.crontab
crontab -r
vi /tmp/username.crontab and copy page
crontab -e, and paste
sometimes, /tmp/username.crontab has more than 1 page, so i have to copy twice.
how do i copy all contents from... (2 Replies)
Hello experts -
I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts.
(1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over)
(2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies
LEARN ABOUT OPENSOLARIS
scds_get_rg_hostnames
scds_get_rg_hostnames(3HA) Sun Cluster HA and Data Services scds_get_rg_hostnames(3HA)NAME
scds_get_rg_hostnames - get the network resources used in a resource group
SYNOPSIS
cc [flags...] -I /usr/cluster/include file
-L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
scha_err_t scds_get_rg_hostnames(char *resourcegroup_name,
scds_net_resource_list_t **netresource_list
DESCRIPTION
The scds_get_rg_hostnames() function retrieves a list of hostnames used by all the network resources in a resource group. This function
returns a pointer to the list in netresource_list. It is possible for a resource group to contain no network resources or to contain
resources that do not use network resources, so this function can return netresource_list set to NULL.
You can pass the name of any resource group name in the system to scds_get_rg_hostnames(). Use the hostnames returned by scds_get_rg_host-
names() to contact applications running in the specified resource group.
Free the memory allocated and returned by this function with scds_free_net_list().
PARAMETERS
The following parameters are supported
resourcegroup_name Name of the resource group for which data is to be retrieved
netresource_list List of network resources used by the resource group
RETURN VALUES
The scds_get_rg_hostnames() function returns the following:
0 The function succeeded.
non-zero The function failed.
ERRORS
SCHA_ERR_NOERR Function succeeded.
See scha_calls(3HA) for a description of other error codes.
FILES
/usr/cluster/include/rgm/libdsdev.h
Include file
/usr/cluster/lib/libdsdev.so
Library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO scds_free_net_list(3HA), scds_get_rs_hostnames(3HA), scha_calls(3HA), attributes(5)Sun Cluster 3.2 14 Sep 2007 scds_get_rg_hostnames(3HA)