Sponsored Content
Full Discussion: Encrypting interconnect
Special Forums UNIX and Linux Applications High Performance Computing Encrypting interconnect Post 303001067 by bakunin on Wednesday 26th of July 2017 07:08:10 AM
Old 07-26-2017
Quote:
Originally Posted by fiberkill
In our company we are running a Simulation Cluster
Just for clarity: you mean the Abaqus/FEA suite?

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

encrypting Unix flatfile

Hi, I am new to unix. I have a flat file that needs to be pgp encyrpted in ASCII format and ftped in Ascii format to remote location. Can any one tell me the steps involved in the pgp encryption of the unix file. I will really appreciate if any one can help me with the pgp encryption shell... (1 Reply)
Discussion started by: rkumar28
1 Replies

2. AIX

Encrypting password

I have a strange question for someone regarding the AIX 5.2 environment. Here is the scenerio: I have a script that is running a menu full of options. 1. I like food 2. I don't like food Enter Option:_ Enter userID:_ Enter Password:_ (The menu is conversational only so go with me on... (6 Replies)
Discussion started by: Justman
6 Replies

3. Solaris

Encrypting a script......

Hiiiiii..... every one..... I have written a script, and i want to make that script confidential.So that, only i can see that script. I am using " crypt " command in solaris 9, to encrypt that script.But when i am executing this... (6 Replies)
Discussion started by: prashantshukla
6 Replies

4. High Performance Computing

Normal (not crossover) cable for Sun cluster interconnect..

Hi grus, has anybody tried for Sun cluster interconnect normal cable ,, I mean not interconnect .. What do u think ..does it support this ? Not long ago I tried Veritas cluster and its interconnections work great with normal cable .. I wonder what will Sun cluster say to it :)) (3 Replies)
Discussion started by: samar
3 Replies

5. Shell Programming and Scripting

Encrypting the password

Iam using the teradata... and running the scripts in unix, I wan to encrypt the teradata password in Unix... my hostname is : bprod usename: KRN777 passwrd: passwrd can ant one tell me the exact command to encrypth the passwrd.... thanks, (5 Replies)
Discussion started by: nani1984
5 Replies

6. Solaris

Cluster interconnect, adapter configuration

