07-23-2008
hmm, why you want to do something like this? maybe it can be done in /etc/path_to_inst but i haven't done something like this yet...
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello all,
How does the Solaris identifies the controller subscript ? ( like c0txdxs0 or c1txdxsx ?? )
I have a unix box ( Ultra 30) running with 2.5.1.
When I connected an external hard disk to the on-board scsi port, it got identified as c0t1dxsx...
(... (1 Reply)
Discussion started by: shibz
1 Replies
2. UNIX for Dummies Questions & Answers
First question, can Linux be configured to be the domain controller
on a network with Microsoft computers?
If so, where can I find information about configuring Linux for this
purpose? (4 Replies)
Discussion started by: cstovall
4 Replies
3. Shell Programming and Scripting
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Discussion started by: deal732
2 Replies
4. Filesystems, Disks and Memory
Hi,
I'm attempting to build a raid Z NAS using solaris, but I only have 4 sata ports on my MB, so I bought a Rosewill RC-211 PCIe controller (adds 2 sata II ports).
I'm new to solaris, but I understand that to add a new drive, you first run #devfsadm, which puts the files into /dev/dsk. I... (3 Replies)
Discussion started by: ciscocbee
3 Replies
5. AIX
We have 2 controllers in storage
controller A is working, configured in Storage
Controller B is not configured in Storage, but Power supply is connected for controller B.
my query is, for some reason if power goes down for Controller A, wheather it will be redundant using Controllers... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
6. Solaris
Hi
The scenario in the oracle t4-1 hardware with solaris 10 is as follows:
1. The initial install on the server was performed with an incorrect disk layout.
2. New disks were ordered and slot into the server.
3. The disks are allocated a controller and a disk number based on the disk or... (13 Replies)
Discussion started by: kerrygold
13 Replies
7. HP-UX
Hi, I am new to the Unix world and in my current project i have to work on HP MPE/iX and MF-COBOL. They do not have a Change management and version controller till now. Can you please help me with the name of the product which can fit well in this purpose. Please advice. Ty. (1 Reply)
Discussion started by: mohbaig
1 Replies
8. Shell Programming and Scripting
Hi All,
I am searching for some files (*.sem and *.chk and *.temp) in morethan one directories.
if i found .sem and .chk files(base name should be same) i am deleting these 2 files because i need to delete .chk files if i found respective .sem file
i am also deleting other .sem files only... (6 Replies)
Discussion started by: VasuKukkapalli
6 Replies
9. Solaris
Good Morning,
We are having a legacy hardware v880 sparc server running SUNOS 5.8. Recently we started getting maintence error on one of the disk slice c1t0d0s4 so before changing the disk we had a look at output of cfgadm but cant see c1 controller in the list where as all our disks are... (16 Replies)
Discussion started by: phanidhar6039
16 Replies
LEARN ABOUT OPENSOLARIS
rsm_get_controller_attr
rsm_get_controller(3RSM) Remote Shared Memory Library Functions rsm_get_controller(3RSM)
NAME
rsm_get_controller, rsm_get_controller_attr, rsm_release_controller - get or release a controller handle
SYNOPSIS
cc [ flag... ] file... -lrsm [ library... ]
#include <rsmapi.h>
int rsm_get_controller(char *name,
rsmapi_controller_handle_t *controller);
int rsm_get_controller_attr(rsmapi_controller_handle_t chdl,
rsmapi_controller_attr_t *attr);
int rsm_release_controller(rsmapi_controller_handle_t chdl);
DESCRIPTION
The controller functions provide mechanisms for obtaining access to a controller, determining the characteristics of the controller, and
releasing the controller.
The rsm_get_controller() function acquires a controller handle through the controller argument. The name argument is the specific con-
troller instance (for example, "sci0" or "loopback"). This controller handle is used for subsequent RSMAPI calls.
The rsm_get_controller_attr() function obtains a controller's attributes through the attr argument. The chdl argument is the controller
handle obtained by the rsm_get_controller() call. The attribute structure is defined in the <rsmapi> header.
The rsm_release_controller() function releases the resources associated with the controller identified by the controller handle chdl,
obtained by calling rsm_get_controller(). Each rsm_release_controller() call must have a corresponding rsm_get_controller() call. It is
illegal to access a controller or segments exported or imported using a released controller.
RETURN VALUES
Upon successful completion, these functions return 0. Otherwise, an error value is returned to indicate the error.
ERRORS
The rsm_get_controller(), rsm_get_controller_attr(), and rsm_release_controller() functions can return the following errors:
RSMERR_BAD_CTLR_HNDL Invalid controller handle.
The rsm_get_controller() and rsm_get_controller_attr() functions can return the following errors:
RSMERR_BAD_ADDR Bad address.
The rsm_get_controller() function can return the following errors:
RSMERR_CTLR_NOT_PRESENT
Controller not present.
RSMERR_INSUFFICIENT_MEM
Insufficient memory.
RSMERR_BAD_LIBRARY_VERSION
Invalid library version.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
rsm_memseg_export_create(3RSM), rsm_memseg_import_connect(3RSM), attributes(5)
SunOS 5.11 8 Jun 2001 rsm_get_controller(3RSM)