Hello I have problem with scinstall. I found information that i should`t configure public network before using scinstall. Each node configuration: 4 node, 3 network adapter on each node. 1 for public adapter and 2 for cluster interconnect. Two switches. After scinstall first node is... (1 Reply)
Discussion started by: time0ut
1 Replies

7. Shell Programming and Scripting

Encrypting password

Hello All, I need to accept a password from the user and validate it, without having to hard-code it anywhere. Any ideas? (3 Replies)
Discussion started by: optimus_1
3 Replies

8. IP Networking

How to interconnect two Asterisk Servers with a SIP trunk Internationally

How to interconnect two Asterisk Servers with a SIP trunk Internationally Is it possible to setup an asterisk box in ex. Colombia S.A and another in the USA, setting up trunks between the boxes to speak to each other via sip or aix, create extensions, forward any incoming call on that local... (0 Replies)
Discussion started by: metallica1973
0 Replies

9. Programming

Encrypting/Decrypting passwords

I know that simply encrypting and decrypting passwords in a script is as bad as storing them in plain text, but I've been searching for an answer to this for a few days now, and haven't found an answer that fits the problem I'm having. Here's the scenario. I'll give more details than I think may... (3 Replies)
Discussion started by: mdrisser
3 Replies

10. IP Networking

Local link ip addresses for private interconnect and public vip

Hello, In case an interface fails I understand that the local link ip address fail over to another interface .I just want to understand that how to check if local link ip address is configured for an interface . Best regards, Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies
scha_cluster_open(3HA)					 Sun Cluster HA and Data Services				    scha_cluster_open(3HA)

NAME
scha_cluster_open, scha_cluster_close, scha_cluster_get - cluster information access functions SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l scha #include <scha.h> scha_err_t scha_cluster_open(scha_cluster_t *handle); scha_err_t scha_cluster_get(scha_cluster_t handle, const char **tag, ...); scha_err_t scha_cluster_close(scha_cluster_t handle); DESCRIPTION
The scha_cluster_open(), scha_cluster_get(), and scha_cluster_close() functions are used together to obtain information about a cluster. scha_cluster_open() initializes cluster access and returns an access handle to be used by scha_cluster_get(). The handle argument is the address of a variable to hold the value that is returned by the function call. scha_cluster_get() accesses cluster information as indicated by the tag argument. If you call this function in a non-global zone, the zone name and the node name are returned. The handle argument is a value that is returned from a prior call to scha_cluster_open(). The tag argument is a string value that is defined by a macro in the <scha_tags.h> header file. The arguments that follow the tag depend on the value of the tag argument. You might need to provide an additional argument after the tag argument to indicate a cluster node or zone from which the information is to be retrieved. The last argument in the argument list is to be of a type that is suitable to hold the information that is indicated by the tag argument. This argument is the output argument for the cluster information. No value is returned for the output argument if the func- tion fails. Memory that is allocated to hold information that is returned by the scha_cluster_get() function remains intact until scha_cluster_close() is called on the handle that is used for the scha_cluster_get() function. scha_cluster_close() takes a handle argument that is returned from a previous call to the scha_cluster_get() function. This function inval- idates the handle and frees memory that is allocated to return values to scha_cluster_get() calls that were made with the handle. Note that memory, if needed to return a value, is allocated for each get call. Space allocated to return a value in one call is not overwritten and reused by subsequent calls. Macros That You Can Use for tag Arguments Macros that are defined in <scha_tags.h> that you can use as tag arguments follow. The type of the output argument and any additional arguments are indicated. Structure and enum types are described in scha_calls(3HA). SCHA_ALL_NODEIDS The output argument type is scha_uint_array_t**. This macro returns numeric node identifiers of all the nodes in the cluster. SCHA_ALL_NODENAMES The output argument type is scha_str_array_t**. This macro returns the names of all nodes in the cluster. SCHA_ALL_NONGLOBAL_ZONES The output argument type is scha_str_array_t**. This macro returns zone names of all the non-global zones on all nodes in the cluster. The format of the zone name that is returned is nodename:zonename. SCHA_ALL_NONGLOBAL_ZONES_NODEID The output argument type is scha_str_array_t**. This macro returns zone names of all the non-global zones on the cluster node whose numeric node identifier is given as the argument. The format of the zone name that is returned is nodename:zonename. SCHA_ALL_PRIVATELINK_HOSTNAMES The output argument type is scha_str_array_t**. This macro returns the host names for all cluster nodes or zones by which the nodes or zones are addressed on the cluster interconnect. SCHA_ALL_RESOURCEGROUPS The output argument type is scha_str_array_t**. This macro returns the names of all the resource groups that are being managed on the cluster. SCHA_ALL_RESOURCETYPES The output argument type is scha_str_array_t**. This macro returns the names of all the resource types that are registered on the cluster. SCHA_ALL_ZONES The output argument type is scha_str_array_t**. This macro returns zone names of all zones, including the global zone, on all nodes in the cluster. The format of the zone name that is returned is nodename:zonename. SCHA_ALL_ZONES_NODEID The output argument type is scha_str_array_t**. This macro returns zone names of all zones, including the global zone, on the cluster node whose numeric node identifier is given as the argument. The format of the zone name that is returned is nodename:zonename. SCHA_CLUSTERNAME The output argument is type char**. This macro returns the name of the cluster. SCHA_NODEID_LOCAL The output argument type is uint_t*. This macro returns the numeric node identifier for the node where the command is executed. SCHA_NODEID_NODENAME The output argument type is uint_t*. An additional argument is of type char *. The macro requires an additional argument that is a name of a cluster node. This macro returns the numeric node identifier of the node indicated by the name. SCHA_NODENAME_LOCAL The output argument type is char**. This macro returns the name of the cluster node where the function is executed. SCHA_NODENAME_NODEID The output argument type is char**. An additional argument is of type uint_t. The additional argument is a numeric cluster node identi- fier. This macro returns the name of the node indicated by the numeric identifier. SCHA_NODESTATE_LOCAL The output argument type is scha_node_state_t*. This macro returns SCHA_NODE_UP or SCHA_NODE_DOWN, depending on the state of the node where the command is executed. SCHA_NODESTATE_NODE The output argument type is scha_node_state_t*. An additional argument is type char*. The macro requires an additional unflagged argu- ment that is the name of a cluster node. This macro returns SCHA_NODE_UP or SCHA_NODE_DOWN, depending on the state of the named node. SCHA_PRIVATELINK_HOSTNAME_LOCAL The output argument type is char**. This macro returns the host name by which the node or zone on which the command is run is addressed on the cluster interconnect. SCHA_PRIVATELINK_HOSTNAME_NODE The output argument type is char**. An additional argument is of type char *. This macro requires an additional unflagged argument that is the name of a cluster node. This macro returns the host name by which the named node or zone is addressed on the cluster interconnect. SCHA_SYSLOG_FACILITY The output argument type is int*. This macro returns the number of the syslog(3C) facility that the RGM uses for log messages. The value that is returned is 24, which corresponds to the LOG_DAEMON facility value. SCHA_ZONE_LOCAL The output argument type is scha_str_array_t**. This macro returns the name of the zone from which the call is made. The format of the zone name that is returned is nodename:zone- name. ERRORS
SCHA_ERR_NOERR The function succeeded. See scha_calls(3HA) for a description of other error codes. EXAMPLES
Example 1 Using the scha_cluster_get() Function The following example uses the scha_cluster_get() function to get the names of all cluster nodes. The function also determines whether the node is up or down. #include <scha.h> #include <stdio.h> #include <stdlib.h> main() { scha_err_t err; scha_node_state_t node_state; scha_str_array_t *all_nodenames; scha_cluster_t handle; int ix; const char *str; err = scha_cluster_open(&handle); if (err != SCHA_ERR_NOERR) { fprintf(stderr, "FAILED: scha_cluster_open()0); exit(err); } err = scha_cluster_get(handle, SCHA_ALL_NODENAMES, &all_nodenames); if (err != SCHA_ERR_NOERR) { fprintf(stderr, "FAILED: scha_cluster_get()0); exit(err); } for (ix = 0; ix < all_nodenames->array_cnt; ix++) { err = scha_cluster_get(handle, SCHA_NODESTATE_NODE, all_nodenames->str_array[ix], &node_state); if (err != SCHA_ERR_NOERR) { fprintf(stderr, "FAILED: scha_cluster_get()" "SCHA_NODESTATE_NODE0); exit(err); } switch (node_state) { case SCHA_NODE_UP: str = "UP"; break; case SCHA_NODE_DOWN: str = "DOWN"; break; } printf("State of node: %s value: %s0, all_nodenames->str_array[ix], str); } } FILES
/usr/cluster/include/scha.h Include file /usr/cluster/lib/libscha.so Library ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscdev | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
scha_cluster_get(1HA), scha_calls(3HA), scha_cluster_getlogfacility(3HA), scha_cluster_getnodename(3HA), scha_strerror(3HA), syslog(3C), attributes(5) Sun Cluster 3.2 7 Sep 2007 scha_cluster_open(3HA)
All times are GMT -4. The time now is 10:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy